my dog learned polymorphism*
The moose likes EJB and other Java EE Technologies and the fly likes DeployTool in latest Java EE Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "DeployTool in latest Java EE" Watch "DeployTool in latest Java EE" New topic
Author

DeployTool in latest Java EE

Deepak Giri
Ranch Hand

Joined: Feb 12, 2009
Posts: 52
can anyone please tell me why the sun people did not include the DeployTool in their latest release of the Application Server (9)???
or is it that they forgot to do that?
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9291
    
  17

Deepak I don't know about the reason for not including the deploy tool like they did with J2EE 1.4, but I think you should use an IDE like eclipse or netbeans to create your Java EE programs...


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
Chandra Sekar
Ranch Hand

Joined: Apr 12, 2006
Posts: 94
I have never worked with earlier versions of Sun's app server. However, for 9, deployment of apps are managed with a web interface. Visit http://localhost:4848


Chandru
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30068
    
149

Deepak,
What did the deploy tool do? Generate stubs/skeletons or actually deploy the app to the server. If the former, more happens at deploy time in JEE 5 so there isn't a need to pre-deploy.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Deepak Giri
Ranch Hand

Joined: Feb 12, 2009
Posts: 52
@ Ankit: sure, that is possible i know! but i just wanted to try n learn deploying without any IDE to help me! (i'm just getting too much dependent on netbeans now i guess )

@ Chandra: it is the Admin Console to be more specific! i know it exists but i guess there you have option just to deploy the processed .war or .ear files! ( the deploy tool actually helped in organizing the physical structure of the application and also the most important, ejb-jar.xml

@ Jeanne: no, the deploy tool didnt' do that (the former).. it just, as i said above, helped us with the deployment descriptor file and creating the enterprise archive file!

of course we can do that with the help of the command window, but the GUI really helped!
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30068
    
149

Deepak Giri wrote:of course we can do that with the help of the command window, but the GUI really helped!

Most people use Ant/Maven for creating ears these days. Maybe that's why they got rid of it?
Deepak Giri
Ranch Hand

Joined: Feb 12, 2009
Posts: 52
Jeanne Boyarsky wrote:
Deepak Giri wrote:of course we can do that with the help of the command window, but the GUI really helped!

Most people use Ant/Maven for creating ears these days. Maybe that's why they got rid of it?


Thanks!
I've heard about the Ant tool, though i still don't know (or better, i've still not learnt) how to use it ! (is there a tutorial available?)
and what is Maven about?

[and really is that the reason to get rid of that easy-to-learn-and-work-with GUI interface?]
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30068
    
149

The sites of both Maven and Ant contain tutorials. Maven is easier if your project is structured the "maven way."

A build tool is easier than a GUI in that you only have to write the build script once.
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30068
    
149

Note that we have a build forum further down in the list if you have any Ant or Maven questions.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: DeployTool in latest Java EE
 
Similar Threads
Unable to run deploytool
I am looking for somebody who uses the deploytool of Sun
Can't run code of the Head First EJB book
deploy tool file not found..
Vote here: I'm studying for the SCJP 1.5 exam