| JBeans | |||||||||||||||||||||
|
JBeans Introduction The code that is currently generated to the JBeans standard. JBeans embraces the Java Beans and EJB standards and makes them available in an intuitive and application friendly manner. The JBeans standard is based on many years experience porting beans to different platforms and architectures. JBeans has 3 principal classes.
These principal classes are based on interfaces. Access to these classes is done through a ClassContext object, which acts as a Factory for the creation of these classes. The specific implementations are hidden below this interface layer, making them a flexible way to deploy the different architectures, as well as provide a thin layer to perform optimization. Beans from different Class Contexts can be made link to one another. This means that beans from one ClassContext can use beans from other Classes Contexts. The diagram below illustrates the interfaces (gray) and implementations (clear) for JBeans.
A full description of JBeans, complete with White Paper and Downloads can be found in the JBeans Web Page. |
|||||||||||||||||||||
|
JBeans Classes JBeans has the following types of classes: -
The JBeans are designed to easily map down to a object/relational mapping, but can handle other sources such as JNDI or properties files. We have successfully handled a wide variety of relational databases from the simple petstore to ecommerce models, neurological modeling, Microsoft Northwind, multi-instrument trading and complex financial derivatives models.. JBeans has been designed to operate across the Enterprise. JBeans has been designed to operate across multiple databases, and multiple projects. Whether it's a single Bean receiving real-time data in a 1-tier environment or several hundred Beans being saved across multiple databases in a 3-tier environment the JBeans interfaces will stay the same and keep the application code easy to use. |
|||||||||||||||||||||
|
Implementation Transparency JBeans beans transparently acts as 1, 2 or 3 tier layer. JBeans is a
proven design. JBeans is a complete Beans layer. JBeans embraces Beans,
JDBC, EJB and Web Services. JBeans is future proofed and allows your architects
to retarget application code at different technologies as they change
and evolve. We can currently handle the following architectures: -
Orthogonal to this JBeans have been designed to act friendly in either a standalone application, a client-server or in a server-side engine. Developers need no JDBC or EJB skills to use JBeans. JBeans can be used by your existing application developers, without employing expensive consultants. JBeans has been used successfully by COBOL developers to build market-leading products. Using a development environment's code completion developers have told us that the code almost write itself. |
|||||||||||||||||||||
|
Example Code The code fragment below shows how easy JBeans is to use. There is no sign of Beans, JDBC, EJB or Web Services. public House createNewHouse() throws Exception
} public Room addRoom( House house, RoomType roomType, double
length, double width ) throws Exception
} public House printHouses( HouseType houseType ) throws Exception
} |
|||||||||||||||||||||
|
Code Annotation As an application developer it is easy to see how easy and natural they are to program in. If your interested have a look at the list of features below, and try to understand some of the features.
|