Newbie Questions: so be gentle..
Posted on 2004-11-17
OK, I am a newbie to Java and have absolutely no idea what I am doing, so I am going to ask some stupid questions.
I understand the syntax and all that, but I am having trouble with the basic stuff like the app server and all that.
I have ColdFusion installed, which runs on JRun4, then I also have Sun j2eesdk-1_4_01 installed.
1: Can I get rid of one app server and just run everything on JRun4?
2. Is one better than the other?
3. I am trying to compile a class, but keep running into errors, I know why I get the errors, I get the errors because the class I am trying to compile cannot find the classes I need to import.
3.a. Where in gods name do I put my classes so it can find all the import classes?
3.b. I am guessing somewhere under one of the app servers, but which one and where?
The class looks like the following:
public class JRunHttpSessionListener implements HttpSessionListener
public void sessionDestroyed( HttpSessionEvent session )
HttpSession objSession = session.getSession();
System.out.println(" (objSession) Destroyed:ID=" + objSession.getId());
I have a ton load of other questions, but I'll start with the above.
PS. I am trying to perform an action upon timeout of a session variable.