aspose file tools*
The moose likes Servlets and the fly likes Jrun vs J2ee Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Jrun vs J2ee" Watch "Jrun vs J2ee" New topic
Author

Jrun vs J2ee

Sean Casey
Ranch Hand

Joined: Dec 16, 2000
Posts: 625
I want to develop jsp pages with java beans. Thus far, I've been using tomcat for servlets. I have j2sdkee (this is where I get the jsp and servlets from), but I never configured it properly so I can't develop beans on it. I've tried to configure it but it seems to be a mess. If I downloaded and installed jrun could I get around this or do I need the j2sdkee to develop the beans? Any thoughts??
Thanks,
Sean
Sean Casey
Ranch Hand

Joined: Dec 16, 2000
Posts: 625
I'm not sure if this is the right forum, but it does relate to servlets and jsp as well.
anyone??
Roopa Bagur
Ranch Hand

Joined: Nov 03, 2000
Posts: 267
If you are looking for a webserver/servlet container JRun will serve your purpose. Since your JSP will makes calls to your java beans it should not be a problem.You will need the j2sdkee for the classes.
Originally posted by Sean Casey:
I want to develop jsp pages with java beans. Thus far, I've been using tomcat for servlets. I have j2sdkee (this is where I get the jsp and servlets from), but I never configured it properly so I can't develop beans on it. I've tried to configure it but it seems to be a mess. If I downloaded and installed jrun could I get around this or do I need the j2sdkee to develop the beans? Any thoughts??
Thanks,
Sean

Sean Casey
Ranch Hand

Joined: Dec 16, 2000
Posts: 625
Thanks a lot for the reply?
Do I need j2ee to deploy the beans or just merely for the api's? Theoretically I could just download the apis and not have to go through the whole j2ee server etc.???
Roopa Bagur
Ranch Hand

Joined: Nov 03, 2000
Posts: 267
you'll need need j2eesdk for the api's..you don't have to configure the J2ee server if you are using Tomcat or JRun. But you will have to set your classpath to point to the j2ee.jar .
If you are packaging your application into a .WAR file you can deploy it in JRUN .
Originally posted by Sean Casey:
Thanks a lot for the reply?
Do I need j2ee to deploy the beans or just merely for the api's? Theoretically I could just download the apis and not have to go through the whole j2ee server etc.???

Sean Casey
Ranch Hand

Joined: Dec 16, 2000
Posts: 625
Thanks alot. I already have the j2ee in my class path, and I have tomcat running. Does this mean I can develop javabeans?(I know nothing about them), or should I use jrun?
Roopa Bagur
Ranch Hand

Joined: Nov 03, 2000
Posts: 267
JavaBeans are usually invoked from inside a JSP using the jsp tag
<jsp:useBean>. JavaBeans are java classes with set & get methods for every request parameter.
You can either use Jrun or Tomcat to run your application. Create your application under the webapps directory in Tomcat & you should be set.
Originally posted by Sean Casey:
Thanks alot. I already have the j2ee in my class path, and I have tomcat running. Does this mean I can develop javabeans?(I know nothing about them), or should I use jrun?

Sean Casey
Ranch Hand

Joined: Dec 16, 2000
Posts: 625
Thanks for all your help,

I'm sorry about all the ambiguous questions. I was under the assumption that java beans had to be developed in a special way, and in a different environment than typical java classes. I understood that they were made up of set and get methods. Maybe I'm crazy. I don't know where I get these ideas in my head.
Thanks for your help.
 
 
subject: Jrun vs J2ee