Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Servlet-Interview-Questions Deploying Servlet in Weblogic 9.2
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


Rajendra
Deploying Servlet in Weblogic 9.2
1 Answer(s)      5 years and 8 months ago
Posted in : Servlet Interview Questions



Advertisement
View Answers

February 2, 2009 at 11:57 PM


Hi friend,


Develop servlets

Servlets were designed to allow for extension of a server providing any service. Currently, however, only HTTP and JSP page servlets are supported. In the future, a developer may be able to extend an FTP server or an SMTP server using servlets.


Generic servlets

A servlet extends a server's functionality by offering a specific service within a well-defined framework. It is a small piece of Java code -- often just a single class -- that provides a specific service. For example, an HTTP servlet may provide a bank customer with details of her recent deposits and withdrawals. Another HTTP servlet could allow a customer to view, and even edit, his mailing address.

To deploy a servlet usually requires configuration of the hosting server application. When the server encounters a particular type of request, it invokes the servlet, passing to it details about the request and a response object for returning the result.

All servlets implement the javax.servlet.Servlet interface either directly -- in the case of generic servlets -- or indirectly, in the case of HTTP or JSP servlets. The javax.servlet.Servlet interface's important methods include:

* init(): Defines any initialization code that should be executed when the servlet loads into memory.
* service(): The main method called when the servlet receives a service request. It defines the bulk of the processing logic provided by the servlet.
* destroy(): Defines any clean-up code required before removing the servlet from memory.


When the servlet container first loads a servlet it invokes the servlet's init() method to initialize the servlet. Then, as requests are made to execute the servlet, the servlet container repeatedly invokes the servlet's service() method to provide the required service. Finally, when the servlet container no longer needs the servlet, it invokes the servlet's destroy() method and unloads it from memory. Note that during the lifetime of a single servlet instance, the init() and destroy() methods will be invoked only once, whereas the service() method will be invoked many times -- once each time a request is made to execute the servlet.

JSP Page servlets are mostly of interest to implementers of JSP containers and are beyond the scope of this article. Rather, we now go on to look specifically at HTTP servlets.

--------------------------------------------------------

Visit for more information:

http://www.roseindia.net/struts/

http://www.roseindia.net/servlets/

Thanks.


Related Tutorials/Questions & Answers:
Deploying Servlet in Weblogic 9.2 - Servlet Interview Questions
Deploying Servlet in Weblogic 9.2   Hi Friend thanks in advance, can u give me steps for deploying servlet using weblogic server 9.2
Deploying Servlet in Weblogic 9.2 - Servlet Interview Questions
Deploying Servlet in Weblogic 9.2  Hi Friends, I am new to web application, can u explain briefly wat is "Deploying a .war,.jar,.ear files.... Generic servlets A servlet extends a server's functionality by offering
Advertisements
Issue when deploying mdb jar in weblogic
Issue when deploying mdb jar in weblogic  Hi, I have written the code to read messages from queue.But when i deploy this in weblogic 9.2 after... weblogic-ejb-jar.xml MyMdb 10 10
Deploying Weblogic Server in MyEclipseBlue6.6 - IDE Questions
Deploying Weblogic Server in MyEclipseBlue6.6  Hi I am facing some problem in deploying "weblogicserver8.1" in my "MyEclipseBlue6.6".Please provide me detailed path of BEA home directory, Web logic Installation directory
servlet with weblogic
servlet with weblogic  hi everyone.... When I'm running this program on weblogic server8.1 import java.io.*; import java.sql.*; import... javax.servlet.ServletException: Servlet class: 'DataInsertion' couldn't
Servlet using Weblogic 8.1
Servlet using Weblogic 8.1  I am developing a simple application in servlet, Which will accept a name and after produce the name with Welcome Message. I am using Weblogic 8.1. My Html Page is <html> <head>
Deployment Steps in Weblogic Server - Development process
Deployment Steps in Weblogic Server  Hi Friends, Can anyone give me steps for Deploying application in web logic server ( both versions 8.1 and 9.2 ) with Eclipse IDE
Weblogic - EJB
Weblogic  How can i download the weblogic sever of application develop could u provide the link for that.  Hi friend, Download the weblogic sever of application visit to : http://www.roseindia.net/javabeans
Weblogic Hot Deployment - Development process
Weblogic Hot Deployment  How to do auto-deployment on weblogic 9.2... to restart the Weblogic server, whcih I dont like doing. My problem is, that I... in Weblogic only for "CoreBO.jar" Thanks in advance . Amit Jain  http
weblogic server
weblogic server  as a java developer how much knowledge he has to know about the weblogic sever,if one know please give me reply   WebLogic is a server software application that runs on a middle tier, between back-end
Buy SuSe 9.2 Live CDs in India from us. Suse 9.2 Live is available with us.
SuSe 9.2 Live Linux Now Available SuSe 9.2 Live CD's SuSe Linux 9.2....   SuSe Linux 9.2 Live Linux has excellent hardware detection capabilities... environment and supports English and German languages. The complete SuSE 9.2
Deploying and testing Stateless Session Bean
Deploying and testing Stateless Session Bean... ear file. We will deploy our application using WebLogic console. Building ear...;project name="WebLogic Tutorials" default="all" basedir=".">
Buy SuSe 9.2 Professional CDs in India from us. SuSe 9.2 Professional is available with us.
SuSe 9.2 Professional Linux Now Available SuSe 9.2 Professional CD's SuSE Linux 9.2 is secure and stable. Its installation routine is now almost fully automated, so you'll be up and running with little effort. The new SuSE Linux 9.2
weblogic 9.1 - WebSevices
weblogic 9.1  How to working on weblogic server ??? how to deploy on weblogic server ???? how to retrieve data for te server ???? differt bettw weblogic 8.1 ,9.1 & 10
websphere vs weblogic
websphere vs weblogic  websphere vs weblogic Why you are using websphere instead of weblogic
Weblogic server - Java Beginners
Weblogic server  how can we create connection poolong in weblogic 9.1 application server
DEVELOPING & DEPLOYING A PACKAGED EJB
DEVELOPING & DEPLOYING A PACKAGED EJB (WEBLOGIC-7) & ACCESSING IT BY A PACKAGED SERVLET (TOMCAT4.1)      ...' is very important in Enterprise Java. Compiling and Deploying such packaged servlets
Deployment steps in weblogic 102 - Development process
Deployment steps in weblogic 102   Hi Friends, can u give me d deployment steps in weblogic server 10.2(both jsp and servlet ..... how to export war file?) ..Thank u in advance
Related to weblogic server8.1
Related to weblogic server8.1  hi Everybody, i have write a simple servlet program and deploy on weblogic8.1 server. when I'm running this app. when...=firstApp,context-path=/firstApp)]: Servlet class WelcomeServlet for servlet s1
Running and deploying Tomcat Server
Running and deploying Tomcat Server  HI Somebody has given... described below I want to run a simple program on servlet and the application... for servlet is like this Apache Software Foundation/Tomcat 5.0/webapps/ i created
Dumps related to weblogic certification
Dumps related to weblogic certification   I want to perform the weblogic certification exam code 1z0-110. Can anybody please provide me the dumps related to 1z0-110 Thanks in advance
Regarding weblogic portal
Regarding weblogic portal  Hi, My name is Ramanuja.i am working on weblogic portal.if u know any info regarding plz provide the materials or information to me.plz help me. Thanks in advance
weblogic portal 10.3
weblogic portal 10.3  Hi , Please let me know what are good websites for learning step by step Weblogic Portal 10.3. Thanks Ramanuja
servlets deploying - Java Beginners
servlets deploying  how to deploy the servlets using tomcat?can you please explain the total deploying and executing process?  Hi friend...(""); out.println("Deploy Servlet Example"); out.println(""); out.println
Java_Weblogic - Development process
Java_Weblogic  How to run as service bea weblogic server on unix mode
Weblogic portal - Framework
Weblogic portal  Hi all, Please let me know what are good websites for learning step by step Weblogic Portal 10.3. Thanks Manoj  Hi Friend, Please visit the following link: http://www.roseindia.net
Upload Code error on deploying
Upload Code error on deploying  on deploying the above code as it is said it is giving error that " No getter method for property thefile of bean org.apache.struts.taglib.html.BEAN " Error 500--Internal Server Error
WebServices deployment in Weblogic - WebSevices
WebServices deployment in Weblogic  Hi, I want to create a service using Axis2 and deploy the service in Weblogic, along with my application war file. What is the common practice? Thanks in Advance, VJ
what is the Difference between weblogic and jboss?
what is the Difference between weblogic and jboss?  what is the Difference between weblogic and jboss
WEBLOGIC - Java Beginners
WEBLOGIC  DEAR SIR, HOW TO RUN THE PROGRAMS IN WEBLOGIC AND TELL HOW TO GIVE ENVIRONMENTAL PATH IN CPNTROLPANNEL.   Hi Friend, Please visit the following link: http://www.roseindia.net/javabeans/javabeans.shtml
 

 

 

DMCA.com