aspose file tools*
The moose likes Beginning Java and the fly likes require short answer Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "require short answer" Watch "require short answer" New topic
Author

require short answer

nadeem akhtar
Greenhorn

Joined: Oct 17, 2009
Posts: 12
which technology is used in JAVA to support following layers?

1. presentation layer
2. Business layer
3. Data layer
Hardik Trivedi
Ranch Hand

Joined: Jan 30, 2010
Posts: 252
Developer of java use MVC architecture to fulfill the demand of that layers..

1. JSP page = presentation layer..
2. Model class(Nothing but java class) = business layer.
3. beans (Nothing but special java class) = data layer...

All the above three files are called bay one great concept called SERVLET.

Servlet is mediator between html and java...
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 39396
    
  28
Please don't give straight answers to that sort of question. It is far better for the poster to say what they think the answer is.

When quoting that sort of question, make sure to tell us where the question comes from.
Gitahi Ng'ang'a
Greenhorn

Joined: Oct 30, 2009
Posts: 8
I will assume you are asking that question with respect to Java EE 6. In that case, JSF implements the presentation. It uses Facelets as its View Definition Language.
The business layer is implemented in EJB's, which may be stateless or stateful session beans. The Java Persistence Api handles the data layer by allowing interaction with Entities (Data Classes) analogous to database tables. Let me know if you find this answer helpful or need further clarification.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: require short answer