facebook

JBoss EJB3 deployment issues

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #297960 Reply

    uber77
    Member

    I have a couple of projects actually being builded and deployed using ant. I’m migrating to MyEclipse to use hot deployment. The problem arises when i try to deploy the EJB3 beans since they have to be in a separated project to make a jar (it is required by EJB3 specifications)
    The projects are:
    – presbe (web project deploys in JBoss)
    – feb (bunch of classes and beans all mixed)
    – util (simple util classes)

    The presbe project deploys to the JBoss and copies the classes in the feb and util projects.
    Problems:
    – How can i make the jar for the beans ? I can’t move them to a separated project because there are circular dependencies (its a very big project)
    – If i use ant to make the jar, won’t i be loosing the MyEclipse hot deploy capability ?

    How is this scenario usually addressed ?

    Thanks!
    Uber

    #298079

    Riyad Kalla
    Member

    Uber,

    You can have MyEclipse assemble and deploy the dependent projects into JARs themselves using different deployment settings (Project Properties > MyEclipse > Web> Deployment) — you will loose exploded hot-sync support with that though as the JAR’s won’t be recreated and redeployed/reloaded every single time you change a line of code — fortunately there is still VM Hotsync support that can be achieved with certain types of changes — the VM allows certain changes to be directly injected into the running VM, and MyEclipse will automatically try and do this for you wether you deploy from MyEclipse or just connect the debugger to the running server instance yourself.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: JBoss EJB3 deployment issues

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