facebook

EAR Export with multiple Web Application Projects

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

    Goekhan
    Member

    I am creating an EAR file, which contains multiple web application projects. When I export the EAR project as J2EE EAR, the web applications included are all packed into WAR files. How can I have the web applications as exploded archives (not in WAR files, but in directory structure) in the exported EAR?

    This EAR is to be deployed on WebLogic 8.1, and from what I have seen, WebLogic does not explode an EAR application and its underlying web projects automatically. Can you please confirm if I am wrong?

    Thanks,

    Goekhan

    PS: I am using Eclipse 3.1 and MyEclipse 4.0

    #251072 Reply

    Riyad Kalla
    Member

    Goekhan,
    When you create your EAR deployment, set it to be an “Exploded” deployment. This will create directories with .WAR extensions, but they will be exploded.

    WebLogic does not explode an EAR application and its underlying web projects automatically. Can you please confirm if I am wrong?

    I don’t know.

    #251081 Reply

    Goekhan
    Member

    Riyad,

    Thank you for the quick reply. I am talking about EXPORTING a project as J2EE EAR, and not creating a deployment inside the same machine for quick deployment and testing. EAR project is exported to be deployed on another machine in this case, and I want to have the Web Applications not packed in WAR files, but to keep them in exploded directory structure. All I do is right click and select Export….J2EE EAR File….

    I would appreciate if you can help me out with this.

    Thanks,

    #251088 Reply

    Riyad Kalla
    Member

    Ahh export does not support exploded format, what you could do is simply create a “Custom Location” exploded deployment to some area you wanted to upload the deployment from. File > Export won’t do this for you, sorry for misunderstanding your request.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: EAR Export with multiple Web Application Projects

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