Queries in  Enterprice Application Project

In WSAD Enterprice Application Project is created.
Say i have created 10 servlet program.
I need no 9 servlet to run first.
What should be done for dong this while running the Enterprice Application Project.
What should be changed on Web.xml.

Deepaksanthosh wrote:
<servlet>
<servlet-name>servletOne</servlet-name>
<servlet-class>com.myservlet.servletOne</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<servlet-name>servletTwo</servlet-name>
<servlet-class>com.myservlet.servletTwo</servlet-class>
<load-on-startup>2</load-on-startup>
</servlet>
<servlet>
<servlet-name>servletThree</servlet-name>
<servlet-class>com.myservlet.servletThree</servlet-class>
<load-on-startup>3</load-on-startup>
</servlet>Wow.
Say i have three servlet in my WebProject and i want in the same order as i mentioned above to load when server starts.These are present in Web.xml in EAR.If you really bother about the order in which the servlets are to be loaded, there is something seriously wrong in your code design.
How the servlet load when i click run on server on the Webproject.Set the <load-on-startup> directive to 1 (which just means 'true').

Similar Messages

  • Multiple developers working on the same application/project

    Hi All,
    We have multiple developers working differnt components of the same application/project. As most of them are working on their local systems within their local projects which later has to be integrated as one application project I am afraid the integration would be a big challenge.
    Can someone suggest a way this can achieved without much additional effort and code/ functionality loss.
    Best regards,
    Divya Rao

    Hi Divya,
    I this can be accomplished by using JDI.This helps in easy integration ,version and change management.
    For more details refer to:
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/03/f6bc3d42f46c33e10000000a11405a/frameset.htm">SAP Help</a>

  • For a new web application project - Struts OR JSF ?

    Hi ,
    We are starting a new web application project and want to decide whetehr to us Struts or JSF ?
    Currently, mots of the other development teams are using Struts .
    We need to know pros and cons of each to decide one way or the other.
    Any help is appreciated .
    Thanks

    Those are the articles and presentation about this topic:
    http://homepage1.nifty.com/algafield/barcia.html
    http://www.jroller.com/comments/dgeary/Weblog/top_ten_reasons_to_prefer
    http://websphere.sys-con.com/read/46516.htm
    http://www.pjug.org/JavaServerFaces.pdf
    Sergey : http://jsfTutorials.net

  • Can't create portal application project with netweaver development studio

    Hi All,
    I want to follow the toturial (http://help.sap.com/saphelp_nw04/helpdata/en/9e/7d96f7087311d7b84600047582c9f7/frameset.htm) to create a portal application with netweaver , but I am failed at the first step, I can not found "Portal Application Project" option by new->other.
    the version of netweaver development studio I am using is
    Version: 7.2.0
    Build id: 200702220224
    do I need to install a plug - in? if yes, anyone can tell me where to download it?
    thanks & regards, Bin

    Hii...
    In NWDS goto Windows> Open Perspective> others--> Enterprise portal select this and ok....
    Goto File> New> Project> select Portal Application> enter project name and click ok...
    refer this blog also...
    Overview of the Content Development Process
    regards,
    Chinnadurai.R

  • Crystal Report Viewer icons do not show in Web Application Project in VS2005 (Web Site Project OK)

    Post Author: jsdude99
    CA Forum: Crystal Reports
    Hi,
    With Visual Studio 2005, the Icons at the top of the CrystalReportViewer do not show on Web Application Project. However, If I have a web site project, they are all shown. Please note that I found number of posts that people not seeing the icons after the deployment but my case is the development environment. Once I pass the first hurdle I may face further problems like the other people, so If you happen to know answers in both situations, please share your knowlegde..
    PS: I created two new types of projetcs and have just a CrystalReportViewer on the default page. Data is shown fine but the icons are missing (red X placeholders instead of icons) in Web Application Project. Very straight forward test.

    We havent tried that.  We changed the link in the web part to access an html page that claims that the report is loading.  It states in the html that if the page doesnt load to "click here" which redirects to the crystalreportviewer.  Its a temp fix for it.  One thing we are looking at is the 64 bit version of the Sharepoint integration kit.  That may contain a reportviewer webpart.
    Thanks for the reply.
    Brian

  • Insert a JSP in a portal application project

    Hi,
    I have created a portal application project but I am unable to create a JSP file in it. When I right click on my project then new and JSP file, a window appears asking me to fill the name of the jsp file I want to create and the folder in which I want to create it. The problem is that there is no folder in my application. How may I do ?
    Thank you for your help.
    Thibault Schalck

    Hi Thibault schalck,
    For JSP file you need to create a JSPDynPage Portal Component.For that just right click on your project select NEW->Other->Portal Application->Create a new portal application object
    Expand the Portal Component and you will get JSPDynPage. Select it.
    Then give all the general description i.e. Name,JSPDynpage class name,JSP filename.....
    Your JSP File will get created under Pagelet folder by default.That you will get from......
    Just Expand dist folder then PORTAL-INF then pagelet.
    Hope this info helps you.
    Regards,
    Swati

  • Debugging EP application project

    Hi Experts,
    I am trying to debug EP application project. In order to do this I have done following steps:
    1) Started config tool of J2EE engine.
    2) Switch to current instance and go to debug tab
    3) Set "Enable debug mode" checked
    4) Set valid debug port.
    5) Saved the settings.
    I am however not able to carry out debugging. Can you pls help me out.
    Thanks
    Gaurav

    Hi Shree,
    maybe this blog helps:
    <a href="https://weblogs.sdn.sap.com/pub/wlg/1971">NetWeaver portal debugging</a>
    Greetings,
    Carsten

  • SAP Netweaver development studio 7.1 - No Portal Application Project

    File>New>Project> Portal Application Project missing in drop down list.
    What NWDS properties or enhancement packs or support packs need to be loaded to create a Portal Application Project?
    Thanks in advance.

    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5f3ee9d7-0901-0010-1096-f5b548ac1555
    Check according to this.
    I think one more thread specifying same issue.

  • Application, Project And Work Space

    Since i am very much new in JDeveloper although i have a good exposure of Forms Developer. Kindly tell me the relationship between Application, Project and Work Space in details with example.
    Regards

    Application = Workspace
    and it contains several projects that are related to each other.
    A project usually translate to something that you package in a JAR or WAR file - so a reusable thing.
    A workspace bring together several projects that use components from one another.
    A project can be included in several workspaces.
    More on this in the online help.

  • Need Help in Portal Application Project

    I am developing a Portal Application Project where i need to use AJAX to show database values in the main JSP.
    Now while doing an AJAX call (the open method) i need to pass a server pages' URL.
    I have a second jsp file in my application(pagelet/second.jsp) which will do all the database functions and writes the values to stream.
    Now i am confused how to call this second jsp from my first jsp.
    Please help !!!
    SAP WAS 7.0

    I have a second jsp file in my application(pagelet/second.jsp) which will do all the database functions and writes the values to stream.
    May I ask why you are using a JSP page for this? The answer written back will include some standard SAP Portal HTML code that you don't need in the AJAX response (like: <html>...)
    I'm using portal components as AJAX "receiver" and not JSP pages, simply because it gives me greater control over the response::
        <component name="Ajax">
          <component-config>
            <property name="ClassName" value="xyz.Ajax"/>
          </component-config>
          <component-profile/>
        </component>
    And in the Java class:
    public class Ajax extends AbstractPortalComponent {
        public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)  {         
    br,
    Tobias

  • Project Plan or Activities for an OBI Applications project

    I should be starting a new OBI Applications project for a customer that has SIebel CRM installed. I know quite well OBI applications (install, configuration, etc).
    I am looking for a project plan for an OBI applications project... like Stages, Activities per stage, deliverables, etc.
    I'd appreciate any help.
    Txs.
    Antonio

    Hey Bob,
    what you probably need is some information
    on how to Mic a guitar or recording vocals mix it,
    and recording environment (meaning your fisical space).
    Instead of buying a lot of books and DVD's on the subject,
    a good solution's probably a sound on sound esub (after
    subscribe you have acess to the past articles (on a search
    data base) and the mag online for a year.
    It's a wonderfull way to learn too.
    http://www.soundonsound.com/
    Cheers,
    Jorge

  • NWDS - Canu00B4t see the Composite Application Project option.

    Hi experts,
    I ' ve  recently update my NWDS  and my CE 7.1 to SP06 , but i found that the Composite Application Project option in the NWDS has gone.  I can´t build any composite app. project. Is there someone who can help me to fix this problem? could be any corrupted plug-in??
    Thanks for all.
    Greatings
    Diego.

    Hi,
        The problem could be corrupted PLUGINS or missing plugins due to incomplete installation.
        Ideally the plugins folder at "Program Files\SAP\IDE\CE\eclipse\plugins" location would have the necessary files for creating a particular project. You can always check for the right plugin in case of the problem.
    As mentioned copying the folder structure is one such work around solution. One more notable thing is that when you manually add a plugin, do make sure you restart the NWDS and refesh the track.
    Hope this piece of information is helpful.
    Regards
    Ashok

  • How can i change the class in the Class Library project to be static or public so i can use it from the windows application project ?

    First i know that when i make any changes to the class library project i need to rebuild the project then to remove the Capture.dll from the TestScreenshot project and then to add again the updated Capture.dll
    The problem for example in this case i'm trying to use a public static variable i add in the DXHookD3D9.
    In the DXHookD3D9 i added this public static variable:
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    //using SlimDX.Direct3D9;
    using EasyHook;
    using System.Runtime.InteropServices;
    using System.IO;
    using System.Threading;
    using System.Drawing;
    using Capture.Interface;
    using SharpDX.Direct3D9;
    namespace Capture.Hook
    internal class DXHookD3D9: BaseDXHook
    public DXHookD3D9(CaptureInterface ssInterface)
    : base(ssInterface)
    LocalHook Direct3DDevice_EndSceneHook = null;
    LocalHook Direct3DDevice_ResetHook = null;
    LocalHook Direct3DDevice_PresentHook = null;
    LocalHook Direct3DDeviceEx_PresentExHook = null;
    object _lockRenderTarget = new object();
    Surface _renderTarget;
    public static decimal framesperhourtodisplay = 0;
    protected override string HookName
    get
    return "DXHookD3D9";
    List<IntPtr> id3dDeviceFunctionAddresses = new List<IntPtr>(
    framesperhourtodisplay
    The problem is i can't even get to the Capture.Hook namespace and not to the DXHookD3D9 from the TestScreenshot application window project.
    This is a screenshot:
    For example fro the FramesPerSecond class i can use it get to it from the windows forms application.
    namespace Capture.Hook
    /// <summary>
    /// Used to determine the FPS
    /// </summary>
    public class FramesPerSecond
    int _frames = 0;
    int _lastTickCount = 0;
    float _lastFrameRate = 0;
    Since it's public i guess.
    But if i will change the DXHookD3D9 class from internal to public:
    public class DXHookD3D9: BaseDXHook
    I will get error on the DXHookD3D9: 
    Error 1
    Inconsistent accessibility: base class 'Capture.Hook.BaseDXHook' is less accessible than class 'Capture.Hook.DXHookD3D9'
    And the BaseDXHook class:
    namespace Capture.Hook
    internal abstract class BaseDXHook: IDXHook
    protected readonly ClientCaptureInterfaceEventProxy InterfaceEventProxy = new ClientCaptureInterfaceEventProxy();
    public BaseDXHook(CaptureInterface ssInterface)
    this.Interface = ssInterface;
    this.Timer = new Stopwatch();
    this.Timer.Start();
    this.FPS = new FramesPerSecond();
    Interface.ScreenshotRequested += InterfaceEventProxy.ScreenshotRequestedProxyHandler;
    Interface.DisplayText += InterfaceEventProxy.DisplayTextProxyHandler;
    InterfaceEventProxy.ScreenshotRequested += new ScreenshotRequestedEvent(InterfaceEventProxy_ScreenshotRequested);
    InterfaceEventProxy.DisplayText += new DisplayTextEvent(InterfaceEventProxy_DisplayText);
    ~BaseDXHook()
    Dispose(false);
    How can i solve it so i can use the variable framesperhourtodisplay in the DXHookD3D9 class with the TestScreenshot windows forms application ?

    Hi,
    I dont know if it will work here, since I dont know the complete structure, but the base call must be public, if the derived class is public, so the base class is at least as accessible as the derived class.
    Try make the base class public. (And maybe the base-class IDXHook of the base also...)
    Or use a different approach and make only the properties public that are needed to be public by adding an extra class...
    A structure could look like:(you need to create a class thats public in your dll and expose a property, and set this property in the internal class...)
    In the Accessing class (here Form1)
    public partial class Form1 : Form
    public Form1()
    InitializeComponent();
    private void Form1_Load(object sender, EventArgs e)
    C c = new C();
    MessageBox.Show(B.F.ToString());
    and in the class Lib:
    internal class A
    public A()
    B.F = DateTime.Now.Millisecond;
    public class B
    public static int F { get; set; }
    public class C
    public C()
    A a = new A();
    (add a referenc to the class lib from the accessing project)
    Regards,
      Thorsten

  • Organizer applications (project management and to do's)

    I'm looking for an application that will let me organize and edit my "important, to do's, passwords, financial" etc, etc documents (now in pages or word). Ideally I need these on my iPhone and my laptop. I'm really hoping for something that I can /import/ existing documents into so I don't have to retype these. I also need something that can accommodate multiple pages.
    Any ideas? Is there a better place to get advice on this?
    Also, is there a good place to get recommendations on applications such as Pages, FileManager, Bento and the like? I need something to organize project information for architecture and construction.
    Thanks,
    Jon

    Search in:
    http://www.macupdate.com/
    The cross links and user feedback are invaluable.
    Peter

  • ADF panel executes all queries in the application module.

    Hi all,
    I have created an ADF Panel, which allows the user to run a few simple queries against an Oracle database done using ADF view objects and ADF view links and ADF application module.
    As I add more functionality meaning more available queries meaning more ADF views and ADF view links, running the Application Modules becomes slower.
    Let’s say the application module AM1 is made of 30 different view links. And application module AM2 is made of another 30 view links.
    Now let’s say that ADF Panel1 references 8 view links from AM1, but it appears that all 30 view links that make up Application Module AM1 are executed before returning the result sets of the 8 view links referenced in ADF Panel1. Let me also underline the fact that each view link in Application Module AM1 can be executed independently, so the question is how I can make Jdev not to run all 30 queries in view links in the Application Module AM1 when ADF Panel1 is executed, but just the 8 that are referenced in the ADF panel1.
    I hope I made my question understood.
    Your inputs are greatly appreciated.
    Thanks.
    Bobby A.

    Hi,
    if this is what you see then you should file a bug because certainly its not the way it is designed to work. Note that in JDeveloper 11g - you don't specify the release you are on - the iterators by default are set to refresh deferred. Only iterators that belong to a PageDef file are executed when the page loads (you can suppress this by setting a refresh condition). Other queries are not executed
    Frank

Maybe you are looking for

  • Could not be opened because you do not have sufficient access privileges

    Hi, I just finished backing up my music onto my external HDD as per the 'Manual backup' instructions seen here: http://support.apple.com/kb/HT1553 The problem is, when I logged back into my main user account to disable the root user and check if my d

  • Transffering from 1 library to another

    i have an itunes account with all our household devices connected  and my husband had a friend download a heap of songs onto his iphone from a different library, how do i transfer those songs to my library??

  • Cannot access columns in a result set using table alias in Oracle database

    I have a query which joins a few tables. There are a few columns in various tables with identical names. In the query, I have assigned table aliases for each table thinking it'll be the manner in which I access a specific column in a specific databas

  • Search window in safari does not work after first search item

    After browsing on web page, entering search term in the search window results in no search. The window will not reset(set default to google)and will not search. Only way of searching is to quit safari, retype or paste the search term ( which is saved

  • [SOLVED] The infamous Beryl white cube

    Hi, I really didn't want to make a post about this because I know it has likely been addressed multiple times before, but I've searched the forums and the wiki and cannot seem to solve my problem. I have installed Beryl and added the composite extens