facebook

Relationship between a Java project and a J2EE web project?

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

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

    mjardine
    Member

    I have two projects; one is a Java project and the other is a J2EE web project. I’ve told the web project that it’s dependent on the Java project which has some bean source code and required jars. (Not everything in the Java project is bean code.) The web project produces no errors with this scenario. I’m expecting that when I deploy the web project (exploded), the needed parts of the Java project will be sent to the WEB-INF\lib directory, but it’s not working out that way. Is my thinking wrong? If so, what’s the right way to go about achieving my goal.

    Thx.
    miguel.

    #230321

    mjardine
    Member

    With enough time passing, I’ve answered my own question. So, for the benefit of others, here’s the answer. Yes, you can separate out pieces of a project as mentioned above. To get the deployment working as expected, I had to configure the preferences accordingly. This is done by choosing Window > Preferences from the menubar, selecting MyEclipse > J2EE > Web Project from the navigation hierarchy, then clicking the Deployment tab. In the first section, you can choose how dependent projects are deployed. Afterwards, redeploy the web project and you should be good to go.

    Cheers.
    miguel.

    #230344

    Riyad Kalla
    Member

    Miguel,
    We appologize for the delay, thank you for following up with your solution for others.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Relationship between a Java project and a J2EE web project?

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