Manual Packaging for Deployment - J2ee

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Bob Reynolds

    Manual Packaging for Deployment - J2ee

    Hello,

    I have a requirement to create EAR and WAR packages without using the
    integrated package building tools built into the IDE. The packages will be
    created via a deployment script, preferably on a Win2k/Xp machine (less
    preferably we have a solaris 9x box - however i really need to get this
    running on xp or i'll be shuffling files between systems constantly)

    To be honest, all i've ever used is my IDE, in this case Sun One Studio
    (forte) to build my EARs and WARs but now I need to build my packages on a
    dedicated build box thats tied in with our Source Repository.. Meaning i
    have to go to first principles to create the packages...

    Retrieving the files from the Code Bank isnt the issue, but compiling and
    packaging the files is.

    I'm using Javac to create my class files, the bit i'm not sure about (read,
    currently lost) is the creation of the WAR/EAR, readings suggest that I use
    the Deploytool, or JAR however I cant find explanitory text on how to use
    those apps..

    also note, I cant use a GUI, (deploy tool appears to have a gui/non gui
    mode) as this will be a scripted deployment.

    To add something else into the mix, ANT seems a popular choice, however this
    is something ive never played with before so unless its the "prefered"
    choice of the forum, i'm not planning on going there!

    Please throw a few pearls of your collective wisdom my way, anything you
    have would be appreciated.

    Cheers


  • Herb Davis

    #2
    Re: Manual Packaging for Deployment - J2ee

    Have you looked at INSTALLANYWHERE ? What platforms do you need to deploy
    to? Maybe if we talked I could help more. I have written many installers.

    Bob Reynolds wrote:[color=blue]
    > Hello,
    >
    > I have a requirement to create EAR and WAR packages without using the
    > integrated package building tools built into the IDE. The packages will be
    > created via a deployment script, preferably on a Win2k/Xp machine (less
    > preferably we have a solaris 9x box - however i really need to get this
    > running on xp or i'll be shuffling files between systems constantly)
    >
    > To be honest, all i've ever used is my IDE, in this case Sun One Studio
    > (forte) to build my EARs and WARs but now I need to build my packages on a
    > dedicated build box thats tied in with our Source Repository.. Meaning i
    > have to go to first principles to create the packages...
    >
    > Retrieving the files from the Code Bank isnt the issue, but compiling and
    > packaging the files is.
    >
    > I'm using Javac to create my class files, the bit i'm not sure about (read,
    > currently lost) is the creation of the WAR/EAR, readings suggest that I use
    > the Deploytool, or JAR however I cant find explanitory text on how to use
    > those apps..
    >
    > also note, I cant use a GUI, (deploy tool appears to have a gui/non gui
    > mode) as this will be a scripted deployment.
    >
    > To add something else into the mix, ANT seems a popular choice, however this
    > is something ive never played with before so unless its the "prefered"
    > choice of the forum, i'm not planning on going there!
    >
    > Please throw a few pearls of your collective wisdom my way, anything you
    > have would be appreciated.
    >
    > Cheers
    >
    >[/color]

    Comment

    • Tony Morris

      #3
      Re: Manual Packaging for Deployment - J2ee

      I use Ant for everything, including the creation of deployment descriptors.
      Not only will you learn the de facto standard in Java build tools, but you
      may even learn about J2EE and the deployment descriptor definitions that are
      required - I usually write them by hand.

      --
      Tony Morris
      (BInfTech, Cert 3 I.T., SCJP[1.4], SCJD)
      Software Engineer
      IBM Australia - Tivoli Security Software


      "Bob Reynolds" <[email protected] m> wrote in message
      news:XgbKb.7851 [email protected]. net.au...[color=blue]
      > Hello,
      >
      > I have a requirement to create EAR and WAR packages without using the
      > integrated package building tools built into the IDE. The packages will be
      > created via a deployment script, preferably on a Win2k/Xp machine (less
      > preferably we have a solaris 9x box - however i really need to get this
      > running on xp or i'll be shuffling files between systems constantly)
      >
      > To be honest, all i've ever used is my IDE, in this case Sun One Studio
      > (forte) to build my EARs and WARs but now I need to build my packages on a
      > dedicated build box thats tied in with our Source Repository.. Meaning i
      > have to go to first principles to create the packages...
      >
      > Retrieving the files from the Code Bank isnt the issue, but compiling and
      > packaging the files is.
      >
      > I'm using Javac to create my class files, the bit i'm not sure about[/color]
      (read,[color=blue]
      > currently lost) is the creation of the WAR/EAR, readings suggest that I[/color]
      use[color=blue]
      > the Deploytool, or JAR however I cant find explanitory text on how to use
      > those apps..
      >
      > also note, I cant use a GUI, (deploy tool appears to have a gui/non gui
      > mode) as this will be a scripted deployment.
      >
      > To add something else into the mix, ANT seems a popular choice, however[/color]
      this[color=blue]
      > is something ive never played with before so unless its the "prefered"
      > choice of the forum, i'm not planning on going there!
      >
      > Please throw a few pearls of your collective wisdom my way, anything you
      > have would be appreciated.
      >
      > Cheers
      >
      >[/color]


      Comment

      Working...