What Are Servlets?

I have a beginning java book which has a whole chapter devoted to servlets, but it does a lousy job explaining what they are or how to use them. Could someone tell me what a servlet is and how to make and use them?

Servlets are Java programs that run on Servers. Similar to MS's COM and COM+ architecture and usage, servlets can do anything that a normal applet can do, though it has to be ran from inside a server container (Apache Tomcat for example). Servlets can take parameters just like normal applications though they are done through HTTP GET and POST strings( usually)
More of the common places for finding them is paired w/ JSP sites and also as a data controller in a MVC and n-tier designs.

Similar Messages

  • What are servlet capabilities?

    am new to servlets, am just wondering if a servlet supports all the following:
    - query string keys.
    - form post keys.
    - cookies.
    - session management.
    - server side caching (accessible object among all requests) .
    - returning a binary file (attachment).
    - and all other standard features in any server side scripting language.
    regarding the server caching, is it possible to set an age (timeout) for the cache?

    BalusC wrote:
    JoachimSauer wrote:
    gimbal2 wrote:
    a servlet can do whatever HTTP can do and any servlet engine can handle sessions. So that is yes to all items.Slightly off-topic: Has anyone ever seen a non-HTTP Servlet?
    Because the existence of javax.servlet.Servlet and javax.servlet.http.HttpServlet seems to imply that there was at some point the idea that Servlets for other protocols would be possible/useful. Has anyone seen a javax.servlet.Servlet that was not a javax.servlet.http.HttpServlet?Portlets.i've heard of people extending Servlet to create an FtpServlet, but i've never seen the source or deployment.
    %

  • What are System.in/out/err for servlets?

    While porting some command-line code to a servlet I ran into a problem where the servlet would hang trying to read from System.in. I will obviously need to fix that, but it got me wondering, what are System.in, System.out, and System.err for servlets? Do any of them have a use?
    Thanks
    Michael

    System.in doesn't have a use because it doesn't make sense for a servlet to read from it. The other two are still usable, and generally the application server maps them to a log file somewhere.

  • What are the new features added into servlet 2.5 ??

    Hi,
    i wanted to know that apart from annotation support what are other features are supported by servlet 2.5 ?
    does NIO,Continuations suported by servlet 2.5?
    Thanks,

    Hello,
    This link should give you some more informations.
    http://www.javaworld.com/javaworld/jw-01-2006/jw-0102-servlet.html?page=1
    They talk about NIO on page 6.
    Regards,
    Sebastien Degardin

  • What are the new / correct URLs for the Servlet / Persistence XSD ?

    Hi,
    the URLs: http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd
    http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd
    Do not work anymore and you constantly get annoying validation errors in all XSD validating IDE's.
    What are the new URLs now? I could not find any related document or article in the internet.
    Thanks!
    Sebastian

    you should never rely on remote resources for xml validation. you should always have them locally.

  • What are the major scenarios to customize DAF pipeline ?

    Hi,
    In which purpose DAF pipeline need to be customized.
    Please tell me what are scenarios to customize the DAF pipeline.
    Thanks In Advance.

    Some of the probable scenarios where we might want to customize the DAF pipeline: autologin based on a custom logic; implementing SSO; to set some request attributes based on request URI and/or parameters which can be used by the subsequent servlets/filters or other components; detect device type based on user-agent and other parameters/attributes; trigger a custom event on some action like page view etc.

  • R12 plsql web toolkit disabled - what are the alternatives?

    We have developed a fair amount of add-on applications in our e-business suite using the plsql web toolkit (htp). This functionality has been disbaled in R12.
    My question to Oracle, "What is the work around for using applications we developed in 11i that were developed using the plsql web toolkit?
    Oracel response:
    R12 does not support WWK fucntions.
    You will need to recreate these as custom JSP pages.
    The pl/sql toolkit in the Apache Server is disabled in R12 as a security precaution.
    1. What are other people doing who have encountered this issue?
    2. Is it possible to enable the pl/sql toolkit in the apache server? If for nothing else than to buy time until these apps are re-written as jsp apps.
    3. Is anyone doing something other than jsp? i.e. SSWA Servlet Function?
    Any help or suggestions appreciated.

    Pl see if this link can help - http://blogs.oracle.com/stevenChan/2008/07/new_whitepaper_mod_plsql_and_e_1.html
    HTH
    Srini

  • PLSQL Web Tool Kit (HTP) disabled in R12 - What are the alternitives

    We have developed a fair amount of add-on applications in our e-business suite using the plsql web toolkit (htp). This functionality has been disbaled in R12.
    My question to Oracle, "What is the work around for using applications we developed in 11i that were developed using the plsql web toolkit?
    Oracel response:
    R12 does not support WWK fucntions.
    You will need to recreate these as custom JSP pages.
    The pl/sql toolkit in the Apache Server is disabled in R12 as a security precaution.
    1. What are other people doing who have encountered this issue?
    2. Is it possible to enable the pl/sql toolkit in the apache server? If for nothing else than to buy time until these apps are re-written as jsp apps.
    3. Is anyone doing something other than jsp? i.e. SSWA Servlet Function?
    Any help or suggestions appreciated.

    Pl see your duplicate post here - R12 plsql web toolkit disabled - what are the alternatives?
    Srini

  • PLSQL Web Toolkit disabled in R12 - What are the alternatives?

    We have developed a fair amount of add-on applications in our e-business suite using the plsql web toolkit (htp). This functionality has been disbaled in R12.
    My question to Oracle Support was , "What is the work around for using applications we developed in 11i that were developed using the plsql web toolkit?
    Oracle response:
    R12 does not support WWK fucntions.
    You will need to recreate these as custom JSP pages.
    The pl/sql toolkit in the Apache Server is disabled in R12 as a security precaution.
    1. What are other people doing who have encountered this issue?
    2. Is it possible to enable the pl/sql toolkit in the apache server? If for nothing else than to buy time until these apps are re-written as jsp apps.
    3. Is anyone doing something other than jsp? i.e. SSWA Servlet Function?
    Any help or suggestions appreciated.

    Steven, this is a re-post of a question I asked in your article
    http://blogs.oracle.com/stevenChan/2006/11/mod_plsql_not_supported_in_ebu.html
    (great stuff btw)
    Hoping others may see this and have some input as well. So.....
    As means to buy some time while we learn how to redevelop our existing extensions in the R12 OA Framework as jsp, we are exploring using mod_plsql on a separate Oracle Application Server 10g installation to extend the life of our applications written using the pl/sql web toolkit.
    So here is my question: How do you integrate applications using this seperate mod_plsql into R12's security since it does not allow you to register a function type WWK (SSWA plsql function)? i.e registering as an EBS function then adding to a menu and so on.
    Do you still register the function as a WWK (SSWA plsql function) and enter a fully qualified url to the mod_plsql pkg.proc in the Web HTML tab?
    Thanks for any comments.

  • What are the Things required for BI 7.0 Implementation project

    Hi Friends,
                      Can any one suggest me
    1.What are the Things required for BI 7.0 Implementation project?
    2.System Configurations & Hardware Components?
    3. Any additional steps...
    plz suggest me.
    Regards

    Hi lakshmi,
    http://csc-studentweb.lrc.edu/swp/Berg/articles/PM_2006_upgrade_NW2004s_Bjarne_Berg_v12.ppt#426,3,Why Upgrade u2013 end of supportu2026
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b8d163a7-0301-0010-d9b0-98f692ea3c60
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/2e8e5288-0b01-0010-2ea8-bcd4df5084a7
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/472443f2-0c01-0010-20ab-fbd380d45881
    https://wiki.sdn.sap.com/wiki/x/JYk
    Check the following links.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/84bf4d68-0601-0010-13b5-b062adbb3e33
    check the following
    http://help.sap.com/bp_biv235/BI_EN/html/bw.htm
    business content
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/g-i/how%20to%20co-pa%20extraction%203.0x
    https://websmp203.sap-ag.de/co
    http://help.sap.com/saphelp_nw04/helpdata/en/37/5fb13cd0500255e10000000a114084/frameset.htm

  • What are the differnet type of tables in mdm ?

    hi experts i am new to mdm. just i have refered some documents in that the have created some table and fileds ,taxnomy,lokups,.......
    so can any one give me the bref ida on
    what is mdm ?
    what are the different type of tables in mdm ? What is the requirement for the selection of table?
    what is a feld ? what are the diff type of fealds in mdm ? And requriement ?
    what is taxnomay ? And Requriement or where or when we can use ?
    what is lookups in mdm ? what is lookup tables in mdm ?
    what is mdm console ?
    what is mdm data manager. ?
    what is mdm import manager ?
    what is mdm syndicator ?
    please any body answer this questions .

    Hello Praveen,
    Below are the the all possible links of books,articles... etc for MDM.
    http://hosteddocs.ittoolbox.com/RD021507b.pdf
    demo
    http://www.sap.com/community/int/innovation/esoa/demo/MDM_demo/index.html
    http://www.asug.com/DesktopModules/Bring2mind/DMX/Download.aspx?TabId=66&DMXModule=370&Command=Core_Download&EntryId=3431&PortalId=0
    MDM
    http://www.asug.com/DesktopModules/Bring2mind/DMX/Download.aspx?TabId=66&DMXModule=370&Command=Core_Download&EntryId=1666&PortalId=0
    SAP Netweaver MDM Overview
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b09b548d-7316-2a10-1fbb-894c838d8079
    SAP NETWEAVER MDM Leverage MDM in ERP Environments - An Evolutionary Approach -
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/4059f477-7316-2a10-5fa1-88417f98ca93
    Master Data Management architecture patterns
    http://www-128.ibm.com/developerworks/db2/library/techarticle/dm-0703sauter/
    MDM and Enterprise SOA
    http://www.saplounge.be/Files/media/pdf/Lagae---MDM-and-Enterprise-SOA2007.10.10.pdf
    Effective Hierarchy Management Using SAP NetWeaver MDM for Retail
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70ee0c9e-29a8-2910-8d93-ad34ec8af09b
    MDM World
    http://mdm.sitacorp.com/
    MDM: Master Data for Global business
    http://www.sitacorp.com/mdm.html
    MDM Master Data Management Hub Architecture
    http://blogs.msdn.com/rogerwolterblog/archive/2007/01/02/mdm-master-data-management-hub-architecture.aspx
    Improve Efficiency and Data Governance with SAP NetWeaver MDM
    http://www.sapnetweavermagazine.com/archive/Volume_03_(2007)/Issue_02_(Spring)/v3i2a12.cfm?session=
    Data Modeling i MDM
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5d4211fa-0301-0010-9fb1-ef1fd91719b6
    http://www.sap.info/public/INT/int/index/Category-28943c61b1e60d84b-int/0/articlesVersions-31279471c9758576df
    SRM-MDM Catalog
    http://help.sap.com/saphelp_srmmdm10/helpdata/en/44/ec6f42f6e341aae10000000a114a6b/frameset.htm
    http://events.techtarget.com/mdm-ent/?Offer=DMwn716mdm
    http://viewer.bitpipe.com/viewer/viewDocument.do?accessId=6721869
    http://searchdatamanagement.bitpipe.com/data/search?site=sdmgt&cr=bpres&cg=VENDOR&sp=site_abbrev%Asdmgt&cp=bpres&st=1&qt=MasterDataManagement
    http://viewer.bitpipe.com/viewer/viewDocument.do?accessId=6721819
    http://www.dmreview.com/channels/master_data_management.html
    http://searchdatamanagement.techtarget.com/originalContent/0,289142,sid91_gci1287620,00.html?bucket=NEWS&topic=307330
    MDM Console -- http://help.sap.com/saphelp_mdmgds55/helpdata/en/88/9f9c427055c66ae10000000a155106/frameset.htm
    MDM Import manager --http://help.sap.com/saphelp_mdmgds55/helpdata/en/43/120367f94c3e92e10000000a1553f6/frameset.htm
    MDM DataManager --http://help.sap.com/saphelp_mdmgds55/helpdata/en/43/e0615a82b40a2ee10000000a11466f/frameset.htm
    MDM Syndicator --http://help.sap.com/saphelp_mdmgds55/helpdata/EN/43/5fe0e8a55f5f6be10000000a1553f6/frameset.htm
    Rgds
    Ankit

  • What are the diffrences among J2SE,J2EE, and J2ME ?

    Could one explain me..what are these terms and terms like JDK,SDK and what are the diffrences and similarities.I have installed J2sdk1.4.1 in my computer.I have written some programs and run them.Applets too.What are the extra benifits that I can take if I install J2EE.In other words what are the things that J2SDK is lacking when compared to J2EE?
    Please explain..I am quite new to java.
    Regards..Saman

    J2ME - Java 2, Micro Edition.
    This is a specification, a developement platform for Java enable device, it is mostly for mobile devices,such as PDA, handphone.
    J2SE - Java 2, Standard Edition
    This is a specification, a developement platform for developing standard service, which is software. Such as graphic user interface, input output device, applet and more.
    J2EE - Java 2 Enterprise Edition.
    This is a specification, a developement platform for enterprise system, server side program. and examnple is Java Server Page, Java Servlet, Enterprise Java Bean and more.

  • What are the steps to migrate j2ee project from version 1.4 to 1.6

    Hi All,
    What are the steps to migrate java project from version1.4 to 1.6 and weblogic 9 to 12c.
    Currently my application(java version1.4) is running on weblogic 9, i want to migrate it to weblogic 12c, what are the major steps i have to follow.
    Please anyone of you help me as soon as possible.
    Thanks,
    Yugandhar.G

    Hi Jeet,
    The following are the logs for exception.
    <Dec 13, 2012 12:04:52 PM CST> <Warning> <Socket> <BEA-000449> <Closing the socket, as no data read from it on 0:0:0:0:0:0:0:1:52,370 during the configured idle timeout of 5 seconds.>
    <Dec 13, 2012 12:07:14 PM CST> <Warning> <Deployer> <BEA-149251> <Operation Remove failed for application "tcs". Error: java.lang.NullPointerException
    java.lang.NullPointerException
         at weblogic.servlet.internal.WebAppModule.remove(WebAppModule.java:851)
         at weblogic.application.internal.flow.ModuleStateDriver$4.previous(ModuleStateDriver.java:236)
         at weblogic.application.internal.flow.ModuleStateDriver$4.previous(ModuleStateDriver.java:223)
         at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:148)
         at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:138)
         Truncated. see log file for complete stacktrace
    Caused By: java.lang.NullPointerException
         at weblogic.servlet.internal.WebAppModule.remove(WebAppModule.java:851)
         at weblogic.application.internal.flow.ModuleStateDriver$4.previous(ModuleStateDriver.java:236)
         at weblogic.application.internal.flow.ModuleStateDriver$4.previous(ModuleStateDriver.java:223)
         at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:148)
         at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:138)
         Truncated. see log file for complete stacktrace
    >
    <Dec 13, 2012 12:07:14 PM CST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID "1355371555961" for task "1". Error is: "java.lang.ArrayIndexOutOfBoundsException: 8"
    java.lang.ArrayIndexOutOfBoundsException: 8
         at com.bea.objectweb.asm.ClassReader.readUnsignedShort(Unknown Source)
         at com.bea.objectweb.asm.ClassReader.<init>(Unknown Source)
         at com.bea.objectweb.asm.ClassReader.<init>(Unknown Source)
         at weblogic.application.utils.annotation.ClassInfoImpl.<init>(ClassInfoImpl.java:44)
         at weblogic.application.utils.annotation.ClassfinderClassInfos.polulateOneClassInfo(ClassfinderClassInfos.java:145)
         Truncated. see log file for complete stacktrace
    Caused By: java.lang.ArrayIndexOutOfBoundsException: 8
         at com.bea.objectweb.asm.ClassReader.readUnsignedShort(Unknown Source)
         at com.bea.objectweb.asm.ClassReader.<init>(Unknown Source)
         at com.bea.objectweb.asm.ClassReader.<init>(Unknown Source)
         at weblogic.application.utils.annotation.ClassInfoImpl.<init>(ClassInfoImpl.java:44)
         at weblogic.application.utils.annotation.ClassfinderClassInfos.polulateOneClassInfo(ClassfinderClassInfos.java:145)
         Truncated. see log file for complete stacktrace
    >
    <Dec 13, 2012 12:07:14 PM CST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application "tcs".>
    <Dec 13, 2012 12:07:14 PM CST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    java.lang.ArrayIndexOutOfBoundsException: 8
         at com.bea.objectweb.asm.ClassReader.readUnsignedShort(Unknown Source)
         at com.bea.objectweb.asm.ClassReader.<init>(Unknown Source)
         at com.bea.objectweb.asm.ClassReader.<init>(Unknown Source)
         at weblogic.application.utils.annotation.ClassInfoImpl.<init>(ClassInfoImpl.java:44)
         at weblogic.application.utils.annotation.ClassfinderClassInfos.polulateOneClassInfo(ClassfinderClassInfos.java:145)
         Truncated. see log file for complete stacktrace
    Caused By: java.lang.ArrayIndexOutOfBoundsException: 8
         at com.bea.objectweb.asm.ClassReader.readUnsignedShort(Unknown Source)
         at com.bea.objectweb.asm.ClassReader.<init>(Unknown Source)
         at com.bea.objectweb.asm.ClassReader.<init>(Unknown Source)
         at weblogic.application.utils.annotation.ClassInfoImpl.<init>(ClassInfoImpl.java:44)
         at weblogic.application.utils.annotation.ClassfinderClassInfos.polulateOneClassInfo(ClassfinderClassInfos.java:145)
         Truncated. see log file for complete stacktrace
    >
    <Dec 13, 2012 12:07:17 PM CST> <Error> <Console> <BEA-240003> <Administration Console encountered the following error: weblogic.application.WrappedDeploymentException: 8
         at com.bea.objectweb.asm.ClassReader.readUnsignedShort(Unknown Source)
         at com.bea.objectweb.asm.ClassReader.<init>(Unknown Source)
         at com.bea.objectweb.asm.ClassReader.<init>(Unknown Source)
         at weblogic.application.utils.annotation.ClassInfoImpl.<init>(ClassInfoImpl.java:44)
         at weblogic.application.utils.annotation.ClassfinderClassInfos.polulateOneClassInfo(ClassfinderClassInfos.java:145)
         at weblogic.application.utils.annotation.ClassfinderClassInfos.populateClassInfos(ClassfinderClassInfos.java:137)
         at weblogic.application.utils.annotation.ClassfinderClassInfos.<init>(ClassfinderClassInfos.java:28)
         at weblogic.application.utils.annotation.AnnotationMappingsImpl.loadAnnotatedClasses(AnnotationMappingsImpl.java:69)
         at weblogic.application.internal.ApplicationContextImpl.processAnnotationMappings(ApplicationContextImpl.java:985)
         at weblogic.application.internal.ApplicationContextImpl.getAnnotatedClasses(ApplicationContextImpl.java:1010)
         at weblogic.j2ee.managedbean.ManagedBeanModuleExtensionFactory.create(ManagedBeanModuleExtensionFactory.java:43)
         at weblogic.servlet.internal.WebAppModule.initModuleExtensions(WebAppModule.java:562)
         at weblogic.servlet.internal.WebAppModule.init(WebAppModule.java:271)
         at weblogic.servlet.internal.WebAppModule.init(WebAppModule.java:636)
         at weblogic.application.internal.flow.ScopedModuleDriver.init(ScopedModuleDriver.java:162)
         at weblogic.application.internal.ExtensibleModuleWrapper.init(ExtensibleModuleWrapper.java:74)
         at weblogic.application.internal.flow.ModuleListenerInvoker.init(ModuleListenerInvoker.java:84)
         at weblogic.application.internal.flow.InitModulesFlow.initModule(InitModulesFlow.java:312)
         at weblogic.application.internal.flow.InitModulesFlow.initModules(InitModulesFlow.java:325)
         at weblogic.application.internal.flow.InitModulesFlow.prepare(InitModulesFlow.java:378)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:706)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:35)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:237)
         at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:61)
         at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:158)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:96)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:229)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
         at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    >

  • What are best practice for packaging and deploying j2EE apps to iAS?

    We've been running a set of J2EE applications on a pair of iAS SP1b for about a year and it has been quite stable.
    Recently however we have had a number of LDAP issues, particularly when registering and unregistering applications (registering ear files sometimes fails 1st time but may work 2nd time). Also We've noticed very occasionally that old versions of classes sometimes find their way onto our machines.
    What is considered to be best practice in terms of packaging and deployment, specifically:
    1) Packaging - using the deployTool that comes with iAS6 SP1b to package is a big manual task, especially when you have 200+ jsp files. Are people out there using this or are they scripting it with a build tool such as Ant?
    2) Deploying an existing application to multiple iAS's. Are you guys unregistering old application then reregistering new application? Are you shutting down iAS whilst doing the deployment?
    3) Deploying ear files can take 5 to 10 mins, is this normal?
    4) In a clustered scenario where HTTPSession is shared what are the consequences of doing deployments to data stored in session?
    thanks in asvance for your replies
    Owen

    You may want to consider upgrading your application server environment to a newer service pack. There are numerous enhancements involving the deployment tool and run time layout of your application that make clear where you're application is loading its files from.
    If you've at a long running application server environment, with lots of deployments under your belt, you might start to notice slow downs in deployment and kjs start time. Generally this is due to garbage collecting in your iAS registry.
    You can do several things to resolve this. The most complete solution is to reinstall the application server. This will guarantee a clean ldap registry. Of course you've got to restablish your configurations and redeploy your applications. When done, backup your application server install space with the application server and directory server off. You can use this backup to return to a known configuation at some future time.
    For the second method: <B>BE CAREFUL - BACKUP FIRST</B>
    There is a more exhaustive solution that involves examining your deployed components to determine the active GUIDS. You then search the NameTrans section of the registry searching for Applogic Servlet *, and Bean * entries that represent your previously deployed components but are represented in the set of deployed GUIDs. Record these older GUIDs, remove them from ClassImp and ClassDef. Finally remove the older entries from NameTrans.
    Best practices for deployment depend on your particular environmental needs. Many people utilize ANT as a build tool. In later versions of the application server, complete ANT scripts are included that address compiling, assembly and deployment. Ant 1.4 includes iAS specific targets and general J2EE targets. There are iAS specific targets that can be utilized with the 1.3 version. Specialized build targets are not required however to deploy to iAS.
    Newer versions of the deployment tool allow you to specify that JSPs are not to be registered automatically. This can be significant if deployment times lag. Registered JSP's however benefit more fully from the services that iAS offers.
    2) In general it is better to undeploy then redeploy. However, if you know that you're not changing GUIDs, recreating an existing application with new GUIDs, or removing registered components, you may avoid the undeploy phase.
    If you shut down the KJS processes during deployment you can eliminate some addition workload on the LDAP server which really gets pounded during deployment. This is because the KJS processes detect changes and do registry loads to repopulate their caches. This can happen many times during a deployment and does not provide any benefit.
    3) Deploying can be a lengthy process. There have been improvements in that performance from service pack to service pack but unfortunately you wont see dramatic drops in deployment times.
    One thing you can do to reduce deployment times is to understand the type of deployment. If you have not manipulated your deployment descriptors in any way, then there is no need to deploy. Simply drop your newer bits in to the run time space of the application server. In later service packs this means exploding the package (ear,war, or jar) in to the appropriate subdirectory of the APPS directory.
    4) If you've changed the classes of objects that have been placed in HTTPSession, you may find that you can no longer utilize those objects. For that reason, it is suggested that objects placed in session be kept as simple as possible in order to minimize this effect. In general however, is not a good idea to change a web application during the life span of a session.

  • What are the Built-In-Functions in XSLT mapping?

    what are the Built-In-Functions in XSLT mapping?

    hi praveen
    check the below blogs
    XSLT MAPPING                                   
    Step u2013 By u2013 Step Simple Approach for XSLT Mapping                                   
    Step – By – Step Simple Approach for XSLT Mapping                                   
    XSLT mapping for multiple segments of XML                                   
    XSLT mapping for multiple segments of XML                                   
    IF - ELSE IF and XSLT - A Better work around ?                                   
    IF - ELSE IF and XSLT - A Better work around ?                                   
    Calling instance (object) method of ABAP Class into xslt mapping by using SAP: CALL-EXTERNAL                                             
    Calling instance (object) method of ABAP Class into xslt mapping by using SAP: CALL-EXTERNAL                                             
    xpath functions in xslt mapping                                             
    xpath functions in xslt mapping                                             
    Using XSLT Mapping within the J2EE Adapter Framework                                             
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3823 [original link is broken] [original link is broken] [original link is broken]                                             
    EDIFACT to XML - Stylus Studio Solution                                             
    EDIFACT to XML - Stylus Studio Solution                                             
    Running NetWeaver's XSLT processor from XMLSpy                                             
    Running NetWeaver's XSLT processor from XMLSpy                                             
    generic xslt mapping part 1                                             
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/01a57f0b-0501-0010-3ca9-d2ea3bb983c1                                             
    generic xslt mapping part 1          part2                                   
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9692eb84-0601-0010-5ca0-923b4fb8674a                                             
    xslt recursive templates                                             
    XSLT: Recursive Templates                                             
    Generating Generic XML / HTML files without using XSLT Mappings                                                       
    Generating Generic XML / HTML files without using XSLT Mappings                                                       
    regards
    kummari

Maybe you are looking for