jQuery in Action, 2nd edition*
The moose likes Websphere and the fly likes development redeployment time Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "development redeployment time" Watch "development redeployment time" New topic
Author

development redeployment time

paul wheaton
Trailboss

Joined: Dec 14, 1998
Posts: 20494
    ∞

Suppose I make a change to an EJB and then re-deploy. How much time does it take webshpere to absorb my new ear file?


permaculture Wood Burning Stoves 2.0 - 4-DVD set
Kyle Brown
author
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
    
    5
If you've redeployed an EJB then you'll need to restart the application. The change should take place immediately after application restart.
Kyle


Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
paul wheaton
Trailboss

Joined: Dec 14, 1998
Posts: 20494
    ∞

Hi Kyle!
I guess I'm trying to figure out how many minutes and seconds we might be talking about.
I have a new ear file and websphere is currently running with an old ear file on my development box. I just wanna try my little change. Assuming that there isn't a whole lot to the ear file, how long does it take for the application to restart? Do I need to shut down websphere?
(apparently we're gonna get websphere soon, so I'm curious)
Kyle Brown
author
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
    
    5
It depends on a lot of things like the size of the EAR file and the speed of your box, but usually if you're just going to stop the app, redeploy and restart the app, it takes about 1-2 minutes for me.
Kyle
Kyle Brown
author
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
    
    5
And no, the server continues running through this process... If you click fast, or use a WSAdmin script, it's even faster than my 1-2 minutes...
Kyle
paul wheaton
Trailboss

Joined: Dec 14, 1998
Posts: 20494
    ∞

How about if you are using WSAD? Much faster?
paul wheaton
Trailboss

Joined: Dec 14, 1998
Posts: 20494
    ∞

Kyle,
I know a lot of J2EE vendors let folks run a free copy of their server for development purposes. Is websphere one of these?
Also, any wackiness if I wanna develop on linux? Somebody said something about having to get a particular flavor of redhat linux, but I suspect that might only be for production systems.
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30130
    
150

Paul,
It takes 3-4 minutes on Websphere on a slow machine/network.
In WSAD, a server restart takes about 2 minutes. But you don't always have to restart the server. You can just restart the ear (right click on the server for the option to do this.) Restarting one ear takes 15-30 seconds.


[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
bharat nagpal
Ranch Hand

Joined: Oct 26, 2002
Posts: 76
Let's say I want to change my application in any of three ways:
1) There is slight change in one of the bean's method. Let's say I'm incrementing the value of a local varibale by one.
2) Method's signatures have been changed.
3) The EJB is new one (is it possible to add new ejb jar in the existing EAR, without redeploying the whole EAR?)
what exactly I need to do in these three cases (Let's say I'm not using WSAD), and using ANT to build the application.
Kyle Brown
author
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
    
    5
Read in the infoCenter about "hot deployment". What to do in all three cases is covered in detail.
Kyle
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: development redeployment time
 
Similar Threads
Riddle
WA #1.....word association
WA #2 ..... word association
JQ+
Scrabble... it only takes a minute...