facebook

Deployment descriptors for specific servers.

💡
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. Application Servers and Deployment
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #234432 Reply

    i_subhash
    Member

    Hi All…I am curious to know that after creating the web and ejb projects for a java enterprise application and then,,is there any utility using myeclipse that i can generate the deployment descriptors for specific servers????

    Plz enlighten me regd this

    Subhash

    #234436

    Riyad Kalla
    Member

    Subhash,
    Are you asking about custom web.xml file or actual deployments of your project to individual servers? Both of these items are server-agnostic, so no there is no way to generate server-specific versions of these (which I’m still not clear on what would be different between them…). Please explain in more detail what you need.

    #234439

    i_subhash
    Member

    thnx for ur response….When I wanted to port my application from oracle9ias to JBOSS…the deployment descriptors will change..deployment desriptors are specific to app servers,,say jboss requires a deployment descriptor by name jboss-web.xml…so I wanted to know when Myeclipse can support deployment of application to diff servers,,,can myeclipse even generate the deployment descriptrs as well.

    Regds
    Subhash

    #234447

    Riyad Kalla
    Member

    deployment desriptors are specific to app servers

    Ok this is misleading, some app servers *support* server-specific descriptors, like jboss-web.xml, but no deployment descriptors (web.xml) are not application serve sepecific. But this is the good news, just keep all the descriptors in your WEB-INF dir, and deploy them. The app server that needs them will use them, and the other app server will ignore it. For example, Oracle will ignore your jboss-service.xml file, so no problem.

    so I wanted to know when Myeclipse can support deployment of application to diff servers

    Yes, all of them to be more specific, please read how here: http://myeclipseide.com/enterpriseworkbench/help/index.jsp?topic=/com.genuitec.myeclipse.doc/html/quickstarts/appservers/index.html

    can myeclipse even generate the deployment descriptrs as well.

    No, these are not files that can easily be generating because their layout/contents depends entirely on how you want your application to run.

    #234552

    i_subhash
    Member

    I get warning while depolying in JBOSS saying that “Missing ejb-jar.xml deployment descriptor in Meta-Inf folder”.

    Regds
    Subhash

    #234554

    Riyad Kalla
    Member

    Creating this file is covered in our EJB Quickstart guide here: http://myeclipseide.com/enterpriseworkbench/help/index.jsp?topic=/com.genuitec.myeclipse.doc/html/quickstarts/firstejb/index.html

    I would suggest going step-by-step to get a feel for hwo the tool works.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: Deployment descriptors for specific servers.

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