The Artima Developer Community
Sponsored Link

Java Answers Forum
Servlets in Iplanet Application Server

2 replies on 1 page. Most recent reply: Dec 5, 2002 9:17 PM by Carl

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 2 replies on 1 page
Sreekanth

Posts: 9
Nickname: sree
Registered: Nov, 2002

Servlets in Iplanet Application Server Posted: Dec 5, 2002 2:24 AM
Reply to this message Reply
Advertisement
hi,
In what way i can run servlets using Iplanet Application Server. Which directory should i put servlet class files and how should i run it in a browser. Please help me out anyone
Thank You
Sree


Carl

Posts: 3
Nickname: sojourner
Registered: Dec, 2002

Re: Servlets in Iplanet Application Server Posted: Dec 5, 2002 9:16 PM
Reply to this message Reply
One thing is to check out the J2EE spec. (Learn it well!!)
This will describe your enterprise application.
Start looking at your web.xml file (servlet stuff is there)
This contains all your deployment descriptor info.
Then there will be a vendor specific xml file like iasblahblah.xml, This will contain guid mappings to servlets, those guids must be unique. Those guids are specific to iPlanet. To generate go to its bin directory type kguidgen.exe enter, copy and paste that guid apply to the xml entry in that file for the new servlet (do this for every new servlet).

Know how to build an ear file.

WEB-INF\lib - contain all your jars (if you have any)
.
.
.
servlets
your xml deployment descriptor stuff.

ear your files.... (use Ant to make for ease of packaging)

Then type iasdeploy -deployapp yourear.ear

If steps are missing go to this page:

http://docs.sun.com/source/816-5769-10/index.html


Later

Carl

Posts: 3
Nickname: sojourner
Registered: Dec, 2002

Re: Servlets in Iplanet Application Server Posted: Dec 5, 2002 9:17 PM
Reply to this message Reply
One thing is to check out the J2EE spec. (Learn it well!!)
This will describe your enterprise application.
Start looking at your web.xml file (servlet stuff is there)
This contains all your deployment descriptor info.
Then there will be a vendor specific xml file like iasblahblah.xml, This will contain guid mappings to servlets, those guids must be unique. Those guids are specific to iPlanet. To generate go to its bin directory type kguidgen.exe enter, copy and paste that guid apply to the xml entry in that file for the new servlet (do this for every new servlet).

Know how to build an ear file.

WEB-INF\lib - contain all your jars (if you have any)
.
.
.
servlets
your xml deployment descriptor stuff.

ear your files.... (use Ant to make for ease of packaging)

Then type iasdeploy -deployapp yourear.ear

If steps are missing go to this page:

http://docs.sun.com/source/816-5769-10/index.html


Later

Flat View: This topic has 2 replies on 1 page
Topic: Java applets and security Previous Topic   Next Topic Topic: the inheritance and polymorphism

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use