Win a copy of Modern JavaScript for the Impatient this week in the Server-Side JavaScript and NodeJS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Making changes in Java files without restarting server

 
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello ,
I have deployed a struts application on Weblogic 6.1
After starting up the server I was wondering if I could make changes Source Java files - compile - and place the class files in WebLogic
Would the changes be reflected ?
Can this be possible without restarting the server ?
I was wondering since changes made in JSP get reflected so should the class file changes too be reflected on the fly ?
Thanks and hoping for some pointers ,
-satish
 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You would need to restart the server if you make any changes to Java classes for the changes to be reflected.
In case of JSP, the page is compiled at run-time (the first time when it is requested or when it is subsequently changed) by the JSP engine and picked up by weblogic, hence no restart of server is required.
The same is not possible for java classes.
 
Ranch Hand
Posts: 265
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is another chance there for with out restating server ....
When u made change any java file then u can open the console and u can go to the servlet directory in that u can click the option "Redeployall" .
 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
After re-making of WAR you have to redeploy WAR on weblogic .Need not to restart the server.
 
eat bricks! HA! And here's another one! And a tiny ad!
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic