facebook

Best practise for project setup using myEclipse

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #247713 Reply

    arijithsinha
    Member

    I have a development/deployment structure which is as follows

    Master Folder
       Source
          deploymentdescriptorsforejbs
          com
             xxx
                 yyy
                      a.java 
                      b.java 
                    
    
        
       deployment
         config
           domain
             applications
               EnterpriseApp
                 ejb1.jar
                 ejb2.jar
                 DefaultWebapp
                   jsps
                       a.jsp
                   templates
                     template1.jsp
                   WEB-INF
                     web.xml
    

    I used Ant scripts previously to compile, prepare my ejb deployment jars and my overall classes jar file and then moved them to the classpath and the WEB-INF\lib folder. I use weblogic as the deployment application server.

    Could you please suggest how to set this up under myEclipse with full Struts and hibernate support.

    I have tried every which way to create projects under eclipse but somehow the wizards mess up the folder structure or don’t include my source directory and expects source files to be elsewhere.

    The best I have come up is having a Java source project and a WEB project and using them separately. I think I am missing some basic thing here and will appreciate some feedback.

    Thanks,
    Arijith

    #247738 Reply

    Riyad Kalla
    Member

    Arijith,
    It looks like you are actually mixing an Enterprise App Project, 3rd party EJBs and Web Project all in this source tree which MyEclipse won’t support because it is built around the same classloader structure that your Enterprise App server will employ.

    First I would suggest you rip out your Web Application, determine which part of this tree is your Web Project and put that into a web project. Then read this doc:
    http://www.myeclipseide.com/images/tutorials/quickstarts/earprojects/

    And create your enterprise app and drop your 3rd party EJB JARs into the root of your EA Project and setup your web project as a module of it.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Best practise for project setup using myEclipse

You must be logged in to post in the forum log in