File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "require short answer" Watch "require short answer" New topic

require short answer

nadeem akhtar

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

Joined: Oct 13, 2005
Posts: 46367
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

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:
subject: require short answer
It's not a secret anymore!