TechFundu

  • Increase font size
  • Default font size
  • Decrease font size
Welcome Guest,  Login | Join Now
Home Read Articles Java Technologies


Difference between Struts1 and Struts2

(4 votes, average 3.50 out of 5)
1.  Servlet Dependency:

Actions in Struts1 have dependencies on the servlet API since the HttpServletRequest and HttpServletResponse objects are passed to the execute method when an Action is invoked but in case of Struts 2, Actions are not container dependent because they are made simple POJOs. In struts 2, the servlet contexts are represented as simple Maps which allows actions to be tested in isolation. Struts 2 Actions can access the original request and response, if required. However...

Last Updated on Thursday, 31 December 2009 10:18
 

Apache Struts Questions

What is Jakarta Struts Framework? – Jakarta Struts is open source implementation of MVC (Model-View-Controller) pattern for the development of web based applications. Jakarta Struts is robust architecture and can be used for the development of application of any size. Struts framework makes it much easier to design scalable, reliable Web applications with Java.

What is ActionServlet? – The class org.apache.struts.action.ActionServlet is the called the ActionServlet. In the the Jakarta...

Last Updated on Thursday, 29 October 2009 09:19
 

EJB 2.0 Interview Questions

(1 vote, average 4.00 out of 5)
What are the different kinds of enterprise beans?Different kind of enterrise beans are Stateless session bean, Stateful session bean, Entity bean, Message-driven bean.What is Session Bean?A session bean is a type of enterprise bean; a type of EJB server-side component. Session bean components implement the javax.ejb.SessionBean interface and can be stateless or stateful. Stateless session beans are components that perform transient services; stateful session beans are components that...

Last Updated on Thursday, 12 November 2009 11:39
 

J2EE Interview Questions

(1 vote, average 4.00 out of 5)
 

What makes J2EE suitable for distributed multitiered Applications?

- The J2EE platform uses a multitiered distributed application model. Application logic is divided into components according to function, and the various application components that make up a J2EE application are installed on different machines depending on the tier in the multitiered J2EE environment to which the application component belongs. The J2EE application parts are:

Client-tier components run on the client...

Last Updated on Monday, 10 August 2009 18:21
 


Page 4 of 5

Follow us on Twitter