Describe why Servlets are not the whole solution
- Development on the Servlet requires to know many high level concepts, so difficult to learn and use.
- Developing on the complex business logic makes the application more difficult to understand. So it is very difficult for enhancement and bug fixing.
- Important thing is, to run a servlet on the server it requires Java Run time environment.
- The servlet technology require more steps to develop, servlet require too long time for development.
- CGI script produces an entirely new process that takes a lot of time to execute, whereas a servlet creates only a new thread.
- Too much overhead in development cycle
- Limited productivity.
- Complicated syntax.
Describe essentials of JSPs
- Coding JSPs very simple compare with coding on Java servlets.
- Very simple to create and enables a clean separation of business logic from presentation.
- No need to compile and register it in deployment descriptor web.xml.
- This greatly simplifies the creation and maintenance of web contents.
- Reuse of components and tag libraries - The dynamic contents can be provided by re-usable components such as JavaBean, Enterprise JavaBean (EJB) and tag libraries.
- Java's power and portability.
- Easy to create a modern web development style.
- Simple syntax.
- Simplify development-packaging-deployment process.
Understand the fundamentals and reasons for MVC architecture
- A single request will result in multiple substantially different looking results.
- You have a large development team with different team members doing the Web development and the business logic.
- You perform complicated data processing, but have a relatively fixed layout.
Source:
http://java.dzone.com/articles/ocejwcd-6-tutorial-0
No comments:
Post a Comment