jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
Signup
Maven 1.x Application Generation Plugin
  • Maven 1.x Application Generation Plugin
  • MPGENAPP-6

Provide a sample for EJB projects

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: New Feature New Feature
  • Status: Closed Closed
  • Priority: Major 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.

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. Hide
    Zip Archive
    complex.zip
    29/Feb/04 2:17 PM
    20 kB
    Archimedes Trajano
    1. XML File
      complex/maven.xml 3 kB
    2. File
      complex/project.properties 0.3 kB
    3. XML File
      complex/project.xml 2 kB
    4. File
      complex/components/.../ear/build.properties 0.5 kB
    5. File
      complex/components/.../project.properties 0.3 kB
    6. XML File
      complex/components/ears/ear/project.xml 1 kB
    7. XML File
      complex/components/.../application.xml 0.4 kB
    8. File
      complex/components/.../conf/app.properties 0.0 kB
    9. Java Source File
      complex/components/.../AbstractTestCase.java 0.8 kB
    10. Java Source File
      complex/components/ears/.../ear/AppTest.java 0.8 kB
    11. Java Source File
      complex/components/.../ear/NaughtyTest.java 0.7 kB
    12. Java Source File
      complex/components/.../ear/HttpUnitTest.java 2 kB
    13. XML File
      complex/components/ears/.../WEB-INF/web.xml 0.2 kB
    14. File
      complex/components/.../ejb/build.properties 0.5 kB
    15. File
      complex/.../build.properties.jboss 0.5 kB
    16. XML File
      complex/components/ejbs/ejb/maven.xml 0.2 kB
    17. File
      complex/components/.../project.properties 0.5 kB
    18. XML File
      complex/components/ejbs/ejb/project.xml 3 kB
    19. File
      complex/components/.../conf/app.properties 0.0 kB
    20. XML File
      complex/components/.../conf/cactus-web.xml 0.5 kB
    21. Java Source File
      complex/components/.../ejb/ExampleBean.java 2 kB
    22. Java Source File
      complex/.../ExampleFacadeBean.java 5 kB
    23. Java Source File
      complex/components/.../ejb/SanityTest.java 0.4 kB
    24. Java Source File
      complex/.../SanityWithCactusTest.java 0.9 kB
    25. XML File
      complex/components/ejbs/.../WEB-INF/web.xml 0.2 kB
    26. File
      complex/components/.../web/build.properties 0.5 kB
    27. File
      complex/.../build.properties.jboss 0.5 kB
    28. XML File
      complex/components/wars/web/maven.xml 0.3 kB
    29. File
      complex/components/.../project.properties 0.6 kB
    30. XML File
      complex/components/wars/web/project.xml 3 kB
    Showing 30 of 38 items Download Zip
    Show
    Zip Archive
    complex.zip
    29/Feb/04 2:17 PM
    20 kB
    Archimedes Trajano
  2. Hide
    Zip Archive
    ejb.zip
    12/Feb/04 9:41 AM
    7 kB
    Archimedes Trajano
    1. File
      ejb/template.properties 0.1 kB
    2. File
      ejb/template-resources/.cvsignore 0.1 kB
    3. File
      ejb/.../build.properties.jboss 0.5 kB
    4. XML File
      ejb/template-resources/maven.xml 0.2 kB
    5. File
      ejb/.../project.properties 0.5 kB
    6. XML File
      ejb/template-resources/project.xml 5 kB
    7. File
      ejb/template-resources/.../app.properties 0.0 kB
    8. XML File
      ejb/template-resources/.../cactus-web.xml 0.5 kB
    9. Java Source File
      ejb/template-resources/.../ExampleBean.java 2 kB
    10. Java Source File
      ejb/.../ExampleFacadeBean.java 5 kB
    11. Java Source File
      ejb/template-resources/.../SanityTest.java 0.3 kB
    12. Java Source File
      ejb/.../SanityWithCactus.java 0.9 kB
    13. XML File
      ejb/template-resources/.../WEB-INF/web.xml 0.2 kB
    Download Zip
    Show
    Zip Archive
    ejb.zip
    12/Feb/04 9:41 AM
    7 kB
    Archimedes Trajano
  3. Text File
    genapp.patch
    12/Feb/04 9:38 AM
    1 kB
    Archimedes Trajano
  4. Hide
    Zip Archive
    struts.zip
    25/Feb/04 9:49 PM
    8 kB
    Archimedes Trajano
    1. File
      struts/template.properties 0.2 kB
    2. File
      struts/template-resources/.cvsignore 0.1 kB
    3. File
      struts/.../build.properties.jboss 0.5 kB
    4. XML File
      struts/template-resources/maven.xml 0.3 kB
    5. File
      struts/.../project.properties 1 kB
    6. XML File
      struts/template-resources/project.xml 7 kB
    7. File
      struts/.../ApplicationResources.properties 0.0 kB
    8. XML File
      struts/template-resources/.../cactus-web.xml 0.2 kB
    9. Java Source File
      struts/.../InputAction.java 2 kB
    10. XML File
      struts/.../servlet-mappings.xml 0.1 kB
    11. XML File
      struts/template-resources/.../servlets.xml 0.3 kB
    12. XML File
      struts/.../struts-forms.xml 0.3 kB
    13. XML File
      struts/.../struts-message-resources.xml 0.1 kB
    14. Java Source File
      struts/.../SanityTest.java 0.3 kB
    15. Java Source File
      struts/.../HttpUnitTest.java 2 kB
    16. Java Source File
      struts/.../StrutsTest.java 0.8 kB
    17. File
      struts/template-resources/.../jsp/input.jsp 0.7 kB
    Download Zip
    Show
    Zip Archive
    struts.zip
    25/Feb/04 9:49 PM
    8 kB
    Archimedes Trajano
  5. Hide
    Zip Archive
    struts-jstl.zip
    26/Feb/04 1:31 PM
    8 kB
    Archimedes Trajano
    1. File
      struts/template.properties 0.2 kB
    2. File
      struts/template-resources/.cvsignore 0.1 kB
    3. File
      struts/.../build.properties.jboss 0.5 kB
    4. XML File
      struts/template-resources/maven.xml 0.3 kB
    5. File
      struts/.../project.properties 1 kB
    6. XML File
      struts/template-resources/project.xml 7 kB
    7. File
      struts/.../ApplicationResources.properties 0.0 kB
    8. XML File
      struts/template-resources/.../cactus-web.xml 0.2 kB
    9. Java Source File
      struts/.../InputAction.java 2 kB
    10. XML File
      struts/.../servlet-mappings.xml 0.1 kB
    11. XML File
      struts/template-resources/.../servlets.xml 0.3 kB
    12. XML File
      struts/.../struts-forms.xml 0.3 kB
    13. XML File
      struts/.../struts-message-resources.xml 0.1 kB
    14. Java Source File
      struts/.../SanityTest.java 0.3 kB
    15. Java Source File
      struts/.../HttpUnitTest.java 2 kB
    16. Java Source File
      struts/.../StrutsTest.java 0.8 kB
    17. File
      struts/template-resources/.../jsp/input.jsp 1.0 kB
    Download Zip
    Show
    Zip Archive
    struts-jstl.zip
    26/Feb/04 1:31 PM
    8 kB
    Archimedes Trajano
  6. Hide
    Zip Archive
    web.zip
    25/Feb/04 9:49 PM
    6 kB
    Archimedes Trajano
    1. File
      web/template.properties 0.1 kB
    2. File
      web/template-resources/.cvsignore 0.1 kB
    3. File
      web/.../build.properties.jboss 0.5 kB
    4. XML File
      web/template-resources/maven.xml 0.3 kB
    5. File
      web/.../project.properties 0.5 kB
    6. XML File
      web/template-resources/project.xml 4 kB
    7. File
      web/template-resources/.../app.properties 0.0 kB
    8. XML File
      web/template-resources/.../cactus-web.xml 0.2 kB
    9. Java Source File
      web/.../HelloWorldServlet.java 1 kB
    10. Java Source File
      web/template-resources/.../SanityTest.java 0.3 kB
    11. Java Source File
      web/.../HelloWorldServletTest.java 0.7 kB
    12. Java Source File
      web/template-resources/.../HttpUnitTest.java 2 kB
    13. File
      web/template-resources/.../webapp/sample.jsp 0.0 kB
    Download Zip
    Show
    Zip Archive
    web.zip
    25/Feb/04 9:49 PM
    6 kB
    Archimedes Trajano
  7. Hide
    Zip Archive
    web-jstl.zip
    26/Feb/04 1:31 PM
    6 kB
    Archimedes Trajano
    1. File
      web/template-resources/.../webapp/sample.jsp 0.4 kB
    2. File
      web/template-resources/.cvsignore 0.1 kB
    3. File
      web/.../build.properties.jboss 0.5 kB
    4. XML File
      web/template-resources/maven.xml 0.3 kB
    5. File
      web/.../project.properties 0.6 kB
    6. XML File
      web/template-resources/project.xml 5 kB
    7. File
      web/template-resources/.../app.properties 0.0 kB
    8. XML File
      web/template-resources/.../cactus-web.xml 0.2 kB
    9. Java Source File
      web/.../HelloWorldServlet.java 1 kB
    10. Java Source File
      web/template-resources/.../SanityTest.java 0.3 kB
    11. Java Source File
      web/.../HelloWorldServletTest.java 0.7 kB
    12. Java Source File
      web/template-resources/.../HttpUnitTest.java 2 kB
    Download Zip
    Show
    Zip Archive
    web-jstl.zip
    26/Feb/04 1:31 PM
    6 kB
    Archimedes Trajano

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Archimedes Trajano added a comment - 12/Feb/04 9:38 AM

My changes to the genapp plugin that implements the ejb sample

Show
Archimedes Trajano added a comment - 12/Feb/04 9:38 AM My changes to the genapp plugin that implements the ejb sample
Hide
Permalink
Archimedes Trajano added a comment - 12/Feb/04 9:41 AM

These didn't get added properly. This contains the actual files for the project.

Show
Archimedes Trajano added a comment - 12/Feb/04 9:41 AM These didn't get added properly. This contains the actual files for the project.
Hide
Permalink
Archimedes Trajano added a comment - 25/Feb/04 9:43 PM

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.

Show
Archimedes Trajano added a comment - 25/Feb/04 9:43 PM 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.
Hide
Permalink
Archimedes Trajano added a comment - 25/Feb/04 9:49 PM

Sample for Web project added

Show
Archimedes Trajano added a comment - 25/Feb/04 9:49 PM Sample for Web project added
Hide
Permalink
Archimedes Trajano added a comment - 25/Feb/04 9:49 PM

Sample for struts app

Show
Archimedes Trajano added a comment - 25/Feb/04 9:49 PM Sample for struts app
Hide
Permalink
Emmanuel Venisse added a comment - 26/Feb/04 3:52 AM

Could you add an ear generator and and full j2ee generator?

Project
-components
-project.xml
-...
-ejbs
-project.xml
-...
-war
-project.xml
-...
-ear
-project.xml
-...

Show
Emmanuel Venisse added a comment - 26/Feb/04 3:52 AM Could you add an ear generator and and full j2ee generator? Project -components -project.xml -... -ejbs -project.xml -... -war -project.xml -... -ear -project.xml -...
Hide
Permalink
Archimedes Trajano added a comment - 26/Feb/04 8:25 AM

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.

Show
Archimedes Trajano added a comment - 26/Feb/04 8:25 AM 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.
Hide
Permalink
Archimedes Trajano added a comment - 26/Feb/04 1:31 PM

Added JSTL libraries to the template. I'm thinking since its standard it should be there.

Show
Archimedes Trajano added a comment - 26/Feb/04 1:31 PM Added JSTL libraries to the template. I'm thinking since its standard it should be there.
Hide
Permalink
Archimedes Trajano added a comment - 26/Feb/04 1:31 PM

Added JSTL libraries to the template. I'm thinking since its standard it should be there.

Show
Archimedes Trajano added a comment - 26/Feb/04 1:31 PM Added JSTL libraries to the template. I'm thinking since its standard it should be there.
Hide
Permalink
Archimedes Trajano added a comment - 28/Feb/04 4:01 AM

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.

Show
Archimedes Trajano added a comment - 28/Feb/04 4:01 AM 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.
Hide
Permalink
Archimedes Trajano added a comment - 29/Feb/04 2:17 PM

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.

Show
Archimedes Trajano added a comment - 29/Feb/04 2:17 PM 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.
Hide
Permalink
Archimedes Trajano added a comment - 01/Mar/04 6:22 PM

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

Show
Archimedes Trajano added a comment - 01/Mar/04 6:22 PM 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
Hide
Permalink
Emmanuel Venisse added a comment - 06/Mar/04 7:33 PM

Done

Show
Emmanuel Venisse added a comment - 06/Mar/04 7:33 PM Done

People

  • Assignee:
    Jason van Zyl
    Reporter:
    Archimedes Trajano
Vote (0)
Watch (1)

Dates

  • Created:
    12/Feb/04 9:37 AM
    Updated:
    06/Mar/04 7:33 PM
    Resolved:
    06/Mar/04 7:33 PM
  • Atlassian JIRA (v5.2.7#850-sha1:b2af0c8)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.