|
SourceCafe generates a complete set
of multi-tier web application codes based on the best architecture:
Middle tier components
JavaBeans: This
class wraps the database table model and represents the business
entity.
Data Access Object
(DAO): You can choose to generate data access logic in a
separate layer (DAO). Otherwise, this logic is
implemented inside the JavaBeans.
Enterprise JavaBeans
(EJB) components: For EJB projects, SourceCafe generates the
Entity Beans along with the Remote and the Home interface.
The Primary key class is
also generated if the entity bean has composite
primary keys.
Transfer Object:
This is an optional component for EJB application, which is to
efficiently transfer data by sending a coarse-grained
view of the data.
Web tier components
JavaServer Pages:
These are for web based user interface presentation list, view and
edit. You can choose from multiple formats HTML, WML
and/or HDML.
Java Servlet:
This is for user interface control logic parse user input and connect
to the
back-end to save and delete.
Deployment Descriptor:
The XML file defines Servlets and its mapping.
|