File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

require short answer

 
nadeem akhtar
Greenhorn
Posts: 12
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
which technology is used in JAVA to support following layers?

1. presentation layer
2. Business layer
3. Data layer
 
Hardik Trivedi
Ranch Hand
Posts: 252
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 47216
52
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic