Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / June 2004

Tip: Looking for answers? Try searching our database.

forcing recompile in Resin

Thread view: 
Roedy Green - 13 Jun 2004 08:38 GMT
Just what are you supposed to do to make Resin notice source has
changed and recompile a servlet?

It is truly necessary to shutdown, delete class files and restart?

Signature

Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming.
See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.

Roedy Green - 13 Jun 2004 09:05 GMT
>Just what are you supposed to do to make Resin notice source has
>changed and recompile a servlet?
>
>It is truly necessary to shutdown, delete class files and restart?

Even when I do that, often I still get the previous version code. I
makes YET another copy of the class file somewhere besides the classes
directory.

Signature

Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming.
See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.

Roedy Green - 13 Jun 2004 10:37 GMT
>Even when I do that, often I still get the previous version code. I
>makes YET another copy of the class file somewhere besides the classes
>directory.

I put a dummy doGet method in that just returns the version. That way
I can see compile errors, and can quickly tell if the Servlet is
loaded and what version it is.

I think for debugging you need a stripped down Servlet womb that can
be started and stopped very fast or that has no caching.

Signature

Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming.
See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.

Andrew Thompson - 13 Jun 2004 15:56 GMT
...
>>Even when I do that, often I still get the previous version code. I
>>makes YET another copy of the class file somewhere besides the classes
>>directory.
>
> I put a dummy doGet method in that just returns the version.
...

So Roedy..  Do these posts actually mean
you are about to progress to server-side
generation of your pages?

[ (chuckles)  your recent descriptions of what it
takes to generate yout site sent chills down my
spine.  It would be *sooooo* much simpler if you
move your site to being generated by JSP/Servlet.
(..though I realise that all depends on your host) ]

Signature

Andrew Thompson
http://www.PhySci.org/ Open-source software suite
http://www.PhySci.org/codes/ Web & IT Help
http://www.1point1C.org/ Science & Technology

Roedy Green - 13 Jun 2004 20:30 GMT
>So Roedy..  Do these posts actually mean
>you are about to progress to server-side
>generation of your pages?

no.  I am doing a scheme for a charity to take online membership
registrations.
Signature

Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming.
See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.

Roedy Green - 13 Jun 2004 20:33 GMT
>[ (chuckles)  your recent descriptions of what it
>takes to generate yout site sent chills down my
>spine.  It would be *sooooo* much simpler if you
>move your site to being generated by JSP/Servlet.

Not really. The code is almost the same. One advantage of my technique
is the way it can maintain a local mirror for you that does not
require a server.

The index generation is not something you would want to do on every
page request, even if cached.

Signature

Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming.
See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.