PDA

Click to See Complete Forum and Search --> : Java Servlet Example


billrogers
May 2nd, 2001, 11:33 AM
Hey all,

I am trying to learn a little about servlets, but am too cheap to go buy a book, does anyone have some good sites for example code of servlets?

Thanks

VirtuallyVB
May 3rd, 2001, 04:30 PM
Check out http://allaire.com/ and their JRun (evaluation) product http://allaire11.allaire.com/download/showfamily.cfm?DownloadType=Evaluation&FamilyID=1953B5EC-7AC0-11D4-849E0010B547F60A . There are samples for servlets and jsp and ejb.

Or get a good deal (you will pay something): I picked up 4 books for about $20 total (after S&H, tax, etc.), from a customized get 3 for $1.99 and 1 free (total 4) from lcis.booksonline.com/lcis . Each book was worth at least $20 (I think even more than $20 each).

Or visit a book store or library. By the time I finish this post, I will have written enough characters for a servlet example. Too bad I don't have one in front of me. I think one of the books from lcis was Java Developer Servlets and JSP or some such http://shop.barnesandnoble.com/booksearch/isbnInquiry.asp?userid=19CGWJWS52&mscssid=T9KU95ET3AC99JKT66PQPBB5A2EU63Q2&isbn=0782128092 . I heard "Instant JavaServer Pages" isn't that good http://shop.barnesandnoble.com/booksearch/isbnInquiry.asp?userid=19CGWJWS52&mscssid=T9KU95ET3AC99JKT66PQPBB5A2EU63Q2&isbn=0072126019 .

For strictly free, I'd recommend JRun. After installation, you can browse html to get to the samples in pdf and look at source in a directory like this one D:\Program Files\Allaire\JRun\servers\default\demo-app\WEB-INF\classes

The doXXX methods is where the action is. Unfortunately, this attachment doesn't show the doXXX methods. But the JRun evaluation would.

sweetsupra
May 3rd, 2001, 05:43 PM
Hey Bill,

There are couple sites, but it tends to mesh servlets with jsp...
sites:

1) www.jspin.com
2) www.archive.coreservlets.com
3) www.apl.jhu.edu/~hall/java/Servlet-Tutorial/Servlet-Tutorial-JSP.html
4) www.bitafterbit.com/english/java/servlet/index.html
5) http://java.rrzn.uni-hannover.de/jug/servlets/tutorial/servlet_tutorial.html


these are some of the sites, when i did a search on yahoo...some it is useful...the first one is more interactive site...more than a tutorial...

these sites might help aside from you buying any books(sorry).

Books..i have 3 books...
1) oreilly's servlet programming...
2) Developing Java Servlets
3) Java Servlets

I got alot of computer books for cheap when i was in india...
most expensive book i got was oracle 8i(really big one) for about 10 dollars(it was the latest edition too).

Manoj

VirtuallyVB
May 4th, 2001, 09:30 AM
Hey sweetsupra,
Nice links. (I only checked out the 3rd one and found what I was trying to show Bill at http://www.apl.jhu.edu/~hall/java/Servlet-Tutorial/Servlet-Tutorial-Form-Data.html ).

Anyway, were you the one that posted about making executables from class files?

Also, could you take a look at http://forums.vb-world.net/showthread.php?s=&threadid=69087 regarding tweaking the VM?

billrogers
May 4th, 2001, 10:23 AM
thanks for the posts guys the links are great and I will take a look at the books...

Bill

sweetsupra
May 7th, 2001, 12:30 PM
Hey VirtuallyVB,

my recent post was regarding taking data from a xml file. I posted something about tweaking VM in that respective thread:)


Manoj