facebook

"Smart deployment" doesn’t work

💡
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 Archived
  2.  > 
  3. Bugs
Viewing 4 posts - 16 through 19 (of 19 total)
  • Author
    Posts
  • #239776

    sradi
    Participant

    Hello,

    I have a question about the fact, that web projects and EJB projects can only rely on Java projects but not on each other.
    Why is this limitation intended?

    In my case, I have a web project deployed on a Tomcat Server and the EJB project on a weblogic server (So the EAR solution will not do it). All I need in the web project are the HomeInterfaces, etc.

    How can I automatically get these classes included in my web project during deployment?

    Thank you very much in advance.
    Regards,
    Stefan

    #239786

    Riyad Kalla
    Member

    I have a question about the fact, that web projects and EJB projects can only rely on Java projects but not on each other.
    Why is this limitation intended?

    Because there is no clear-cut combination rule when delpoying a web project with a dependent EJB, or visa versa. With a Java project it’s clear cut, you just package it up and stick it in the /lib dir.

    In my case, I have a web project deployed on a Tomcat Server and the EJB project on a weblogic server (So the EAR solution will not do it). All I need in the web project are the HomeInterfaces, etc.

    You could put the home interfaces in a separate Java Project that is shared by the Web Project, this would be deployed with it.

    #239860

    sradi
    Participant

    Thank you!

    I changed my XDoclet settings to automatically generate the Home-interfaces and Util-classes into another eclipse project. To do that, I changed the destDir in the ejbdoclet-settings from “src” to “../interfaceproject/src”.

    In my web project I added the interfaceproject to my build path and now everything works fine!

    Regards,
    Stefan

    #239873

    Riyad Kalla
    Member

    Stefan,
    Glad to hear it, thank you for posting your solution for others.

Viewing 4 posts - 16 through 19 (of 19 total)
Reply To: "Smart deployment" doesn’t work

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