Jump to content
xisto Community
vitrus

Jsp Application Design servlets? beans? or classes?

Recommended Posts

Hi all, I just started working with JSP and never really used basic servlets before.my problem is currently how to deploy a simple webapp? Some people include servlets, others use beans, (or taglib which looks kind of the same to me).I started with compiling java classes and including them (which did work, untill some point where I started working with sessions and stuff...)..Whats best to use? and when? Is it okay to use em all together? And does anyone has a good referencce...

Share this post


Link to post
Share on other sites

Well classes are the best way yes indeed...But using beans is just a special way of initiating your class....And a servlet is a class that extends a certain deffault class....So beans and servlets .. are classes ^_^ and I still do not know what is best...(simply using classes without extending anything is quite hard when you start working with sessions and stuff)...

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.