permaculture playing cards
The moose likes Servlets and the fly likes j2sdk runs Servlets???  Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "j2sdk runs Servlets???  " Watch "j2sdk runs Servlets???  " New topic

j2sdk runs Servlets???

Leandro Oliveira
Ranch Hand

Joined: Nov 07, 2002
Posts: 298
Does the j2sdk has a tool for running servlets??? and how can I make a ServerSocket that would hear to a Internet Explorer or netscape request???
if I do:
ServerSocket socket=new ServerSocket(8080,100)
and than start the application, if I write in IE
I noticed that my socket can get a connection. But I could not get the requested URL, which was writen in the browser.Is there a solution???
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13036
J2SDK has the standard and classes - all you need to create sockets and open HttpConnections. However, if you want support for servlets, you need classes that are not in the standard libraries. The reference version of the servlet classes is provided by Tomcat. Downloadable from and also part of the Sun's web services package downloadable from
Hafizur Rahman
Ranch Hand

Joined: Sep 05, 2002
Posts: 98
J2SDK is onely the APIs to expose the publicly known methods/functionality of servlets,jsp, ejb etc. But for working you need an implemented version of these APIs. Tomcat , JBoss are some of the implementations.

SCJP 2(94%), SCBCD 5.0(86%), SCDJWS(86%), SCEA 5 (I-73%, II/III-88%)
The illiterate of the 21st century will not be those who cannot read and write, but those who cannot learn, unlearn, and relearn. - Alvin Toffler
I agree. Here's the link:
subject: j2sdk runs Servlets???
It's not a secret anymore!