Does Webservices support Statefull EJBs?

Hi all,
My questions are
1.Is it possible to implement stateful EJB'S using webservices?
2. is it possible to identify dynamically the webservices in a distributed environment.
i mean is it possible for the server to identify at runtime that the webservice is
local or remotely located? is this a standard way for identification or vendor specific?
In concurrance does it make any difference in performance by accessing webservices
from remote or localhost?
would be delighted to have some insight and some documentation regarding it.
thanx in advance!
regards

Hi Arif,
You can use a conversational web service to maintain the conversational
state of client across multiple calls, just like a stateful session EJB does
for a web/java client. However, please don't confuse this with using a
stateful session EJB from within a web service using an EJBControl. The
state maintained by a stateful session EJB invoked through a web service,
does not span across multiple client calls to the web service. Hence, even
though your web service might be using a stateful session EJB behind the
scenes, the state of the client should be maintained in the web service
itself, and not in the stateful session bean.
Regarding your question about the performance implications of having a local
webservice as compared to a remote one, as of now we do not do any
shortcircuiting of the calls to a local service. However, you obviously
would still see a better performance while using a local service as compared
to a remote service, due to the network overheads and latency.
Regards,
Anurag Pareek
WebLogic Workshop Support
"arif" <[email protected]> wrote in message
news:[email protected]..
>
Hi all,
My questions are
1.Is it possible to implement stateful EJB'S using webservices?
2. is it possible to identify dynamically the webservices in a distributedenvironment.
i mean is it possible for the server to identify at runtime that thewebservice is
local or remotely located? is this a standard way for identification orvendor specific?
>
In concurrance does it make any difference in performance by accessingwebservices
from remote or localhost?
would be delighted to have some insight and some documentation regardingit.
>
thanx in advance!
regards

Similar Messages

  • Weblogic 8.1 SP2 does not support 'Order by' clause in EJB-QL

    It seems that Weblogic 8.1 SP2 does not support 'Order by' clause in EJB-QL. EJB 2.1 spec supports 'Order by' clause in EJB-QL. Am I right when I say that it indicates : "Weblogic 8.1 SP2 does not support EJB 2.1" ? In that case, what can be the alternative since I am using Weblogic 8.1 and I require 'Order by' clause in Ejb-QL as well.

    In WL 8.1 SP4 I can use the ORDERBY just fine.
    Try ORDERBY instead of Order by

  • Does JServer support EJB/Entity beans

    What version of JServer lives in the following applications, and does it support EJB/Entity Beans or when will it.
    8.1.5 OAS
    8.1.5 8i
    8.1.6 OAS
    8.1.6 8i

    Check out the following link for details about the Beta Program: http://technet.oracle.com/products/oracle8i/java_beta/index.htm
    New features that will be available in the Beta include support for Entity Beans, and support for Servlets. It also includes JServer Accelerator (JServer's Native Compiler).

  • Does Tomcat support EJB's?

    Does Tomcat support the deployment of EJB's? If so how do you go about deploying them. i cant seem to find anything on the apache web site

    Hi,
    Does Tomcat support the deployment of EJB's? If soNo, Tomcat is the open source servlet Container by Apache and to my knowledge they dont have any ejb Container as open source,so you have to make the tomcat configure with the EjbContainer for EJB to be deployed.......
    how do you go about deploying them. i cant seem to
    find anything on the apache web siteYou require the EJB Container for deploying the EJB's.You can go for Jboss,Weblogic,Websphere.....
    regards
    Vicky

  • Does OC4J support RMI/IIOP connections ?

    Hi,
    I have only one question :
    Does OC4J support IIOP connections ?
    I'd like to connect as EJB client to OLAPService on Oracle9i server (CORBA object), but I can't.
    Thanks in advance

    Thanks for your timely post Debu.
    I would like to state that I read and followed the guides (same files as those ponted by the links you just provided) and tried this:
    1. Sample J2EE Application using ORMI in OC4J Standalone (this works ok)
    2. Same but now using ORMIS (this also works fine)
    3. Tried same J2EE App using IIOP; took these steps:
    3.1 commented out the rmi.xml security lines,
    3.2 enabled ports in internal-settings.xml,
    3.3 changed the jndi.properties - now using corbaname URL,
    3.4 enabled the IIOP stub generation in the JVM settings at oc4j startup, and finally
    3.5 deployed the EAR using the generateIIOP flag.
    The result: the exception I posted above
    4. Tried with IIOP/SSL, did these steps:
    4.1 configured the keystore settings in both internal-settings.xml and ejb_sec.properties
    4.2 and added <ior-security-config> config elements to orion-ejb-jar.xml.
    The exception here is a little bit different:
    client started...
    In IIOPInitialContextFactory ..
    In IIOPInitialContextFactory getInitialContext..
    1/08/2006 07:07:10 PM com.sun.corba.ee.impl.legacy.connection.SocketFactoryConnectionImpl <init>
    ADVERTENCIA: ORBUTIL.connectFailure
    org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed: No
    at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.java:1739)
    at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.java:1757)
    at com.sun.corba.ee.impl.legacy.connection.SocketFactoryConnectionImpl.<init>(SocketFactoryConnectionImpl.java:74)
    at com.sun.corba.ee.impl.legacy.connection.SocketFactoryContactInfoImpl.createConnection(SocketFactoryContactInfoImpl.java:77)
    at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.beginRequest(CorbaClientRequestDispatcherImpl.java:152)
    at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.request(CorbaClientDelegateImpl.java:121)
    at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaClientDelegateImpl.java:214)
    at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:112)
    at org.omg.CosNaming.NamingContextHelper.narrow(NamingContextHelper.java:69)
    at com.sun.jndi.cosnaming.CNCtx.setOrbAndRootContext(CNCtx.java:345)
    at com.sun.jndi.cosnaming.CNCtx.initUsingCorbanameUrl(CNCtx.java:321)
    at com.sun.jndi.cosnaming.CNCtx.initUsingUrl(CNCtx.java:247)
    at com.sun.jndi.cosnaming.CNCtx.createUsingURL(CNCtx.java:85)
    at com.sun.jndi.url.iiop.iiopURLContextFactory.getUsingURLIgnoreRest(iiopURLContextFactory.java:56)
    at com.sun.jndi.url.iiop.iiopURLContextFactory.getUsingURL(iiopURLContextFactory.java:61)
    at com.sun.jndi.url.iiop.iiopURLContextFactory.getObjectInstance(iiopURLContextFactory.java:34)
    at oracle.j2ee.iiop.IIOPInitialContextFactory.getInitialContext(IIOPInitialContextFactory.java:76)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
    at javax.naming.InitialContext.init(InitialContext.java:219)
    at javax.naming.InitialContext.<init>(InitialContext.java:175)
    at hello.HelloClient.main(HelloClient.java:31)
    Caused by: java.lang.RuntimeException: java.net.ConnectException: Connection refused: connect
    at oracle.oc4j.corba.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSocketFactory.java:398)
    at com.sun.corba.ee.impl.legacy.connection.SocketFactoryConnectionImpl.<init>(SocketFactoryConnectionImpl.java:58)
    ... 19 more
    Caused by: java.net.ConnectException: Connection refused: connect
    at sun.nio.ch.Net.connect(Native Method)
    at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:460)
    at java.nio.channels.SocketChannel.open(SocketChannel.java:146)
    at oracle.oc4j.corba.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSocketFactory.java:389)
    ... 20 more
    javax.naming.CommunicationException: Cannot connect to ORB [Root exception is org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 20
          at com.sun.jndi.cosnaming.CNCtx.setOrbAndRootContext(CNCtx.java:362)
          at com.sun.jndi.cosnaming.CNCtx.initUsingCorbanameUrl(CNCtx.java:321)
          at com.sun.jndi.cosnaming.CNCtx.initUsingUrl(CNCtx.java:247)
          at com.sun.jndi.cosnaming.CNCtx.createUsingURL(CNCtx.java:85)
          at com.sun.jndi.url.iiop.iiopURLContextFactory.getUsingURLIgnoreRest(iiopURLContextFactory.java:56)
          at com.sun.jndi.url.iiop.iiopURLContextFactory.getUsingURL(iiopURLContextFactory.java:61)
          at com.sun.jndi.url.iiop.iiopURLContextFactory.getObjectInstance(iiopURLContextFactory.java:34)
          at oracle.j2ee.iiop.IIOPInitialContextFactory.getInitialContext(IIOPInitialContextFactory.java:76)
          at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
          at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
          at javax.naming.InitialContext.init(InitialContext.java:219)
          at javax.naming.InitialContext.<init>(InitialContext.java:175)
          at hello.HelloClient.main(HelloClient.java:31)
      Caused by: org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 201  completed: No
          at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.java:1739)
          at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.java:1757)
          at com.sun.corba.ee.impl.legacy.connection.SocketFactoryConnectionImpl.<init>(SocketFactoryConnectionImpl.java:74)
          at com.sun.corba.ee.impl.legacy.connection.SocketFactoryContactInfoImpl.createConnection(SocketFactoryContactInfoImpl.java:77)
          at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.beginRequest(CorbaClientRequestDispatcherImpl.java:152)
          at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.request(CorbaClientDelegateImpl.java:121)
          at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaClientDelegateImpl.java:214)
          at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:112)
          at org.omg.CosNaming.NamingContextHelper.narrow(NamingContextHelper.java:69)
          at com.sun.jndi.cosnaming.CNCtx.setOrbAndRootContext(CNCtx.java:345)
          ... 12 more
      Caused by: java.lang.RuntimeException: java.net.ConnectException: Connection refused: connect
          at oracle.oc4j.corba.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSocketFactory.java:398)
          at com.sun.corba.ee.impl.legacy.connection.SocketFactoryConnectionImpl.<init>(SocketFactoryConnectionImpl.java:58)
          ... 19 more
      Caused by: java.net.ConnectException: Connection refused: connect
          at sun.nio.ch.Net.connect(Native Method)
          at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:460)
          at java.nio.channels.SocketChannel.open(SocketChannel.java:146)
          at oracle.oc4j.corba.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSocketFactory.java:389)
          ... 20 more
      NamingException: Cannot connect to ORB                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • "Multicast" support for EJB-EJB calls to cluster

    What I have to work with:
    + WebLogic Server 5.1 cluster
    + Stateless session EJBs
    What I want to do:
    + Be able to know list of available servers in the cluster
    and use this list to broadcast same information to all EJBs
    with same name in cluster
    + I understand that the cluster-aware EJB stub has this list
    when a client gets a home reference to the EJB Object
    + I have not seen any specific WebLogic API to get this list
    either by accessing the cluster-aware JNDI table or the
    cluster-aware EJB stub.
    + Othwerwise, I would then need to implement my own server
    list manager to get this list. Such task should not be that difficult.
    Why I want to do the above:
    + I would like to implement a EJB sendAll() method that will
    send the same request to all EJBs of the same JNDI name in the cluster.
    + Please correct me if I am wrong but I have not seen anywhere
    in the WebLogic 5.1 documentation regarding the automatic multicast
    ability of broadcasting EJBs calls via EJB-to-EJB communication to a
    cluster.
    + I understand that multicasting is only used internally, ie,
    heartbeats.
    Plus, I believe that RMI does not support multicasting.

    I'd like to hear a bit more about what you are trying to do. (at a
    higher level)
    RMI / EJB is a point-to-point model. A client is making an RMI call to
    a server. Granted, in our clustering solution, there may not be one
    physical server, but the idea is to give the appearance of one big,
    reliable server.
    -- Rob
    Ren Bitonio wrote:
    >
    What I have to work with:
    + WebLogic Server 5.1 cluster
    + Stateless session EJBs
    What I want to do:
    + Be able to know list of available servers in the cluster
    and use this list to broadcast same information to all EJBs
    with same name in cluster
    + I understand that the cluster-aware EJB stub has this list
    when a client gets a home reference to the EJB Object
    + I have not seen any specific WebLogic API to get this list
    either by accessing the cluster-aware JNDI table or the
    cluster-aware EJB stub.
    + Othwerwise, I would then need to implement my own server
    list manager to get this list. Such task should not be that difficult.
    Why I want to do the above:
    + I would like to implement a EJB sendAll() method that will
    send the same request to all EJBs of the same JNDI name in the cluster.
    + Please correct me if I am wrong but I have not seen anywhere
    in the WebLogic 5.1 documentation regarding the automatic multicast
    ability of broadcasting EJBs calls via EJB-to-EJB communication to a
    cluster.
    + I understand that multicasting is only used internally, ie,
    heartbeats.
    Plus, I believe that RMI does not support multicasting.--
    Coming Soon: Building J2EE Applications & BEA WebLogic Server
    by Michael Girdley, Rob Woollen, and Sandra Emerson
    http://learnweblogic.com

  • JDBC driver does not support XA, hence cannot be a participant in two-phase

    Hi
    I have a question, we enabled "One Phase Commit", even though we are getting "javax.transaction.xa.XAException: JDBC driver does not support XA, hence cannot be a participant in two-phase commit. To force this participation, set the GlobalTransactionsProtocol attribute to LoggingLastResource (recommended) or EmulateTwoPhaseCommit for the Data Source =nested exception is: javax.transaction.xa.XAException: JDBC driver does not support XA, hence cannot be a participant in two-phase commit. To force this participation, set the GlobalTransactionsProtocol attribute to LoggingLastResource (recommended) or EmulateTwoPhaseCommit for the Data Source". Why is that?
    Thanks
    Edited by: user7256072 on Apr 10, 2012 12:35 PM

    Is there more than one resource participating in the transaction?
    If this is the case, and the resources are for example a database and JMS, you can emulate XA
    by using the logging last resource setting on a non-XA driver.
    An example of the above is presented here: http://middlewaremagic.com/weblogic/?p=7716 (the section my first JavaEE6 application)
    Here a stateless EJB is used that has an insertPerson method that uses a datasource and JMS in a transaction.

  • SAP NetWeaver CE 7.1 EHP1 does not support version 1.5 JCA?

    Hi,
    I've been following the documentation of SAP NetWeaver CE 7.1 EHP1 regarding creation of a version 1.5 resource adapter. When I finally got to "Add/Remove projects" in the server view to test my adapter, I get this error:
    The server does not support version 1.5 of the J2EE Connector module specification
    Is this true? Then why does the documentation explain how to do it?
    Regards,
    Johan

    >
    Johan Hoogenboezem wrote:
    > Hi Yordan
    > No it is this one: [http://help.sap.com/saphelp_nwce711/helpdata/en/44/edb79d7f7303fde10000000a1553f6/content.htm|http://help.sap.com/saphelp_nwce711/helpdata/en/44/edb79d7f7303fde10000000a1553f6/content.htm]
    >
    > I'm used to the tuturials spelling out the creation of the application project whereas point 3 (c) of "Creating a Connector Project"
    > on that page does not make it clear that an application project is needed. Usually there is a separate heading for that, like
    > "Creating the application project". It seems silly, now, but at the time that is how I interpreted it.
    > Regards,
    > Johan
    Hi Johan,
    I agree with you that this does not seem clear enough throughout the Resource Adapters documentation.
    Generally speaking about the Developer Studio, there are two equivalent options to add your project (be it JCA, EJB, Web, JPA, etc.) to an EAR project:
    While creating your project, you can specify that you want it to be added to an EAR project - either a new one or an existing one (you can create the new EAR project also in the meantime, while creating your JCA project). This is done using the "Add your project to an EAR" checkbox and the relevant dropdown list and button...
    Create your project. Then create a new EAR project and specify which projects you want to be included in the EAR.
    As I promised, we will improve that part of the documentation for the next release.
    Thanks again, and best regards,
    Yordan

  • Does WLS support Debugging Servlets with JBuilder 3 ?

    I have read all the news groups and it appears that WLS 4.5.1 does not
    support debugging Servlets with Jbuilder 3.0.
    I am using the trial version, does this matter ?
    Or should I just buy another web server ?
    Joe

    I think below documents will be helpful to you.
    http://docs.oracle.com/cd/E23943_01/apirefs.1111/e13952/taskhelp/webservices/webservicesecurity/CreateDefaultWSSConfig.html
    This document tell you that you can attach a weblogic webservice configuration using weblogic admin console.
    After creating this configuration you need to updated this configuration as per the steps given under :
    Use X.509 certificates to establish identity
    Thanks,
    sandeep

  • Does RMI supports multi threading?

    Hi, Does RMI supports Multi threading or not? What is the disadvantage of RMI and why EJB came?
    Thanks in advance
    By
    vinod

    (a) yes
    (b) firewall penetration is its biggest problem
    (c) EJB is built over RMI, don't get the wrong idea about that. It's a large topic - search as recommended, especially for the Sun White Papers

  • Does not support public parts with purpose assembly...

    Hi,
    When building a component, I'm getting the following error:
    Server Component/Library DC does not support public parts with purpose 'assembly'.
    Error: Build stopped due to an error: Server Component/Library DC does not support public parts with purpose 'assembly'.
    Build plugin finished at 2011-03-24 12:12:40 GMT+01:00 (CET)
    Total build plugin runtime: 0.311 seconds
    Build finished with ERROR
    To be more precise, one dc uses another from a public part that is "assembly" - so it's made the way it should be (both dc's are libraries, one java dc and the second one is server library)

    Hi,
    we are with NWDS 7.20 but afaik the "J2EE Server Component Library" in your version was replaced by Enterprise Application DCs in the meantime, so it is quite simple:
    An assambly PP on a J2EE Server Component Library really does not make sense. The J2EE Server Component Library is the final assembly unit. You may use such a DC in two ways:
    1. You want to use the classes that are bundled into the J2EE Server Component Library for compilation in another DC (Java or EJB). To achieve this you may create a COMPILATION PP on the J2EE Server Component Library that references compilation PP e.g. of your  java DC. (The alternative is to let the using java DC directly reference the compilation PP of your Java DC.)
    2. You have another assembly unit - e.g. an Enterprise application or another J2EE Server Component Library - that needs the classes in your J2EE Server Component Library at runtime. This is done by an application reference (in 7.20 defined in META-INF/application-j2ee-engine.xml of the DC that uses your J2EE Server Component Library). At runtime, the result is that your (initial) J2EE Server Component Library is the "parent class loader" of a using DC.
    So indeed, there is no need for a PP of type assembly for a J2EE Server Component Library. This DC does not contrubute anything for assembly into another DC.
    Rework your dependencies and PPs. [This PDF document|http://www.google.de/url?sa=t&source=web&cd=21&ved=0CBwQFjAAOBQ&url=http%3A%2F%2Fwww.sdn.sap.com%2Firj%2Fscn%2Findex%3Frid%3D%2Flibrary%2Fuuid%2F60d99678-1a29-2d10-94b4-9d9a67b7199b%26overridelayout%3Dtrue&ei=C1aSTZzgHsj0sga6l53QBg&usg=AFQjCNFGx2NeVkfWlnh0wGKsMasL95g18A] may be helpful.
    Cheers,
    Rolf

  • Help in creating simple statefull EJB program

    Hello , i m new to EJB and right now i m developing statefull ejb application. I have created stateless ejb application and it was working well but now facing some problem with maintaining state in statefull ejb application.
    Here i m simply developing one counter application ... what i have done is as below ....
    ============================ CounterBean ================
    package ejb;
    import javax.annotation.PostConstruct;
    import javax.ejb.Stateful;
    @Stateful (mappedName="ejb/CounterBean")
    public class CounterBean implements CounterBeanRemote {
    private int _count;
    @PostConstruct
    public void initialize()
    _count = 0;
    public int increment() {
    _count++;
    return _count;
    =================Remote interface for CounterBean==========================
    package ejb;
    import javax.ejb.Remote;
    @Remote
    public interface CounterBeanRemote {
    public int increment();
    =========================index.jsp===================jsp page to get result from ejb ========
    <%@page contentType="text/html" pageEncoding="UTF-8" import="ejb.CounterBeanRemote,javax.naming.InitialContext"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%!
    CounterBeanRemote _CBR = null;
    %>
    <%
    InitialContext _IC = new InitialContext();
    CBR = (CounterBeanRemote) IC.lookup("ejb/CounterBean");
    out.println(_CBR.increment());
    %>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>JSP Page</title>
    </head>
    <body>
    <h1>Hello World!</h1>
    </body>
    </html>
    ===============================================================
    so, here every time i refresh my page counter should be increase as i m using statefull bean ...
    but its not happening ....
    every time i refresh page, all time result coming is only 1 ... its not incrementing .... can any one tell me what i m doing wrong ..... i m not able to maintain state ....
    thnks .... please reply ....

    The issue is not where to put the lookup code. The issue is that each call to InitialContext.lookup() produces a new Stateful session bean instance. It's the reference that is returned from lookup() that represents the interaction with a particular client. You'll need to store that reference somewhere across the multiple client interactions in order to maintain the statefulness you're looking for. Typically, that means storing it within the HttpSession.
    --ken                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Does BPEL support wsHttpBinding?

    Hi,
    I'm trying to invoke a WCF service using wsHttpBinding without success. Does BPEL support wsHttpBinding? If so, what the process to getting this to work. Any help is greatly appreciated.

    Yes it does, here is a post that may be useful
    Binding Fault invoking an axis2 webService from BPEL
    also there is an example in the samples directory for http binding
    SOA_HOME/bpel/samples/tutorial/
    cheers
    James

  • Does RAP support custom ECDSA certificate for terminating on controller ?

    Q: Does RAP support custom ECDSA certificate for terminating on controller ?
    A: From 6.3 RAP supports custom certificate both RSA and ECDSA for terminating on controller.No additional license required for terminating RAP with custom RSA certificate. However in order to use ECDSA we need ACR license. RAP supports DER,PEM and PKCS12 formats for uploading certificates
    (Aruba) #show crypto isakmp sa peer 10.1.1.252
    Initiator IP: 10.1.1.252
    Responder IP: 10.1.1.2
    Initiator: No
    Initiator cookie:80422941ab0bd9f4 Responder cookie:c1011c781ed24a2e
    SA Creation Date: Thu Jul 23 13:34:42 2015
    Life secs: 28800
    Initiator Phase1 ID: C=US S=CA L=sunneyvale O=Aruba OU=IT CN=00:0b:86:8f:57:f5 E=[email protected]
    Responder Phase1 ID:
    Exchange Type: IKE_SA (IKEV2)
    Phase1 Transform:EncrAlg:AES256 HashAlg:HMAC_SHA2_384_192
    Authentication Method: ECDSA with SHA-384 on the P-384 curve
    IPSEC SA Rekey Number: 0
    Aruba AP

    I think below documents will be helpful to you.
    http://docs.oracle.com/cd/E23943_01/apirefs.1111/e13952/taskhelp/webservices/webservicesecurity/CreateDefaultWSSConfig.html
    This document tell you that you can attach a weblogic webservice configuration using weblogic admin console.
    After creating this configuration you need to updated this configuration as per the steps given under :
    Use X.509 certificates to establish identity
    Thanks,
    sandeep

  • OC4J support local ejb?

    It seems OC4J does not support local ELB, as it complains the local-home tag with session tag.

    Hi Patrick,
    As far as I know, OC4J only partially implements EJB 2.0 -- it
    doesn't implement local interfaces. However, there are several,
    different versions available. Which version are you using?
    If you haven't already found it, there is a version of the pet
    store application available for download from:
    http://technet.oracle.com/sample_code/tech/java/oc4j/content.html
    but it's an implementation of the 1.1.2 version.
    Hope this helps,
    Avi.

Maybe you are looking for

  • I just replaced my mac pro with an iMac and i can't get it to work with my epson stylus 3800 printer?

    i just replaced my mac pro with an iMac and i can't get it to work with my epson stylus 3800 printer? i have downloaded the 3800 software three times and the imac keeps telling me there is no software to run the printer? Any help here?

  • Error Message when trying to open AppWorld

    I downloaded AppWorld to my phone and when I tried to open it I got: Error starting net_rim_bb_appwprld: Module 'net_rim_bb_appwprld-6' not found Why did I get this and how can it be fixed? Thanks! Solved! Go to Solution.

  • PO history not populated using BAPI_ACC_DOCUMENT_POST

    Hi, I am using the BAPI u2013 u2018BAPI_ACC_DOCUMENT_POSTu2019 for simulating down payment requests(F-47). I have successfully posted the document using this and related tables are also updated. However in the associated PO, the PO history tab do not

  • Increase in pay(Salary)action/ promotion action

    Dear all In this action what are the infotypes used in this action request u if you have any document on this pls share pls carify is increase in salary action or promotion action are same

  • ALV using  OO method is giving problem

    Hello Experts, I am populating button in one ALV column conditionally. that button is coming fine... but i see the text on button taken from the previous column value...  i want it blank otherwise... my custom text... how can I achieve that ? pls hel