Details
-
Type:
New Feature
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Labels:None
-
Number of attachments :7
Description
Provide a sample for EJB projects that uses xdoclet and cactus.
-
Hide
- complex.zip
- 29/Feb/04 2:17 PM
- 20 kB
- Archimedes Trajano
-
- complex/maven.xml 3 kB
- complex/project.properties 0.3 kB
- complex/project.xml 2 kB
- complex/components/.../ear/build.properties 0.5 kB
- complex/components/.../project.properties 0.3 kB
- complex/components/ears/ear/project.xml 1 kB
- complex/components/.../application.xml 0.4 kB
- complex/components/.../conf/app.properties 0.0 kB
- complex/components/.../AbstractTestCase.java 0.8 kB
- complex/components/ears/.../ear/AppTest.java 0.8 kB
- complex/components/.../ear/NaughtyTest.java 0.7 kB
- complex/components/.../ear/HttpUnitTest.java 2 kB
- complex/components/ears/.../WEB-INF/web.xml 0.2 kB
- complex/components/.../ejb/build.properties 0.5 kB
- complex/.../build.properties.jboss 0.5 kB
- complex/components/ejbs/ejb/maven.xml 0.2 kB
- complex/components/.../project.properties 0.5 kB
- complex/components/ejbs/ejb/project.xml 3 kB
- complex/components/.../conf/app.properties 0.0 kB
- complex/components/.../conf/cactus-web.xml 0.5 kB
- complex/components/.../ejb/ExampleBean.java 2 kB
- complex/.../ExampleFacadeBean.java 5 kB
- complex/components/.../ejb/SanityTest.java 0.4 kB
- complex/.../SanityWithCactusTest.java 0.9 kB
- complex/components/ejbs/.../WEB-INF/web.xml 0.2 kB
- complex/components/.../web/build.properties 0.5 kB
- complex/.../build.properties.jboss 0.5 kB
- complex/components/wars/web/maven.xml 0.3 kB
- complex/components/.../project.properties 0.6 kB
- complex/components/wars/web/project.xml 3 kB
-
Hide
- ejb.zip
- 12/Feb/04 9:41 AM
- 7 kB
- Archimedes Trajano
-
- ejb/template.properties 0.1 kB
- ejb/template-resources/.cvsignore 0.1 kB
- ejb/.../build.properties.jboss 0.5 kB
- ejb/template-resources/maven.xml 0.2 kB
- ejb/.../project.properties 0.5 kB
- ejb/template-resources/project.xml 5 kB
- ejb/template-resources/.../app.properties 0.0 kB
- ejb/template-resources/.../cactus-web.xml 0.5 kB
- ejb/template-resources/.../ExampleBean.java 2 kB
- ejb/.../ExampleFacadeBean.java 5 kB
- ejb/template-resources/.../SanityTest.java 0.3 kB
- ejb/.../SanityWithCactus.java 0.9 kB
- ejb/template-resources/.../WEB-INF/web.xml 0.2 kB
-
- genapp.patch
- 12/Feb/04 9:38 AM
- 1 kB
- Archimedes Trajano
-
Hide
- struts.zip
- 25/Feb/04 9:49 PM
- 8 kB
- Archimedes Trajano
-
- struts/template.properties 0.2 kB
- struts/template-resources/.cvsignore 0.1 kB
- struts/.../build.properties.jboss 0.5 kB
- struts/template-resources/maven.xml 0.3 kB
- struts/.../project.properties 1 kB
- struts/template-resources/project.xml 7 kB
- struts/.../ApplicationResources.properties 0.0 kB
- struts/template-resources/.../cactus-web.xml 0.2 kB
- struts/.../InputAction.java 2 kB
- struts/.../servlet-mappings.xml 0.1 kB
- struts/template-resources/.../servlets.xml 0.3 kB
- struts/.../struts-forms.xml 0.3 kB
- struts/.../struts-message-resources.xml 0.1 kB
- struts/.../SanityTest.java 0.3 kB
- struts/.../HttpUnitTest.java 2 kB
- struts/.../StrutsTest.java 0.8 kB
- struts/template-resources/.../jsp/input.jsp 0.7 kB
-
Hide
- struts-jstl.zip
- 26/Feb/04 1:31 PM
- 8 kB
- Archimedes Trajano
-
- struts/template.properties 0.2 kB
- struts/template-resources/.cvsignore 0.1 kB
- struts/.../build.properties.jboss 0.5 kB
- struts/template-resources/maven.xml 0.3 kB
- struts/.../project.properties 1 kB
- struts/template-resources/project.xml 7 kB
- struts/.../ApplicationResources.properties 0.0 kB
- struts/template-resources/.../cactus-web.xml 0.2 kB
- struts/.../InputAction.java 2 kB
- struts/.../servlet-mappings.xml 0.1 kB
- struts/template-resources/.../servlets.xml 0.3 kB
- struts/.../struts-forms.xml 0.3 kB
- struts/.../struts-message-resources.xml 0.1 kB
- struts/.../SanityTest.java 0.3 kB
- struts/.../HttpUnitTest.java 2 kB
- struts/.../StrutsTest.java 0.8 kB
- struts/template-resources/.../jsp/input.jsp 1.0 kB
-
Hide
- web.zip
- 25/Feb/04 9:49 PM
- 6 kB
- Archimedes Trajano
-
- web/template.properties 0.1 kB
- web/template-resources/.cvsignore 0.1 kB
- web/.../build.properties.jboss 0.5 kB
- web/template-resources/maven.xml 0.3 kB
- web/.../project.properties 0.5 kB
- web/template-resources/project.xml 4 kB
- web/template-resources/.../app.properties 0.0 kB
- web/template-resources/.../cactus-web.xml 0.2 kB
- web/.../HelloWorldServlet.java 1 kB
- web/template-resources/.../SanityTest.java 0.3 kB
- web/.../HelloWorldServletTest.java 0.7 kB
- web/template-resources/.../HttpUnitTest.java 2 kB
- web/template-resources/.../webapp/sample.jsp 0.0 kB
-
Hide
- web-jstl.zip
- 26/Feb/04 1:31 PM
- 6 kB
- Archimedes Trajano
-
- web/template-resources/.../webapp/sample.jsp 0.4 kB
- web/template-resources/.cvsignore 0.1 kB
- web/.../build.properties.jboss 0.5 kB
- web/template-resources/maven.xml 0.3 kB
- web/.../project.properties 0.6 kB
- web/template-resources/project.xml 5 kB
- web/template-resources/.../app.properties 0.0 kB
- web/template-resources/.../cactus-web.xml 0.2 kB
- web/.../HelloWorldServlet.java 1 kB
- web/template-resources/.../SanityTest.java 0.3 kB
- web/.../HelloWorldServletTest.java 0.7 kB
- web/template-resources/.../HttpUnitTest.java 2 kB
Activity
These didn't get added properly. This contains the actual files for the project.
The code is in CVS now, but there is a small problem with it, the class SanityWithCactus.java has to be changed to SanityWithCactusTest.java in order to have the cactus run test.
Could you add an ear generator and and full j2ee generator?
Project
-components
-project.xml
-...
-ejbs
-project.xml
-...
-war
-project.xml
-...
-ear
-project.xml
-...
Yup, working on that right now. But it will take a bit I still have to do tiles with struts. And before I can do the big project I have to find out how to get it working with Eclipse, I sorta gave up on getting it working in WSAD because "maven eclipse" does not support WSAD constructs.
What were you expecting in components how is it different from web and ejb? I was already thinking of a structure like that, if eclipse supported sub projects, but I also had to find out if genapp can create sub projects as well. Otherwise I would have to hard code the package paths (which I think I would have to do initially but we can change once genapp is modified to support it)
I was actually thinking of using the multiproject thingy, but I don't think Eclipse supports projects in a project does it? I have try it out after I get Tiles working.
I already have a sample app that does talking with Web to EJB layer with JAAS support. Though its in so much of a mismash I'm embarassed to show anyone, but I am pulling things out from there when I create the templates.
Think I can be added to the contributor list?
or even worse get CVS commit access ![]()
Anyway learning as I go.
Added JSTL libraries to the template. I'm thinking since its standard it should be there.
Added JSTL libraries to the template. I'm thinking since its standard it should be there.
Had a bit of trouble with the full j2ee app with cactus. I seemed to have fix it now by updating maven (1.0 branch) from CVS and doing a jar:install on it. So whatever I would make here should work for rc2.
Don't add this in yet to the main branch. This is just a plain old project with no conversion to a genapp yet. It currently has a problem with the final component which is to perform a cactus:test on the EAR level which seems to not work properly as it generates an empty war file which does not contain the actual application.
Woo hoo. I think I got it working now. But it requires a patch to be done on the cactus plugin. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27351
My changes to the genapp plugin that implements the ejb sample