Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » A HowTo about creating a J2EE EAR with WTP
A HowTo about creating a J2EE EAR with WTP [message #69990] Sat, 29 January 2005 18:31 Go to next message
Eclipse UserFriend
Originally posted by: user.nospam.net

Can anybody point me to some documents showing how to use wtp to create
a full standard J2EE application with a web + ejb + client module?

I am familiar with WSAD and to a certain degree with Lomboz but I seem
to have difficulties persuading WTP to assign/accept a server like JBoss
or WebLogic as the J2EE server to run on...


I have simple web applications with JSP/Servlets running on both Tomcat
& JBoss,
but deploying an EAR with some simple EJBs seems to be impossible right
now...

My configuration is as follows:

JSDK 1.4.2_06
Eclipse 3.1M4
emf-sdo-xsd-SDK-I200412160800.zip
GEF-SDK-I20041216.zip
JEM-runtime-1.0.2.zip
wtp-sdk-1.0M2.zip
Xerces-J-bin.2.6.2.zip

Tomcat 5.0.29
JBoss3.2.3

All on WinXP

Dilshad
-------------------
Re: A HowTo about creating a J2EE EAR with WTP [message #70115 is a reply to message #69990] Sun, 30 January 2005 08:59 Go to previous messageGo to next message
Eclipse UserFriend
As long as I know there is currently no feature to automaticly deploy an
ear file to an application server...

however you can create an ear-project ("new project"->j2ee->enterprise
Application Project, or on the j2ee view by right clicking on the
Enterprise Application Folder)and when you create other web or ejb or
connector modules you can add them to the ear project. In the first
wizard page there is a button "advanced features" and there you can
select the ear file as the target ear...

this way you can bundle as many web/ejb modules as you like to an ear
file... now the bad thing is you have to "deploy" the ear file
yourself... you have to choose the ear-project by right clicking and
than select "export"->"ear export" (or "ear file" in j2ee view) and than
choose the destination directory...

This means the ear file won't be automaticly published for you if you
start the server... :( and whats at least as worse at the moment it
doesn't even remember the deploy directory and you have to choose it
each time from the pull down!!!

As long as I know its planned for Milestone 3 and we should have this
feature someday in february... maybe even in one of the next couple of
Integration builds... ask someone of the developer team... :P

At the moment its not very funny debugging ear projects on WTP (I use
oc4j as the AS) At work I have an even bigger problem... some of the
libraries my company uses for the project I'm working on seem to break
the debugging capability of the oc4j... if I choose "run" everything is
fine... if I choose "debug" the oc4j doesn't make it to the "OC4J is up
and running" line of info output... somewhere in the project
initialisation it crashes without even an error-stack...

Bye...
Re: A HowTo about creating a J2EE EAR with WTP [message #72199 is a reply to message #70115] Mon, 07 February 2005 17:35 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: user.nospam.net

madmarauder wrote:

> As long as I know there is currently no feature to automaticly deploy an
> ear file to an application server...
>
> however you can create an ear-project ("new project"->j2ee->enterprise
> Application Project, or on the j2ee view by right clicking on the
> Enterprise Application Folder)and when you create other web or ejb or
> connector modules you can add them to the ear project. In the first
> wizard page there is a button "advanced features" and there you can
> select the ear file as the target ear...
>
> this way you can bundle as many web/ejb modules as you like to an ear
> file... now the bad thing is you have to "deploy" the ear file
> yourself... you have to choose the ear-project by right clicking and
> than select "export"->"ear export" (or "ear file" in j2ee view) and than
> choose the destination directory...
>
> This means the ear file won't be automaticly published for you if you
> start the server... :( and whats at least as worse at the moment it
> doesn't even remember the deploy directory and you have to choose it
> each time from the pull down!!!
>
> As long as I know its planned for Milestone 3 and we should have this
> feature someday in february... maybe even in one of the next couple of
> Integration builds... ask someone of the developer team... :P
>
> At the moment its not very funny debugging ear projects on WTP (I use
> oc4j as the AS) At work I have an even bigger problem... some of the
> libraries my company uses for the project I'm working on seem to break
> the debugging capability of the oc4j... if I choose "run" everything is
> fine... if I choose "debug" the oc4j doesn't make it to the "OC4J is up
> and running" line of info output... somewhere in the project
> initialisation it crashes without even an error-stack...
>
> Bye...



Hi,

thank you for taking the time and going into this. I was trying to find
a solution to my problem and post it here while responding to you.

I managed to create a little JBoss web application and run it on my
local JBoss 3.2.3 & 4.0.0.

I am familiar with IBM's WSAD 5.x & Lomboz, so I had "automatically"
assumed things which those tools offer but not WTP.
So this let me searching for functionalities that wern't there or just
different.

I will try to compile a little tutorial as how to create & run/debug a
J2EE on JBoss 3.x/4.x using WTP sothat others don't lose so much time on
that like I had to.

Bye
Dilshad
Re: A HowTo about creating a J2EE EAR with WTP [message #72371 is a reply to message #72199] Tue, 08 February 2005 04:22 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

whoever tries to write a howto about ears and stuff should migrate to
the nightly build from 07.02.05 they totally changed the generic-server
support... everything is new - and as far I can say something about it
its stable and nice... now you can deploy the ear or atleast they have
the basic functionality already implemented in the generic-config files,
no idea if it has a gui yet...
Re: A HowTo about creating a J2EE EAR with WTP [message #72582 is a reply to message #72371] Wed, 09 February 2005 05:52 Go to previous message
Eclipse UserFriend
Originally posted by: user.nospam.net

madmarauder wrote:
> Hi,
>
> whoever tries to write a howto about ears and stuff should migrate to
> the nightly build from 07.02.05 they totally changed the generic-server
> support... everything is new - and as far I can say something about it
> its stable and nice... now you can deploy the ear or atleast they have
> the basic functionality already implemented in the generic-config files,
> no idea if it has a gui yet...


thanks for the info ... wtp is a real moving target. I guess it is not
worth too much efforts creating tutorials as long as it is changing so fast.

Regards,
Dilshad
Previous Topic:validating XSLT
Next Topic:Error when Creating a J2EE Web Project
Goto Forum:
  


Current Time: Sun Sep 14 23:25:49 EDT 2025

Powered by FUDForum. Page generated in 0.03336 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top