Webdynpro + EJB

<PRE>
Dear All,
In our project, we are using EJBs as Model. I have created EJB and placed them in EAR file.
When i am trying to deploy the EAR file i am getting the following exception.
Jun 11, 2010 9:58:00 AM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
[001]Deployment aborted
Settings
SDM host : evoepdevp
SDM port : 50018
URL to deploy : file:/C:/DOCUME1/ADMINI1/LOCALS~1/Temp/temp47925PPSCostCenterEAR.ear
Result
=> deployment aborted : file:/C:/DOCUME1/ADMINI1/LOCALS~1/Temp/temp47925PPSCostCenterEAR.ear
Aborted: development component 'PPSCostCenterEAR'/'sap.com'/'localhost'/'2010.06.11.09.57.17'/'0':Caught exception during application
deployment from SAP J2EE Engine's deploy service:java.rmi.RemoteException: Cannot deploy application sap.com/PPSCostCenterEAR.. Reason:
Incorrect QL query: , errors: line 1: expecting "select", found '<end-of-query>'line 1: expecting "from", found '<end-of-query>'.; nested
exception is:      com.sap.engine.services.deploy.container.DeploymentException: <--Localization failed:
ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle',
ID='com.sap.engine.services.ejb.exceptions.deployment.EJBDeploymentException: Incorrect QL query: , errors: line 1: expecting "select", found
'<end-of-query>'line 1: expecting "from", found '<end-of-query>'.     at
com.sap.engine.services.ejb.deploy.ejbql.QLTranslator.prepareQLContext(QLTranslator.java:191)     at
com.sap.engine.services.ejb.deploy.ejbql.QLTranslator.translateQuery(QLTranslator.java:103)     at
com.sap.engine.services.ejb.deploy.ejbql.QLTranslator.translateAllQueries(QLTranslator.java:171)     at
com.sap.engine.services.ejb.deploy.DeployAdmin.translateQL(DeployAdmin.java:1271)     at
com.sap.engine.services.ejb.deploy.DeltaDeployAdmin.makeUpdate(DeltaDeployAdmin.java:177)     at
com.sap.engine.services.ejb.EJBAdmin.makeUpdate(EJBAdmin.java:558)     at
com.sap.engine.services.deploy.server.application.UpdateTransaction.makeComponents(UpdateTransaction.java:400)     at
com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:321)     at
com.sap.engine.services.deploy.server.application.UpdateTransaction.begin(UpdateTransaction.java:164)     at
com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:292)     at
com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:326)     at
com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3186)     at
com.sap.engine.services.deploy.server.DeployServiceImpl.update(DeployServiceImpl.java:671)     at
com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1278)     at
com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:319)     at
com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:200)     at
com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:136)     at
com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)     
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)     at
com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)     at
java.security.AccessController.doPrivileged(AccessController.java:219)     at
com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)     at
com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)', Arguments: []--> : Can't find resource for bundle
java.util.PropertyResourceBundle, key com.sap.engine.services.ejb.exceptions.deployment.EJBDeploymentException: Incorrect QL query: ,
errors: line 1: expecting "select", found '<end-of-query>'line 1: expecting "from", found '<end-of-query>'.     at
com.sap.engine.services.ejb.deploy.ejbql.QLTranslator.prepareQLContext(QLTranslator.java:191)     at
com.sap.engine.services.ejb.deploy.ejbql.QLTranslator.translateQuery(QLTranslator.java:103)     at
com.sap.engine.services.ejb.deploy.ejbql.QLTranslator.translateAllQueries(QLTranslator.java:171)     at
com.sap.engine.services.ejb.deploy.DeployAdmin.translateQL(DeployAdmin.java:1271)     at
com.sap.engine.services.ejb.deploy.DeltaDeployAdmin.makeUpdate(DeltaDeployAdmin.java:177)     at
com.sap.engine.services.ejb.EJBAdmin.makeUpdate(EJBAdmin.java:558)     at
com.sap.engine.services.deploy.server.application.UpdateTransaction.makeComponents(UpdateTransaction.java:400)     at
com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:321)     at
com.sap.engine.services.deploy.server.application.UpdateTransaction.begin(UpdateTransaction.java:164)     at
com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:292)     at
com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:326)     at
com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3186)     at
com.sap.engine.services.deploy.server.DeployServiceImpl.update(DeployServiceImpl.java:671)     at
com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1278)     at
com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:319)     at
com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:200)     at
com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:136)     at
com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)     
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)     at
com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)     at
java.security.AccessController.doPrivileged(AccessController.java:219)     at
com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)     at
com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176) (message ID:
com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
Deployment exception : The deployment of at least one item aborted
</PRE>
Edited by: Hari Krishna Dandhibhotla on Jun 11, 2010 6:39 AM

Entity Bean Annotation
@abstractSchemaName PPSCostCenterBean
@cmpVersion 2.x
@ejbHome <{com.ibm.examples.ppscostcenter.PPSCostCenterHome}>
@ejbLocal <{com.ibm.examples.ppscostcenter.PPSCostCenterLocal}>
@ejbLocalHome <{com.ibm.examples.ppscostcenter.PPSCostCenterLocalHome}>
@ejbPrimaryKey <{java.lang.String}>
@ejbRemote <{com.ibm.examples.ppscostcenter.PPSCostCenter}>
@hasSimplePK
Stateless Session Bean Annotation
@ejbHome <{com.ibm.examples.ppscostcenter.PPSCostCenterProcessorHome}>
@ejbLocal <{com.ibm.examples.ppscostcenter.PPSCostCenterProcessorLocal}>
@ejbLocalHome <{com.ibm.examples.ppscostcenter.PPSCostCenterProcessorLocalHome}>
@ejbRemote <{com.ibm.examples.ppscostcenter.PPSCostCenterProcessor}>
@stateless
@transactionType Container

Similar Messages

  • Logging & Tracking of webdynpro/EJB projects using NetWeaver Administrator

    Hi,
    I need to implement logging & tracking mechanism into my WebDynpro as well as my ejs(exposed as webservice).
    I have implementated the code given on the site:
    http://help.sap.com/saphelp_nw04s/helpdata/en/c6/cc218997893949900a1eafca819246/frameset.htm
    I manage to write  logs & traces, however, for a single exception such as a "null pointer exception", instead of getting one trace message, i am getting mutiple messages.
    <b>The only difference between those messages is that, only one message has "com.sap.<my project package name>" as the 'Location'. The remaining messages have <i>System.err</i> as the location</b>.
    So i assume the remaining messages are error messages.
    I need to know why these multiple messages are getting logged.
    Every line of code, where a location or category object is used, it displays multiple trace messages, having location : <i>System.err</i>

    Hi David,Srivastava&Benjamin,
    I did the following in \usr\sap\<SID>\SYS\global\security\data\icm_f ilter_rules.txt
    "# ICM Rewrite Rules for NWA (restrict access to local host)
    #if %{REMOTE_ADDR} !stricmp 127.0.0.1 [AND]#
    if %{REMOTE_ADDR} !stricmp ::1#
    RegIRedirectUrl ^/webdynpro/resources/sap.com/tc~lm~itsam~ui~mainframe~wd/.*$
    /nwa/remote_access_error [QSA]"
    If we want to delete the content which has to be deleted? I mean from where to where?
    Regards,
    Chandrababu

  • Using Web Dynpro authentication for a Web Service call

    Hi all,
    I want to develop a Web Dynpro that calls a Web Service running on the same Web AS (7.0). The Web Dynpro will be integrated in a Portal. The web service that has to be called is automatically generated when we create a guided procedure :
    http://help.sap.com/saphelp_nw2004s/helpdata/en/44/44c59fd7c72e84e10000000a155369/frameset.htm
    In my Web Dynpro, I imported the WSDL of this WS and created a model.
    The first time I tried to call the WS in my Web Dynpro I got an authentication error :
    Service call exception; nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized. The requested URL was:"http://<myHostName>:50100/GPRuntimeFacadeWS/GPProcessExposing?style=document&pid=CA544E9B629A11DB91480017A48D672A&pver=0.5"
    So I hard-coded an HTTP authentication :
         model._setUser("myWASuser");
         model._setPassword("myPassword");
    And the Web Service call now works.
    Now the next step is that the WS call is made by the user that runs the Web Dynpro. So I found this documentation :
    http://help.sap.com/saphelp_nw04/helpdata/en/59/e8e95d1eba48dfa86ae91ad8816f5d/frameset.htm
    It would resolve my authentication problem, AND the transport issue : at the moment the Web Service URL is stored in the Logical Port of the WD model, and at transport time, a rebuild of the WD project will be needed.
    So I applied what is said in the doc : from the point of view of the Web Service consumer, I just had to add :
        model._setHTTPDestinationName("STARTGP");
    (where STARTGP is the name of the destination I created in the Visual Administrator with a "Logon Ticket" authentication.)
    before the execute(), and I removed my hardcoded authentication.
    Unfortunately, nothing changes... I still get a 401 authentication error.
    Does anyone have an idea about this ? Or maybe a workaround ?
    Thanks in advance for any suggestion.
    Regards,
    Julien

    Hello Julien,
    I have a scenario similar to yours. A client webdynpro application accessing a EJB methods exposed as web service. Those EJB's methods calls R3 RFC's. The client requirements' was to allow SSO through all the layers (Webdynpro -> EJB WS -> RFC). The Webdynpro and EJB's are deployed on the same WAS.
    Solution:
    1 - Create a RFC Destination on Visual Administration provide the R3 connection parameters and set the Authentication for "Current User (Logon Ticket)". Save your Destination;
    2 - In your EJB Project open your Web Service Configuration, on the Security page, set:
        Authentication Mechanism: HTTP Authentication
        Basic (username/password)
        Use SAP Logon Ticket
    3 - In your EJB, implement the following code to create JCO Client for the RFC invocations:
    Object obj = ctx.lookup(DestinationService.JNDI_KEY);
        DestinationService dstService = (DestinationService) obj;
        RFCDestination dst = (RFCDestination) dstService.getDestination("RFC", "<YOUR_RFC_DESTINATION_NAME>");
        Properties jcoProperties = dst.getJCoProperties();
        JCO.Client jcoClient = JCO.createClient(jcoProperties);
    4 - In your EAR Project, open your "application-j2ee-engine.xml" and add the References:
         "tc/sec/destinations/service" as Service
         "tc/sec/destinations/interface" as Interface.
    5 - Create your EAR File and Deploy;
    6 - Check if the web service now requires Authentication: go to http://<host>:<port>/index.html and click on Web Services Navigator. Test your Web Service. Your Web Service should requiere you to log in before execute the test;
    7 - Go back to your Visual Administrator and create a HTTP Destination. Provide your WS URL (should be something like "http://<host>:<port>/<WS_NAME>/Config1?style=document"). Choose Authentication: Logon Ticket. Save your Destination;
    8 - Go to your webdynpro project, import your WS Model. (If you have already created it, you have to delete it and import it again, refer to this blog on how to reimport WS Models: /people/bertram.ganz/blog/2005/10/10/how-to-reimport-web-service-models-in-web-dynpro-for-java  How To Reimport Web Service Models in Web Dynpro for Java );
    9 - Open your model's Logical Ports node, go to the Security tab, and choose "Use SAP Logon Ticket";
    10 - In your webdynpro code, before you call the ws invocation (should be something like that: <YOUR_NODE_DEFINITION>.modelObject().execute();), include the following line:
    <YOUR_NODE_DEFINITION>.modelObject()._setHTTPDestinationName("<YOUR_HTTP_DESTINATION_NAME>");
    11 - Save All Metadata and deploy your Webdynpro App. Test your results.
    I hope it helps you, as the documentation on how to implement this scenario is scattered through the SDN and all the SAP help portal.
    Best regards,
    Paulo.

  • Speed of Entity Beans

    Hi, friends!
    I need advice.
    I have a table with 46 columns, and EJB engine for this table. I use this engine from WebDynpro (EJB Model). And i have problem with speed of output records from this table. The process of output 60 records take about 1 min. I added 5 records to the table, and get exception during the output process:
    <b>java.rmi.RemoteException: Service call exception; nested exception is: java.net.SocketTimeoutException: Read timed out</b>
    In my SQL querys i use ORDER BY primaryKey (type long).
    How i can improve my EJB Engine?
    Best regards, Andrey.

    Hi, friends!
    I need advice.
    I have a table with 46 columns, and EJB engine for this table. I use this engine from WebDynpro (EJB Model). And i have problem with speed of output records from this table. The process of output 60 records take about 1 min. I added 5 records to the table, and get exception during the output process:
    <b>java.rmi.RemoteException: Service call exception; nested exception is: java.net.SocketTimeoutException: Read timed out</b>
    In my SQL querys i use ORDER BY primaryKey (type long).
    How i can improve my EJB Engine?
    Best regards, Andrey.

  • How to Retrive data from db using EJB in WebDynpro

    hi...
    i m using EJB's for backend connection in WebDynpro .in which i m able to store data in sapdb .for this i followed one tutorial which i have mentioned bellow which works perfectly.Now in the same Tutorial i want to retrive the data from database and disply it in WebDynpro
    i .e i want to disply bonus when i give ssn no and also i want to disply all data in db.
    Please help me as i m totaly new to this environment and also first time i m working on EJB.its very urgent
    Thanks and Regards
    Sonal<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1f5f3366-0401-0010-d6b0-e85a49e93a5c">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1f5f3366-0401-0010-d6b0-e85a49e93a5c</a>

    hi...
    i m using EJB's for backend connection in WebDynpro .in which i m able to store data in sapdb .for this i followed one tutorial which i have mentioned bellow which works perfectly.Now in the same Tutorial i want to retrive the data from database and disply it in WebDynpro
    i .e i want to disply bonus when i give ssn no and also i want to disply all data in db.
    Please help me as i m totaly new to this environment and also first time i m working on EJB.its very urgent
    Thanks and Regards
    Sonal<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1f5f3366-0401-0010-d6b0-e85a49e93a5c">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1f5f3366-0401-0010-d6b0-e85a49e93a5c</a>

  • How can i access the EJB from a Webdynpro

    Dear all,
    How can i access the ejb , from a webdynpro?.
    Is there any way to do that?.
    I want to write the entire code (business functions) within the EJB and i wan to access the entire methods from a WebDynpro Application.This is the situation.
    Please help me to , resolve this problem.(Here im using JDBC Connection .. etc.).
    I want to do the basic connection setting's and data retrieval part within the EJB and use that within the WebDynpro..
    how can i seperate this two(i mean, i want to seperate the JDBC connections and WebDynpro,i dont want to hard code any connection parameters within the webdynpro code)
    So that i want use that saet of particular function's in many webdynpro applications..
    (i dont need any help regarding webservice way.)
    If anyone can , please help me..
    I tried that javabean class , manifest file , that way (importing javabean model).
    but im getting errors.
    I cant properly utilize that..
    So please help me with steps regarding that,,
    for javabean
    and if any , for EJB also..
    with regards
    Kishor.G

    HI,
    Since webdynpros follows Model View Controller Architecture You can access EJBs in webdynpro(views/frontend) infact to connec to database uding JDBC you have to utilise EJB ( opening connection to database closing, and other Business functionality).See this link
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/unkown/web dynpro tutorial and sample applications.faq#q-7
    <b>How to access the Car Rental Web Service?</b>
    Regards,
    RK

  • EJB 3.0 entity beans and WebDynpro models

    Hi all,
    first off all my setup:
    WebDynpro Development Component: dcA
    EJB Module Development Component: dcB
    i wan't to create Entity Beans in dcB an use it for my model in dcA.
    My questions:
    1. Why does the "New Wizard" only offer EJB 3.0 Session and Message Beans an no Entity Beans? What is the correct way for creating Entity Beans in DevStudio?
    2. Is ist right that i have to define a public Part containing the Entity Bean to make it visible to dcA?
    Regards,
       Christian

    Hi,
    I'm experiencing same problems, is this a bug or an feature?

  • Call stateless session bean EJB 2.0 from Webdynpro Java UI

    Hello,
    Can someone please tell me asto how to call a stateless session bean EJB 2.0 from Webdynpro Java UI?
    The NWDS version is 7.0.
    Thanks and Regards,
    Arya

    Hi Aryadipta
    Please check this pdfs
    https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/b00917dc-ead4-2910-3ebb-b0a63e49ef10&overridelayout=true
    Steps for calling stateless session bean in Webdynpro java
    Go to NWDS -> open perspective ->j2ee
    select EJB Module Project ->create a project with name
    Open the Project -->RC on ejb-jar.xml -> Select new --> EJB
    Give name to EJB Bean (First letter should be in capital letters)
    select the type of bean as Stateless session bean and give the package name to store that EJB bean.
    After that Expand ejb-jar.xml and then select the <projectEJB> 
    Double click on this on method  tab double click you will get business method where we will create the methods for business logic
    Double click on projectEJB and then RC on bean tab and write required business logic in bean window as follows(based on requirement we will design a business logic).
    After writing the business logic go to project -> rebuild
    Till now we have created one EJB jar file
    then go to File-->Enterprise Application Project -->create a project (projectEAR)
    After creating a project click on next-> here we will have ear projects and then we select specific project required for our application.(here select projectEJB)
    After that Calculate EAR project will be available on j2ee explorer.
    Right click on <Bean> here
    select New->Web Service->give a name to webservice and select Default configuration type as simple SOAP
    -->click next -> Finish.
    That webservice and related are created in ejb-jar.xml .
    Expand the ejb-jar.xml.and double click on < webservice>
    RC ProjectEJB -> Build EJB Archive RC on CalculateEAR ->Build applicationarchive.
    Expand the projectEAR->RC on CalculateEAR.ear->Deploy to J2EE Engine
    Double click on calculateEAR.ear ->Webservice navigator tab ->we eill servers expand the node
    select the specific WebService  
    Here we test the webservice by click on Test and test it.
    After that go to Web dynpro perspective ->create one webdynpro Project and one component
    RC on model> Select import Web Service model(last)>give model name and package
    and select radio button as local file system or URL
    Go to WSnavigator->copy the WSDL path and paste it in model WSDL path and click on finish.
    from here onwards steps are same as that adaptive RFC model
    Hope it helps
    Thanks
    Tulasi Palnati
    Edited by: Tulasi Palnati on Aug 26, 2009 12:15 PM
    Edited by: Tulasi Palnati on Aug 26, 2009 12:43 PM

  • How to transfer a (XML) file from EJB to WebDynpro / User ??

    Hello!
    Actually I'm working on an EJB which is able to generate an XML file by the data I saved before in a JDBC database.
    Now I'd like to create a WebDynpro view, from where the user can download this file (after giving the order to generate it) to his local machine.
    For the UI element FileDownload I already have inserted the binary type element into the context.
    Now I'm looking for the best way to transfer the XML file from the EJB to the view, so that it can be downloaded.
    Is it better to transfer it by DOMSource and to create the file in the view or to create the file in the EJB and transfer the binary data to the view?
    Or is there another possibility?
    Greetings,
    Ramó

    In transaction SM69 external operating system commands can be set up and then these can be executed using function SXPG_CALL_SYSTEM from ABAP or using SM49 transaction.
    See documentation in the function module and application help in the SM69 / SM49 transactions.
    You could set up commands for copy, move, delete for the relevant directories.  Be careful to limit the directories and set security appropriately.
    Andrew

  • Webdynpro & Webservice - EJB - JCA - SAP R/3

    I have a scenario,Webdynpro app using Webservice model and  WS would connect via EJB -BAPI - to SAP R/3. For Authentication UME is going to be used, SAP R/3 is going to be the data source.also Logontickets for SSO is being used.  I did have a look at "Protecting Access to the Web Dynpro Application Using UME Permissions " but I had few questions:
    By using the Destination service i understand that Logintickets are passed from Webdynpro to the Web service and inturn to EJB,But how are the login tickets passed from EJB to JCA or JRA to validate against SAP R/3. I did deploy the sapjra.rar file . but how do i modify that ra.xml incase if i need to?. does this scenario work? please suggest. are there any other documents that explains how to configure Resource adapter JRA to use login tickets.

    its because of the & sign. instead use it like below it will work.
    Z_SIMPLE_TEST_WS?sap-client=030&emp;wsdl=1.1
    in the above line replace 'e' in emp with 'a' (amp)
    Raja

  • How to call jsp/ejb in webdynpro applications

    Hi
    Is It Possible to call jsp and EJB in webdynpro applications.If it is please let me know..
    Regards
    Chandra

    Hi,
    You can call JSp and serlvets using suspend and resume plugs
    /people/bertram.ganz/blog/2006/07/03/web-dynpro-java-foundation--whats-new-in-sap-netweaver-2004s
    http://help.sap.com/saphelp_nw04s/helpdata/en/42/bb8c6cc7131d67e10000000a1553f6/frameset.htm
    For EJbs you can create a DTO and try to make use of the model import available in Webdynpro.
    Regards
    Ayyapparaj

  • WebDynpro accessing custom-build EJB applications

    Hi there,
    I have a query regarding WebDynpro accessing custom-build applications deployed on web-logic server and J2EE servers.Following is the scenario.
    There is central authentication mechanism deployed in J2EE server. GUI users (in EP) have to be authenticated through this application(EJB).
    In EP, this remote call would happen through the WebDynpro. After successful authentication, calls will be sent to another Weblogic server.
    Too many remote calls. How about the scalability & performance factors with WebDynPro?

    HI,
    Webdynpro and EP are almost same except coustomisation coming to picture in EP, why do you want webdynpro to EP to web logic, Just crate your UI in dynpro convert them to Iviews in EP through EP call wenlogic server/J2ee server i hope there will not be any hindarence to scalability or perfomance.
    when it comes to remote calls after all your going to call weblogic through EP but dynpro UI will be as an Iview
    I hope it helps you
    in case if you need further details let me know
    Regards
    RK

  • New Business Method in EJB not available in Webdynpro Model

    Hi,
    I am using EJBs for Business Logic in my webdynpro java application. I have added a new Business Method in one of the session bean. But I am not able to see the new method in webdynpro model. I am following the below procedure -
    1. Select the Session bean.
    2. Add New Business Method. It automatically adds the method in Remote and Local Interface.
    3. Implement thie new method.
    4. Build EJB project
    5. Add it to EAR
    6. Build EAR Project
    7. Deploy EAR Project
    After following above steps, when I am trying to create a model in my webdynpro project, it does not reflect the changes (context returned by new business method).
    Can any one help me on this ?
    Thanks in advance,
    Gaurav

    The issue is resolved. This is the case where methods in beans returns collections. For such scenario, relations have to be created manually, it does not come automatically. For details refer the blog at below link --
    /people/balaramnaidu.bankuru/blog/2006/04/23/importing-complex-javabean-model-into-webdynpro-by-creating-relationships-for-the-model-classes
    Thanks everyone.
    Gaurav

  • How to make a reference of Webdynpro DC in EJB/J2EE DC application

    Hi All
    I have a scenario wherein I have a Webdynpro DC which provides Connection services to all other Webdynpro DC application.
    Now ,I am trying to access this Webdynpro application(ConnectionManager Java class) in a EJB/J2EE DC project.
    I have exposed it as a Public part and have added it as a Used Dc in the EJB/J2EE DC project .
    At build time, i am able to access all the methods of the webdynpro application but at the run-time it's not identifying the Java classes.
    Note : There is no deplyment error.
    Is there any solution to this problem??
    Cheers

    Hi Navneet,
    you know the references in EAR project. ?
    it is in application-j2ee-engine.xml file.
    add reference for your web dynpro project there

  • Using ADS service in EJB application (without WebDynpro)

    Hi experts!
    Tell me, please, is there some way to use ADS outside WebDynpro Java application ?
    I need to create EJB function, which returns rendered PDF document based on XDP template using ADS, configured in NW 7.2 java server.
    I found an api to operate ADS in java in package com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.api, but its api included in tc/wd/api development component and not available in other apps except WDJ.
    Thanks for reply.

    Hi,
    Here is the code I use to create a task. I hope it could help you or help other users trying to do the same thing.
    IUWLService uwlService = (IUWLService)PortalRuntime.getRuntimeResources().getService(IUWLService.ALIAS_KEY);     
    UWLContext uwlContext = new UWLContext();
    IProviderConnector pc = uwlService.getRegisterProviderConnector(IProviderConnector.ADHOC_WORKFLOW_CONNECTOR_ID);
    Item item1 = new Item(
         IProviderConnector.ADHOC_WORKFLOW_CONNECTOR_ID,
         "system",
         "id1",
         uwlContext.getUserId(),
         -1,
         new java.util.Date(),
         "lkjh",
         null,
         "request1",
         "uwl.task",
         "uwl.task",
         PriorityEnum.NORMAL,
         StatusEnum.NEW,
         "Super Test"
    item1.setShared();
    Set users=new HashSet();
    IUserContext userContext = ((IPortalComponentRequest)getRequest()).getUser();
    users.add(userContext.getUniqueID());
    IUWLItemManager itemManager = uwlService.getItemManager(uwlContext);
    uwlService.getPushChannel().pushSharedItem(pc,item1,users);
    Regards,
    Renaud

Maybe you are looking for

  • Item already defined at a high level in the product tree

    Hi experts, when I add a BOM into the system, says A is consisted of B and C, I click the button to add this BOM, but system tell me an error "Item already defined at a high level in the product tree.  Row no. 2". Row no 2 is item C, I check all my B

  • Upgrade 11.5.10.2 to R12 on apps tier only

    Hussein, My Oracle EBS running on Split Tier architecture, 11.5.10.2 apps tier on sun server and 11.2.0.3 on Linux server. I am planning to upgrade R12. OATM is completed on the database server. Which is the best way to upgrade. As of now my option i

  • Study material for 1z0-052

    study material for1z0-052

  • App World Licence Key?

    I restored my BLack Bold 9900 three days ago and when I tried opening my App World it asked for a software key. Problem is I don't have one. Where van I get the key? 

  • LiveCycle has unhandled win32 exception

    Hi, Everybody. LiveCycle was running fine when I logged out last night.  This morning opening last nights file produced a "unhandled win32 exception occurred in FormDesigner.exe[5864]. and asked if I wanted to debug. When I selected NO, LiveCycle shu