We can override service method. but we should not override it. why????
pinkye
Jan 11th, 2007
You should NOT override the service() method.Your job is to override the doGet() and/or doPost methods and let the service () implementation from HTTPServlet worry about calling the right one.
If you decare a null/tagged/marked interface then its give some information about jvm that information is its going to be serializable.and this interface doesn't have any methods.
venu
Mar 27th, 2006
We have runnable interface that is also a marker interface but it is haveing run method.what about that
JNDI is a service which is offered by the servers like Weblogic etc.We can make any business or entitiy components which are reusable across different applications to be available to any type of clien...
Before servlet used to technology cgi....but cgi have a drawback...cgi throw send requests to web server..then web server make process for one request...thats why processor not response to the client.....servlet is share comman memory area...this is different between servlet and cgi...
Amit Udiya
Feb 28th, 2012
Each time whenever a request comes to a CGI from server,it opens a new connection for that request.If a number of clients make request to the same serve,CGI will open a new connection to serve their r...
hi,I apprciate ur answer,if u know jsp then tell me in jsp if there is include directive element then why they have provided include action element. &nbs...
Threre are two types of References available in Java. 1.Interface references.2.Class references.Interface references:The interface references are used to implement runtime polymorphis...
The primary difference is that local transaction are single JVM level while global transaction are at multiple JVM level and hence global transactions need different design approach [which can be clas...
A transaction is atomic unit of Work.The tasks which are made into the transaction act as a unit which can be executed successfully all,or if at least one task fails to its promise ,then the effect of...
As we know that applets has many restrictions on the remote machine on which they are executed.But they can make connections to the server from which they have been originated.As the database obviousl...