How to configure rules in J2EE application

Please tell me how to configure rules in J2EE application. Configure rules in the sense before a page gets loaded a set of rules has to be fired automatically. A general idea how you would have been configured set of rules using java classes.
If any one would have worked on rules. Please post the code snippets as well to get the idea on how to configure rules. Thnx a lot in advance.

user13490100 wrote:
ya I know wht am I doing..jt asking for suggestions on using hibernate and configuration files...rules generally on load of the page for example the update address page..the user is elibigible to edit this page only on certain conditions depends on the policy..is there any other ways of doing these?
suggestion from side not necessary to take if u dont understand the question dont pass on the comments or type wht ever you want..You are not going to get an answer unless you clearly explain in standard English what your problem is.
Things you might want to cover:
--What these rules are (i.e. are they business rules, for example to check if a trade is fraudulent, or to decide if a plane has radar coverage in a particular location)
--Where these rules are currently stored, if anywhere
--What you're trying to do with these rules.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Similar Messages

  • How to deploy oracle forms + J2EE application in single OC4J instance

    We have ORACLE forms application, which is deployed in OC4J Instance in application server.
    There are some modules, which are developed in Java/J2EE, which are invoked from Oracle forms application. Currently this java application is
    deployed in separate OC4J instance.
    Could you please help us how to combine this forms +J2ee application in single ear file,
    And this ear file has to be deployed in one OC4J instance.

    Maybe have a look at :
    http://download.oracle.com/docs/cd/B14099_19/web.1012/b14032/basics.htm

  • How to configure Sun Java System Application Server Enterprise Edition 8.1

    hi all,
    How to configure Sun Java System Application Server Enterprise Edition 8.1 to my IDE..( jstudio)
    I have installed jes for my windows system.. so that i have removed platform version of Application Server..
    I try to add the Enterprise application Server (Sun Java System Application Server Enterprise Edition 8.1) to JStudio IDE..
    but i couldn't;

    Configuring your IDE to integrate with Sun App Server is something you probably will have to ask in some sort of JStudio forum. Other than for Netbeans, Eclipse, or possibly IntelliJ IDEA, you might not have much luck answering an IDE question here. I could be wrong though. Maybe somebody will have an answer for you and set me straight.

  • How to configure webutil in oracle application server 10g (9.0.4)?

    hi,
    i want to configure webutil for oracle application server 10g(9.0.4).
    how should i start?
    i have read the webutil mannual.it is bit tricky.
    i want step by step configuration.
    Any sort of help is appriciateable.
    Regards,
    abbasyazdani

    hi,
    In webutil directory structure,there r four folders,
    {color:#0000ff}doc
    java
    server
    webutil{color}
    and there are three files.
    {color:#0000ff}webutil.pll,webutil.old and create_webutil_db
    {color}
    In webutil mannual,it is written that we should extract this folder to forms90.
    But in forms90, there are {color:#0000ff}server and java folders.
    {color:#000000}should i replace forms90's sever and java folder with webutil's server and java folder?
    what should i do for this ?
    regards
    abbasyazdani
    {color}{color}

  • How to migrate a full J2EE application from WebLogic to NetWeaver?

    I have an independent J2EE application which can be run on WebLogic successfully. Now, I want to migrate it to the platform of NetWeaver. Could you tell me how to do with it? And where can I find the jar files of the application I deployed?
    Thank you very much!

    Have you tried the "exploded" format?
              Also, do you mean Weblogic 6.1 (sp2?).
              Peace,
              Cameron Purdy
              Tangosol, Inc.
              Clustering Weblogic? You're either using Coherence, or you should be!
              Download a Tangosol Coherence eval today at http://www.tangosol.com/
              "adurthy" <[email protected]> wrote in message
              news:[email protected]..
              >
              > HI All,
              >
              > I am trying a migrate a application Jsp application with taglibs from
              tomcat 4.0
              > to weblogic 6.2
              >
              > I tried the example way but none seems to work
              >
              > any help or articles are appreciated
              >
              > thanks
              > sivaji
              

  • How to create and run J2EE application client for Hello World EJB

    Hi
    I am new to NWDS EJB deployment.I have created a "Hello World" bean. But how to deploy it and run using a J2EE application client step by step.
    Also please help in the steps of the deploy tool.
    Thanks in Advance

    Hi Ananda
    Check this link,
    http://help.sap.com/saphelp_nw04/helpdata/en/55/600e64a6793d419b82a3b7d59512a5/content.htm
    cheers
    Sameer

  • How to invoke BPEL by J2EE application?

    Hi all,
    I developed a BPEL application and J2EE application.
    Now I want to invoke BPEL by J2EE.
    How to do it? (Please give me detail steps and needed environment)
    Thanks in advance!

    Hi,
    Thanks for your reply.
    I think J2EE and BPEL are different part.
    They are independent under normal circumstances. If we have to integrate with both, we have to take some steps.
    If we re-development BPEL and J2EE, we need to take following steps:
    1. Create J2EE project.
    2. Create java class for business logic.
    3. Change the java class in step 2 into web service.
    4. Crete BPEL we have to invoke in project.
    5. Create the link between BPEL and web service in step3.
    6. Generate service proxy by using SOAP/HTTP for BPEL.
    7. Publish and deploy the j2EE and BPEL.
    8. Start from JSP page in J2EE application in step1.
    Maybe it is not correct, please correct it.

  • How can I install my J2EE application on a new WLS domain/server?

    Hello All,
    I am trying to create an installer for our J2EE application using WLS.
    Our requirements:
    a. Create a fresh domain/server
    b. Create/configure JDBC connection pool/datasources
    c. Setup startup classes d. Deploy our J2EE application
    Here are the steps:
    a. Create a new directory (say myapp)
    b. Copy files config.xml, DefaultAuthenticatorInit.ldift and SerializedSystemIni.dat
    from an already configured WLS (I have one that has everything including JDBC
    datasources/startup classes, etc)
    c. Create a directory myserver/upload/myapp
    d. Put myapp.ear e. Start the server
    Is this the right approach or is any other better way of installing a J2EE app?
    Any help in this would be highly appreciated.
    Thanks and Best Regards
    MS

    Check out weblogic 8.1 and the ant tasks wlconfig and wlserver to do this
    all from ant.
    http://e-docs.bea.com/wls/docs81/admin_ref/ant_tasks.html
    Also you can do
    java weblogic.Server in any new directory and it will create a new config.
    You can pass a command line switch,
    mkdir -p /temp/mynewdomain
    cd /temp/mynewdomain
    java -Dweblogic.management.GenerateDefaultConfig=true -Dweblogic.management.
    password=foobar1234 -Dweblogic.management.username=foobar1234
    weblogic.Server
    That will start a new server with a brand new defaulted config. You then in
    7.0 have to run java weblogic.Admin command to create and set mbean
    attributes, this means from shell having to fire up VM over and over, from
    ANT you wont have this problem if you fork, but I think weblogic.Admin has a
    nasy system.exit in it in 7.0 ( Sorry).
    Things are better in 8.1 and in our next release we are in planning stages
    for adding an installation step to deployment and allowing an applicaiton to
    express its dependencies. If you have thoughts on this, shoot me an email
    at [email protected]
    Cheers
    mbg
    "MS" <[email protected]> wrote in message news:3e77612e$[email protected]..
    >
    Hello All,
    I am trying to create an installer for our J2EE application using WLS.
    Our requirements:
    a. Create a fresh domain/server
    b. Create/configure JDBC connection pool/datasources
    c. Setup startup classes d. Deploy our J2EE application
    Here are the steps:
    a. Create a new directory (say myapp)
    b. Copy files config.xml, DefaultAuthenticatorInit.ldift andSerializedSystemIni.dat
    from an already configured WLS (I have one that has everything includingJDBC
    datasources/startup classes, etc)
    c. Create a directory myserver/upload/myapp
    d. Put myapp.ear e. Start the server
    Is this the right approach or is any other better way of installing a J2EEapp?
    >
    >
    Any help in this would be highly appreciated.
    Thanks and Best Regards
    MS

  • How to configure create non-managed application server clusters?

    Can anybody tell me where I can find the document?

    Configuring your IDE to integrate with Sun App Server is something you probably will have to ask in some sort of JStudio forum. Other than for Netbeans, Eclipse, or possibly IntelliJ IDEA, you might not have much luck answering an IDE question here. I could be wrong though. Maybe somebody will have an answer for you and set me straight.

  • How to configure ADF application to use OAM Identity Assertion ? web.xml

    We have a web application developed using ADF (application development framework) and deployed on WebCenter 11.1.1.2 (weblogic 10.3.2)
    OID Authentication and OAM identity assertion is configured in WebLogic 10.3.2 .
    How to configure security in ADF application (web.xml or weblogic.xml) so that it uses OAM identity assertion (already configured as authentication providers in weblogic server)
    Any pointers or documentation so that application (developed using ADF) check for identity tocken and verifies it with one of identity assertion providers.

    John,
    I have to concur. With OAM you don't need this. OAM intercepts the calls and inserts a cookie for WLS to get user information from.
    I strongly advise to go through the above mention OFM Security Guide. Esp. Chapter 10 tells you in every detail how to implement OAM SSO with WLS (with or without OHS as a proxy).
    Reading this chapter saves you time and turnarounds on this topic...
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to configure "JSP SMART UPLOAD" in "j2ee 1.2.1"?

    hi there,
    i am doing a project in JSP.in that the user can upload files in to the server, for doing the upload thing i have downloaded "JSPSMART UPLOAD" bean . but i dont know how to use it in j2ee 1.2.1, can any one tell me how to configure it in j2ee 1.2.1. please can any one help me.

    Hi,
    Given below are the guideline to use jspsmartupload
    1) Copy the jspsmartupload folder(extracted) under the folder webapps of ur servlet container
    2) Edit the server.xml under the <conf> folder to add the context path for jspsmartupload by adding the following
    <Context path=�/jspsmartupload� docBase=�webapps/jspsmartupload� defaultSessionTimeOut=�30� isWARExpanded=�true� isWARValidated=�false�
    isInvokerEnabled=�true� isWorkDirPersistent=�false� />
    3) Add in the classpath
    <.....>/webapps/jspsmartupload/WEB-INF/classes
    And to use it in ur jsp code u have examples provided along with the download u have made. chk with them. Hope this helps.
    Peekay.

  • How to configure WSDP for use in IDE like Netbeans

    Hello,
    I have two questions about WSDP integration in IDE like Netbeans:
    1)
    I have a problem compiling the WSDP tutorial examples inside Netbeans.
    I believe the problem is that Netbeans doesn't know about the ${jwsdp.home} attribute in the build files.
    It's the same when trying to compile it with the Jakarta ANT release and not the one coming with WSDP.
    I'd prefer to add some kind of property to Netbean's ANT executor, but how?
    Second option would be to use the WSDP ANT in Netbeans instead, but I don't know how to, either.
    I can't believe that Sun only made it working with the included ANT but I can't find the {jwsdp.home} declaration anywhere although I think it's part of the classpath argument of the WSDP ant script.
    2)
    Is it possible to integrate the WSDP Tomcat into Netbeans? I tried "Server Registry->Installed Servers->Tomcat 4.0->Add Server" but had problems starting it. Maybe because the version is different?
    Anyway, the included one might do.
    But how to install a different Server type? I'm thinking about Sun ONE App Server 7 in order to configure it for J2EE Applications.
    I think it will utilize the "New Module" wizard. Can someone please describe in short how to? Or even point me to a document?
    Many thanks
    Carsten

    Ok, I solved it.
    Problem was about custom task definitions in ANT.
    As I understand it, it's necessary to provide a <classpath> for each unknown custom taskdef class in order to refer the class. This was not correct in the WSDP tutorial build.xml files.
    The ANT documentation provides at "IDE integration" helpful links to that issue.
    BTW, my second question about integrating App Servers into Netbeans is still open.
    I think it utilizes the Netbeans Server Plugin API but how do I recognize a valid module file?
    Carsten

  • HELP!!! Cannot deploy J2EE application with Oracle JDBC driver...

    Hi,
    I am writing a J2EE application which (in theory, at least)
    connects to an Oracle 9i database.
    I have written a simple Java test app utilising only the
    java.sql package classes (e.g. Connection, ResultSet) to directly
    connect to the database. As long as the classes12.zip is in the
    CLASSPATH it works fine.
    Now I have written an Enterprise application (SessionBean,
    Remote and Home interface and Client) which I am attempting to
    deploy via deploytool.
    If I include just the client jar and EJB jar in the application
    it deploys okay but when I run the application (using runclient)
    it produces the following error:
    java.lang.NoClassDefFoundError: oracle/jdbc/OracleDriver
    (It is nested within other error output but that is the core
    issue).
    However if I try to include the JAR libraries into the app
    (classes12.jar and nls_charset.jar from $ORACLE_HOME/jdbc/lib),
    then I get the following output from deploytool when I hit the
    "deploy" (or "redeploy") button:
    Deployment error: invalid entry compressed size
    (expected 14411 but got 14580 bytes)
    Can someone please tell me what is going on???
    How can I deploy the J2EE application including the Oracle
    JDBC Driver???
    My only other option at the moment is to place all the function-
    -ality in the client and not use the J2EE framework.
    Any help is greatly appreciated.
    Regards,
    Ben New
    Leftclick Software Development
    [email protected]

    OK Ben,
    I admit I'm a bit confused. Let me see if I understand where you're
    coming from.
    You have written a J2EE application that includes a session bean,
    correct? If so, your session bean needs to be deployed to an EJB
    container. What container are you using? The Oracle 9i database
    has an embedded EJB container which (theoretically) you can use.
    However, as far as I know, Oracle recommends you use OC4J as the
    EJB container. So again I ask, what EJB container are you using?
    If, as you say, you are new to EJB, then I think you should
    immediately start working wiht OC4J as your EJB container.
    Did you look at the tutorial link I gave in my previous post? It
    explains -- step by step -- how to create, deploy and run a J2EE
    application using OC4J as the EJB container. It also has links to
    introductory material for people without little knowledge of J2EE
    and EJB.
    I have 9iAS Enterprise Edition and 8.1.7.1.0 database server (and
    OC4J) installed on my SUN machine. I cannot find any of the
    utilities you mention -- "j2eeadmin","runclient" or "deploytool".
    What Oracle software have you installed? What are the versions?
    What platform are you using?
    A J2EE application (according to the specification from SUN)
    consists of modules. A module can either be a client module or an
    EJB module. A client module can either be a java application client
    or a web-based client (servlet or JSP). A J2EE application usually
    contains one client module and one EJB module. A J2EE application
    needs to be deployed to a J2EE container.
    Hopefully the J2EE picture is becoming clearer. I think you need
    to read some introductory material regarding J2EE if you intend
    to become proficient at it.
    I feel that you are under the impression that a J2EE application
    is a glorified JDBC application. It isn't (as far as I'm aware).
    Good Luck,
    Avi.

  • How to make J2EE application in OC4J use windows credentials

    Hi,
    I have a J2EE application which is deployed in Oracle10AS. When a user tries to access this application, the application should use windows login information and authenticate the user and allow access to the user.
    Can someone guide me on how to achieve this, any links or documents to achieve this would be greatly appreciated.
    Thanks

    The configurations in mod_osso.conf were not made properly hence getRemoteUser() was failing. Once mod_osso.conf was configured properly everything went well.

  • How to configure java.security file to run j2ee programs

    Hi,
    I am using Sun one application server to run my j2ee programs.
    plz tell me how to configure java.security file inside my appserver so that i can run my servlet program that is using jsse API to create SSL sockets.
    I am not able to follow whats there in java.security file.Kindly tell how to configure it.
    Waiting for ur replies!
    Thanks,
    Akshatha

    Hi,
    I am using Sun one application server to run my j2ee programs.
    plz tell me how to configure java.security file inside my appserver so that i can run my servlet program that is using jsse API to create SSL sockets.
    I am not able to follow whats there in java.security file.Kindly tell how to configure it.
    Waiting for ur replies!
    Thanks,
    Akshatha

Maybe you are looking for