Build application (.ear) file using Application Server - Websphere

This is a discussion on Build application (.ear) file using Application Server - Websphere ; Hi everybody, I am new to websphere 61. I have question to ask. Is it possible to build application (.ear) file with application server without ant file and not using application server's toolkits? My supervisor said it is possible to ...

+ Reply to Thread
Results 1 to 7 of 7

Thread: Build application (.ear) file using Application Server

  1. Build application (.ear) file using Application Server

    Hi everybody,

    I am new to websphere 61. I have question to ask.

    Is it possible to build application (.ear) file with application server without ant file and not using application server's toolkits?

    My supervisor said it is possible to build but he didnot want to say how since he wanted me to find out myself.

    Can any body tell me it is possible to build it using websphere application server 6.1

  2. Re: Build application (.ear) file using Application Server


    wrote in message
    news:350672064.1176750072999.JavaMail.wassrvr@ltsg was009.sby.ibm.com...
    > Hi everybody,
    >
    > I am new to websphere 61. I have question to ask.

    Welcome.

    > Is it possible to build application (.ear) file with application server
    > without ant file and not using application server's toolkits?

    Yes.

    > My supervisor said it is possible to build but he didnot want to say how
    > since he wanted me to find out myself.

    It's not that he doesn't want to tell, it's rather that he doesn't want you
    to know he doesn't know either... :-)

    > Can any body tell me it is possible to build it using websphere
    > application server 6.1

    As the question is build an EAR using WAS without the ASTK, ANT or RAD, then
    I'd say that not possible.
    The tooling coming with WAS (ASTK, ANT, RAD) can be used to build an EAR.
    But it's not with WAS than you'd build an EAR.
    However, one can build an ear using nothing but a zip tool and a text
    editor. But seriously you better use a tool and avoid wasting your time on
    this. Except for learning the hard way, I'm not sure it's a good idea to
    such hand editing...

    HTH.


  3. Re: Build application (.ear) file using Application Server

    Thank you, Ben_.

    But from my supervisor's email, it seems that it does not use zip tool. Instead, he said there are an option of websphere 6.1 that we can use to compile servlet, and build ear file.

    So any one know about this?

    Thank you.

  4. Re: Build application (.ear) file using Application Server

    karenhuang888@yahoo.com wrote:
    > Thank you, Ben_.
    >
    > But from my supervisor's email, it seems that it does not use zip tool. Instead, he said there are an option of websphere 6.1 that we can use to compile servlet, and build ear file.
    >
    > So any one know about this?
    >
    > Thank you.


    He is incorrect. It's in the toolkit like Ben mentioned.

    Ken

  5. Re: Build application (.ear) file using Application Server

    I never tried this but, is it possible to copy the directory structure for the application as WAS needs (J2ee standards) in the

    /opt/IBM/WebSphere/AppServer/profiles/Dmgr01/config/cells/omegaCell01/applications

    directory. WAS might create an ear when you try to export the application.

  6. Re: Build application (.ear) file using Application Server

    Actually, to be correct, WAS can build an EAR for you: if you deploy a WAR,
    WAS will gently wrap it for you into an EAR and deploy that EAR.

    However, this won't help you much probably, a WAR is only a web application.
    So, if your applications has EJB's, you still need to build the EAR anyway
    to put the WAR and the EJB module together.

    BTW, let me anticipate your possible next question: Q- "how do I build a
    WAR". A- "much like an EAR"...


  7. Re: Build application (.ear) file using Application Server

    You can build the .ear file using standard command-line tools such as the 'jar' command, but in order to assign bindings for JNDI names, you'll need to either use the AST tool (or RAD) prior to installing into WAS, or assign bindings into the .ear during application install.

    karenhuang888@yahoo.com wrote:
    > Hi everybody,
    >
    > I am new to websphere 61. I have question to ask.
    >
    > Is it possible to build application (.ear) file with application server without ant file and not using application server's toolkits?
    >
    > My supervisor said it is possible to build but he didnot want to say how since he wanted me to find out myself.
    >
    > Can any body tell me it is possible to build it using websphere application server 6.1


+ Reply to Thread