"Static" class and application server

Hi, i have a little problem. I need to load a "static" class of a web application, deployed on Bea WebLogic 7 (or Tomcat), when the application server is starting.
Is it possible ? If yes, how can i do ?
Thanks

Yes, It's call from a servlet and the servlet is loaded on start up.
But I have resolved my problem this morning, however thanks for help. :)
Claudio

Similar Messages

  • Static class and clustering

              I have a static class that I use to cache some values during a batch process. The
              batch process uses a JMS queue to parcel our identical units of work to MDBs.
              I want this to scale using a cluster with the same MDBs on multiple machines.
              Everything works fine except that I can't figure out how to tell my cache to clear
              itself out on every node between batch runs. Is there a pattern or solution to
              this problem?
              What I've tried is to create a stateless session bean method that clears my cache.
              At the begining of my batch job, (which is a stateless session bean call) I call
              this method on each server in the cluster by getting the remote interface for
              the stateless bean via the different URLs of the servers. However, the session
              bean method always executes on the one server where I make the call. It's as if
              WebLogic gives me back a local interface instead of the remote interface that
              I asked for.
              Any ideas would be appreciated.
              Colin
              

    ... static class and static method.I have never heard of a thing called "static class". Perhaps you mean a class with only static members?
    My design approach (which is bound to needs of the moment and seldom to library-development or future re-use, since both is harder than most developers realize) is to develop straight without caring too much about static or not. When a method is done, debugged and works well, it happens that other objects access this method as well.
    It may happen that I just want to use this single method and almost nothing else of the object. If that is the case, I can start looking if it's a Good Thing(tm) to make the method static, so no object creation is needed just for the one method. Sometimes it can be done, sometimes not.
    But that's just me and you'll find quite a lot of coders that'll advice you to decide what's static and what not before you start coding. And that's as good an advice as most others you can get.
    In the end it's your decision, so start fiddling around and see what fits best for you.
    -T-

  • How to have one centeral management console for DB and Application server?

    Hi
    Thank you for reading my post
    I read in several places that ORACLE provide facilitis that help developers to have one centeral console to manage Application server / Database and what ever oracle products.
    I want to know that, when i have Oracle 10g r2 and Application server 10.1.3.1 installed, how i can use that centeral management console?
    is it some other application that i should install ?
    or it is just some more configuration?
    thanks

    What you are looking for is called Grid Control.
    You will need the Grid Control Agent installed on each server that has products from Oracle's technology stack installed (database, web server, app server, etc). You will also need install the Grid Control software and repository.
    You can download Grid Control from the following link:
    http://www.oracle.com/technology/software/products/oem/index.html

  • Compatibility between Oracle Developer suit and application server

    Hello
    We are going to user oracle 10 to develop and deploy our application.
    The tool that we were going to use are
    Developer Suite 10g Release 2 (10.1.2) and
    Oracle Application Server 10g Release 3 (10.1.3.2.0)
    But i need to know whether this are compatible
    Where can I find any documentation related to compatibilities between developer suit and application server ?
    May thanks in advance

    Hi Ana,
    Compatible version of IAS is
    10g Release 2 (10.1.2) or 10g Release 2 (10.1.2) with patch 1(10.1.2.1.0)
    Also if u are using only forms and reports services there is a forms and reports standalone version is available. And hence u dont need to install infrastructre.
    And this is a very compact product.
    Even if you use forms 9i /developer suite 9i to develop the forms, when u compile them on IAS, it gets upgraded. There is not much diff between forms 9i and 10g
    Rajesh Alex

  • Starting and stopping 9ias Infrastructure and Application Server

    I have Oracle9ias R2 Infrastucture and Application running on one machine (bad idea - I know) on Windows 2000. I had to restart the system and of course all the different instances from Infrastructure and Application Server started in the wrong order and now nothing operates at all. (It was fine yesterday - really, it was).
    Could someone please give me a rough guideline on how to start these services, or instances in the right order.
    Much obliged
    William

    Sir,
    Can you help me to do the installation of 9ias rel. 2.
    I installaed 9ias infrastructure on separate m/c.
    But unable to do single sign-on on 9ias server side.
    How to configure it for web applicaions?
    regards

  • SQL, static classes and sessionBeans

    Hi,
    my JSF-project has one static class where it handle all sql-queries and I asked me if that is the "best" solution.
    I.e. a User-Sessionbean call that static class to save his data into the user-sql-table. I asked myself, if it might not better to delete this static class and let the user-sessionbean save his data itself.
    If my webserver has 100 usersessions and 50 users save their data at same time, does the "static-sql-save-version" has only one sql-connection and 49 user have to wait in a queue? And with the "every-usersession-has-his-own-sql-save-method" I have got 50 DB connection at the same time?
    I hope you could help me :)
    Alex

    you will gain some bytes by merging all the static classes in one.
    you can create a ManagerTool.java class and write inside all the static methods ...

  • ARCHITECTURE OF SAP R/3 AND APPLICATION SERVER AND DATABASE SERVER IN ABAP

    ARCHITECTURE OF SAP R/3 AND APPLICATION SERVER AND DATABASE SERVER IN ABAP?
    PLEASE EXPLAIN

    hi
    <b>Presentation Server</b>
    It is actually a program named sapgui.exe.
    It usually installed in user’s workstation.
    The interface accepts the input from the user in the form of keystrokes, mouse-clicks, and function keys, and sends these requests to the application server.
    It receives and displays the result from the application server.
    <b>Application Server</b>
    An application server is a set of executables that collectively interpret the the ABAP/4 programs.
    Each application server has a profile called application server profile, that specifies its characteristics when it starts up and while it is running. It specifies:     
    1. Number of processes and its types.          
    2.Amount of memory each process may use.
    3. Length of time a user is inactive before being automatically logged off.
    If your ABAP/4 program requests information from the database, the application server will format the request and send it to the database server
    <b>Database Server</b>
    The database server is a set of executables that accepts database requests from the application server.
    These requests are passed on to the RDBMS (Relation Database Management System).
    The RDBMS sends the data back to the application server.
    The RDBMS  may run on database server’s computer or may be installed on its own computer.
    The components of application server are dispatcher, dispatcher queue, work process.
    All requests that come in from presentation servers are directed first to the dispatcher.
    The dispatcher writes them to the dispatcher queue.
    The dispatcher pulls the requests from the queue on a first-in, first-out basis.
    Each request is then allocated to the first available work process.
    A work process handles one request at a time.
    The work process needs two memory areas, the user context and the roll area.
    The user context is a memory area that contains the information about the user.
    The roll area is a memory area that contains about the program execution.
    <b>User Context</b>
    User context is a memory area that contains the characteristics of a user that is logged on the R/3 system.
    1)It holds,     user’s current settings.               
    2. The users authorizations.          
    3. The names of the programs the user is currently running.
    When a user logs on, the user context is allocated for that logon. When logs off, it is freed.
    <b>Roll Area     </b>
    A roll area is a memory that is allocated by a work process for an instance of a program.
    It holds the information needed by R/3 about the program execution, such as:     1. The values of the variables               
    2. The dynamic memory allocations          
    3. The current program pointer.
    Each time a user starts a program, a roll area is created for that instance of the program.
    If two users are using the same program at the same time, two roll areas will exist-one for each user.
    The roll area is freed when the program ends.
    Both roll area and the user context play an important roll in dialog processing
    <b>pls reward points dor useful ans</b>
    <i>regards
    vivek</i>
    Message was edited by:
            Vivek Saxena

  • New Blog for SOA and Application server,BPEL

    Hi Everyone,
    I have created a New Blog for SOA and Application server and BPEL and i would like everyone to have a look at it and give me some comments on it like what is the other information i can keep which can help us all etc....
    You can visit it at http://oraclefusionmiddleware.blogspot.com

    Oracle Application Server consists of Oracle HTTP and OC4J servers which deploys J2EE-based applications.
    Integration server manages all communication, process interactions, Data Transactions among different systems and applications. Oracle integration server consists of all the SOA elements (BPEL, ESB, Business Rules, and OWSM)
    when you want to deploy Java applications then you will deploy to Application Server.When you want to deploy BPEL,ESB Process you will use integraion server(BPEL Server,ESB Server).
    Integration server is just the web server which connects to application server which helps in administrating and managing different applications as a whole
    Regards,
    Deepa

  • Difference between web server and application server

    Hi Everybody
    Could anybody expain difference between web server and application server?
    Sharad

    Hi there
    The difference I know is the application servers provides the containers for the applications to run which is not provided by the web servers.
    For example the containers can be an EJB container or JSP container etc

  • Difference between Application log and Application server

    Hello Friends,
            Could you plz explain difference between  Application log and Application server?
    Regards
    Kanth

    Application log is details about the business transaction,  ie status / error messages
    Application server is the system <hardware> on which application is running.
    Regards,
    Mahesh

  • Differences between Web server and Application server

    Differences between Web server and Application server:
    We use Tomcat web server or sun Application server to deploy web applications . What is the differeences between these two servers?

    http://en.wikipedia.org/wiki/Web_server
    http://en.wikipedia.org/wiki/Application_server

  • Creating a directory statically in the Application Server

    Hi,
    I need to create a directory in the application server statically (not through code), in which I later have to store and read files. Most forums talk about doing this through AL11 --> Configure.
    While this does create an entry in the directory list in AL11, I doubt if the directory was actually created in the AS. Double clicking this directory name shows an error message in the status bar (Wrong order of calls <- CALL opendir: No such file or directory). So I believe the directory is not created at all.
    How do I set up a directory which I can browse and see, and use for creating / reading files?
    My AS is on AIX OS.
    Thanks,
    Z

    Hi,
    Yes, Could we not do it from SAP screens?
    Go to Al11 and in that you can see a tab Configure.
    There you can create the Directory and say Add button
    and then Save .
    and after that Using
    Open Data set ds1 for Output.
    will create the File if it is not there .
    you can specify the path in which you can create the files.
    check this thread as well:
    Creating a directory & subdirectory on Application Server
    Sachin
    Edited by: Sachin Dhingra on Jan 22, 2009 11:02 AM

  • Need utilities class for application server file system (i.e. unix etc)

    I need to do things to directories and files on the application server.
    Is there an SAP class with methods for the application server file system (i.e. unix or whatever) with functionality similiar to what is provided by the methods of CL_GUI_FRONTEND_SERVICES for the presentation server?
    Is there a group of SAP functions for this task?

    You may have a look at Thomas Jung article: [sdn contribution : ABAP Server Side File Access, by Thomas Jung|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/7a13f367-0401-0010-47ba-eab0b15cf31c]
    Moreover, in release 7.10, it could be possible that SAP introduced input and output stream classes (to mimic java classes), so I guess there could be the ones for application server file system.

  • Deploy third party JAVA class at application server

    we have created a form to enter the name in regional language (Hindi),
    In the form we have implemented the java following javaclass in the implementation class under functional section
    oracle.forms.pjc.TextField.HindiPJC2k
    we are using the application server 9i v-1 to deploy the forms. the forms are called through applet using jinitiator at client end
    at application server level following configuration have been done.
    in the directory e:\oracle\806\Forms60\server\pjc\TextField
    the class file has been copied
    and also defined the font.properties file (which include the hindi fonts)
    and copied this file in the following directory
    e:\oracle\806\forms60\server
    It is not working kindly help

    Did you append the your jar file name in formsweb.cfg ?
    you must add it , for example; archive_jini=f90all_jinit.jar,yourfilename.jar
    Mücahid Uslu

  • Windows 2003 server and application server 8.2

    I trying to install application server 8.2 and the installation stop and says me this:
    INFO - archivo jar descomprimido: activation.jar.pack
    INFO - archivo jar descomprimido: appserv-assemblytool.jar.pack
    INFO - archivo jar descomprimido: appserv-cmp.jar.pack
    INFO - archivo jar descomprimido: appserv-ext.jar.pack
    INFO - archivo jar descomprimido: appserv-jstl.jar.pack
    INFO - archivo jar descomprimido: appserv-rt1.jar.pack
    INFO - archivo jar descomprimido: appserv-rt2.jar.pack
    INFO - archivo jar descomprimido: appserv-rt3.jar.pack
    INFO - archivo jar descomprimido: appserv-rt4.jar.pack
    INFO - archivo jar descomprimido: appserv-tags.jar.pack
    INFO - archivo jar descomprimido: commons-launcher.jar.pack
    INFO - archivo jar descomprimido: commons-logging.jar.pack
    INFO - archivo jar descomprimido: deployhelp.jar.pack
    INFO - archivo jar descomprimido: j2ee-svc.jar.pack
    INFO - archivo jar descomprimido: j2ee.jar.pack
    INFO - archivo jar descomprimido: jaxr-api.jar.pack
    INFO - archivo jar descomprimido: jaxr-impl.jar.pack
    INFO - archivo jar descomprimido: jaxrpc-api.jar.pack
    INFO - archivo jar descomprimido: jaxrpc-impl.jar.pack
    INFO - archivo jar descomprimido: jsf-api.jar.pack
    INFO - archivo jar descomprimido: jsf-impl.jar.pack
    INFO - archivo jar descomprimido: mail.jar.pack
    INFO - archivo jar descomprimido: relaxngDatatype.jar.pack
    INFO - archivo jar descomprimido: saaj-api.jar.pack
    INFO - archivo jar descomprimido: saaj-impl.jar.pack
    INFO - archivo jar descomprimido: sun-appserv-ant.jar.pack
    INFO - archivo jar descomprimido: xsdlib.jar.pack
    INFO - archivo jar descomprimido: sun-as-jsr88-dm.jar.pack
    INFO - n?mero de entradas jar fusionadas: 2741
    INFO - n?mero de entradas jar fusionadas: 1430
    INFO - n?mero de entradas jar fusionadas: 2473
    INFO - n?mero de entradas jar fusionadas: 776
    INFO - n?mero de entradas jar fusionadas: 646
    INFO - Iniciar la configuraci?n del servidor principal.
    ERROR - la creaci?n predeterminada de dominios devolvi? la siguiente excepci?n: abnormal subprocess termination: Detailed Message:"?" no se reconoce como un comando interno o externo,
    programa o archivo por lotes ejecutable.
    any idea?
    thanks

    application server 8.2
    http://java.sun.com/j2ee/1.4/download.html
    thanks for your help
    If you want send me a mail, or talk with messenger or
    likeI would in that case try to contact Sun. The error message seems a bit odd. The installation is trying to execute some command, tool or applications which can't be found by the OS. The error indicates that that command has a very odd name.
    Kaj

Maybe you are looking for