
Web Application using reusable components
This scenario extends the previous web application. Here common and useful code is taken out of the JSP pages and moved into a JavaBean. Each JavaBean contains related methods specific to an application requirement. For example,all email methods such as mailing a message and mailing a file are stored in one JavaBean.

Advantages.
Simplifies the JSP page so a web designer can edit the design using their chosen tool.
Benefits of component reuse such as sharing common code,maintaining one set of code in one place and making testing quicker.
Allows the clean separation of tasks. One person working on making the web pages,whilst another works on the Java code.
Disadvantages.
- Need to make sure the components are designed correctly (granularity) otherwise they will not be reused.
- Not the most suitable for small to medium deployments as the EJB application server can consume alot of CPU and Memory resources.
Jsp Discussion
- - Two forms in one JSP
- - PASS VARIABLES BETWEEN 2
- - Table data
- - Unable to laod the image
- - The Ultimate Web UI Frame




