|
From: Lofi D. <de...@gm...> - 2004-02-10 20:41:37
|
Hi All, I check-in the first version of ejosa-revo, which supports AndroMDA (Model Driven Architecture) and EJOSA (Sourcecode Centric Development). This version supports JOnAS 3.3.5 (the most up-to-date with Tomcat) and Enhydra 5.1 (also the most up-to-date). To build from CVS you need: - to download the ejosa.revo.beta-ext-libs.zip, which are the external libraries needed (no need to download anything else, everything included!). http://prdownloads.sourceforge.net/ejosa/ejosa.revo.beta-ext-libs.zip?download - if you want to see the UML diagram - I introduced a new directory "model" for those diagrams - please download the community - free edition of PoseidonUML. The diagram is in model/src directory. http://www.gentleware.com I also introduced "apply-all-build.xml" to call every single Ant scripts one by one. This can also be seen as a help to know the whole build process. Another new directory is "src-generated". Everything which are generated (model -> code, code -> Xdoclet) will be saved in this directory. So, please *never* edit those files by hand as they will be overwritten on the next generation cycle.Everything which should not be overwritten, should be written under standard "src" directory. As you can see with the "ejosa-revo/dev-piggybank-swing-enhydra-ejb-hibernate" example, you'll find no specification/src and only specification/ src-generated as all the interfaces can be fully automatically generated from the model! Build Process: 0. dev-cartridges (AndroMDA cartridges for EJOSA) dev-cartridges/build/apply-all-build.xml 1. dev-framework (internal framework needed): dev-framework/business/build/apply-all-build.xml dev-framework/presentation/build/apply-all-build.xml dev-framework/utility/build/apply-all-build.xml 2. dev-xxx (examples): 2.1 model/build/build-andromda.xml 2.2 specification/build/apply-all-build.xml 2.3 business/build/apply-all-build.xml 2.4 presentation/build/apply-all-build.xml 2.5 test/build/apply-all-build.xml Only dev-converter has no "model", because this is too easy ;-) - ejosa-revo/dev-jonas-alarm-jsp-ejb: a JOnAS example which is added with UML model: - model: UML class diagrams. - specification: ejosa-specification-ejb cartridge (*Home, *Object, EJB oriented). - business: no cartridge, EJB 1.1. - presentation: no cartridge, JSP, Servlet with Tomcat. - ejosa-revo/dev-piggybank-swing-enhydra-ejb-hibernate: is the old example with SSB and Hibernate. - model: UML class diagrams. - specification: ejosa-specification-independent cartridge. - business: ejosa-business-ejb-hibernate, EJB 1.1 with Hibernate. - presentation: no cartridge, Enhydra, XMLC. - other examples are following (ejb 1.1 and ejb 2.0). IDE users: - For NetBeans users: you need to use the most up-to-date version (NetBeans 3.6 Beta) to compile the model into the codes, because of classloader problem with the older NetBeans. - For Eclipse users: everything is included (.cvsignore, .classpath, .project), so that all the classpaths will be automatically done for you). To run the example, just as usual use the Ant script on the "bin" directory -> business/bin and presentation/bin. For ejosa-revo/dev-jonas-alarm-jsp-ejb example you can also run the application as a whole under application/bin (don't forget to run the application/build/apply-all-build.xml before). I provide many cartridges AndroMDA cartridges for different purposes: Specification API "specification": ejosa-specification-remote ejosa-specification-independent ejosa-specification-ejb Business Implementation "business": ejosa-business-ejb (with Business Delegate, DTO, PK, DTOFactory) ejosa-business-ejb-hibernate (with Business Delegate) Presentation Implementation "presentation": ejosa-presentation-enhydra-xmlc (not yet finished, coming soon). I'll update the EJOSA documentation a.s.a.p. so that there will be more stuffs to read for the cartridges. Have fun! -- --------------------------------------------------- Blasius Lofi Dewanto --------------------------------------------------- OpenUSS - Open University Support System http://openuss.sourceforge.net --------------------------------------------------- E-Mail : de...@un... ICQ : 39343280 --------------------------------------------------- |