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

Similar Messages

  • How to run J2EE application client remotely

    I have the Duke's Bank demo running on a Linux PC "crackpad" (http://thomasfly.com:8000/bank/logon CustomerID=200, Password=j2ee) which I can access LAN-wise as http://crackpad:8000/etc. Accessing the bank as an administrator using the J2EE app. client also works fine (locally) on the Linux PC.
    I've also installed & run the Bank demo on a Windows PC, so I have all the req'd ears & jars there as well. However, when I try to run the app client on the Windows PC (accessing the J2EE Reference Implementation server on running crackpad), I getC:\j2eetutorial\bank\jar> runclient -client DukesBankApp.ear -name BankAdmin
    Application threw an exception:javax.naming.NamingException: Serial Context failureI set the environment variables per http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/Tools10.html#65815 http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/Tools10.html :C:\j2eetutorial\bank\jar> echo %VMARGS%
    -Dorg.omg.CORBA.ORBInitialHost=crackpad
    C:\j2eetutorial\bank\jar> echo %APPCPATH%
    DukesBankAppClient.jar
    C:\j2eetutorial\bank\jar> dir DukesBankApp*.*
    07/10/2002  09:58 PM           420,480 DukesBankApp.ear
    07/10/2002  10:25 PM           712,814 DukesBankAppClient.jarHas anybody encountered this problem & solved it, or see anything that I've overlooked?

    I have the Duke's Bank demo running on a Linux PC "crackpad" (http://thomasfly.com:8000/bank/logon CustomerID=200, Password=j2ee) which I can access LAN-wise as http://crackpad:8000/etc. Accessing the bank as an administrator using the J2EE app. client also works fine (locally) on the Linux PC.
    I've also installed & run the Bank demo on a Windows PC, so I have all the req'd ears & jars there as well. However, when I try to run the app client on the Windows PC (accessing the J2EE Reference Implementation server running on crackpad), I getC:\j2eetutorial\bank\jar> runclient -client DukesBankApp.ear -name BankAdmin
    Application threw an exception:javax.naming.NamingException: Serial Context failureI set the environment variables per http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/Tools10.html#65815 :C:\j2eetutorial\bank\jar> echo %VMARGS%
    -Dorg.omg.CORBA.ORBInitialHost=crackpad
    C:\j2eetutorial\bank\jar> echo %APPCPATH%
    DukesBankAppClient.jar
    C:\j2eetutorial\bank\jar> dir DukesBankApp*.*
    07/10/2002  09:58 PM           420,480 DukesBankApp.ear
    07/10/2002  10:25 PM           712,814 DukesBankAppClient.jarHas anybody encountered this problem & solved it, or see anything that I've overlooked?

  • How to create and run Forms?

    Hi!
    I have install WebLogic server and Oracle Forms. WebLogic is running...
    What must I do now to be able to create some simple form and run it?

    Oracle Forms Builder is in Oracle Developer Suite 10g ( http://www.oracle.com/technetwork/developer-tools/developer-suite/downloads/index.html --> first in the "What's included")?
    -----EDIT----
    Ok. Now I know Oracle Forms Builder is in "Portal, Forms, Reports and Discoverer" package available from http://www.oracle.com/technetwork/middleware/downloads/fmw-11-download-092893.html
    I have already install that. May one tell me the name of the Oracle Forms Builder executable? (on Linux)

  • How to create and deploy portal applications for WebLogic TP10

    Hi Friends:-) Thej here,
    I want to know, how to create weblogic portal applications for tech preview version 10.
    Thanks

    The Tech Preview of 10.0 contains only WebLogic Server. WebLogic Portal 10.0 functionality is not contained in this preview. Therefore, you cannot create portal applications in this Tech Preview.
    Thank you.

  • XCB - how to launch and show an application (terminal for example)?

    Hello, everyone!
    I'm trying to learn XCB, but all of the tutorials I've found so far do not explain how can XCB used as a window manager.
    I understand how to draw a single window and add a string to it, but how can I launch something from it and show it to the user?

    XCB is an implementation of the client side of the X protocol.  In other words, it's a library for writing X applications and window managers; it's not a window manager itself.
    If you're interested in learning about how window managers launch applications, you probably want to read up on fork() and execve().  This is essentially how all processes are created on a Linux system (from init, a shell, window manager, etc.).
    Also, if you're interested in learning how window managers work, a good place to start might be tinywm.  It's a single C file intended to be the bare minimum to be a window manager.  It uses Xlib though, not XCB, but at this point your goal should be to understand the concepts.  Somebody out there may have created an XCB version by now, anyway...
    Last edited by cmtptr (2013-09-07 16:43:52)

  • Cookbook on how to create and attach networks to OVM for SPARC using OPS Center

    I have a smallish installation of a number of SPARC T5-4s, T5-2s and T4-2s provisioned with OVM for SPARC and managed by OPS Center 12c2.
    The OPS Center node is only connected to the ILOM/mgmt network, whereas the individual SPARC systems are connected to several other networks, some of which are VLAN tagged.
    I am somewhat confused by the actions necessary to create these additional networks; I read the "how to"s however, I am still at a loss as to how to start. When I try to create a fabric, it wants a network. When I try to create a network, it wants a fabric.
    Does anyone have a simple guide on how to add an additional network that I can then attach to my server pool?
    Thanks

    Hi 2682888
    Look this Video Oracle Enterprise Manager Ops Center 12c Assigning Networks to a Network Domain
    HTH
    Michele V.
    If you want, mark the reply as “Helpful Answer“ or “Correct Answer”. By marking replies correct or helpful, you make it easier for community members to find replies that might help them in a similar situation

  • How to create and see the user interface of helloworld sample??

    hello friends,
    i have deployed the hello world sample
    now i want to know how to create and see the user interface of hello world sample.
    thanks and regards..

    If you go to bpel console host:port/BPELConsole (in a dev install, localhost:9700), click on your process, we will generate, based on the describing wsdl a UI for you ..
    hth clemens

  • How to create and configure proxies in ADF mobile using OWSM client agent?

    Hi
    Can anyone please tell me how to create and configure proxies in ADF mobile application using Oracle Web Services Manager (OWSM) Lite Mobile ADF Application Agent. I read it in mobile document that,
    For secured web services, the user credentials are dynamically injected using ADF Mobile uses Oracle Web Services Manager (OWSM) Lite Mobile ADF Application Agent to create and configure proxies, as well as to request services through the proxies. The user credentials are injected into the OWSM enforcement context when proxies are configured.
    I am new with this OWSM, can anyone please give me some hints like how to proceed further for implementing authentication using OWSM lite mobile ADF Application Agent??
    Thanks in advance
    Raj

    Hi Juan
    The demo is very useful, and in that Shay describes about the remote login using a regular ADF webapplication as a secured one and deploying it into the server. But I would like to know how to create a local login using OWSM client agent? .
    Without creating a regular ADF webapplication, how can i call secured webservices(i.e., by using OWSM client agent how to create and configure proxies to call secured webservice, where the user credentials are injected into webservice request by OWSM client as mentioned in ADF mobile document)??
    Regards
    Raj

  • How to get rid of J2EE Login screen for each time Client App run?

    hi there,
    How to get riud of J2EE login screen for each time client application r un?
    regards,
    elvis

    in the j2ee tutorial they say that you should run like this:
    runclient -client <appjar> -name <name> -Dj2eelogin.name=guest -Dj2eelogin.password=guest123
    the only thing is that it did not work for me...let me know if it works for you.
    chukii

  • How to create and delete an Endeca application in Windows

    HI,
    can you please help me in ,
    how to create and delete an Endeca application inWindows machine not in Linux Machine.
    Thanks.....

    Hi,
    Steps to create an Endeca Application are clearly given in Getting Started Guide.
    http://docs.oracle.com/cd/E38680_01/Common.311/pdf/GettingStarted.pdf (Chapter 6 : Deploying a Reference Application)
    If you want to create an endeca application so as to integrate with Product Catalog system such as ATG using ATG 10.1.1 or above , then create an endeca application using the discover-data-catalog-integration reference application. Steps for doing this are documented in ProductCatalogDTGuide
    http://docs.oracle.com/cd/E38679_01/ToolsAndFrameworks.311/pdf/ProductCatalogDTGuide.pdf (Deploying the Product Catalog Application)
    To delete an Endeca Application that you have created in Windows/linux
    1. Navigate to the control directory of the application that you want to remove and execute the script
    runCommand.bat --remove-app (Removes the provisioning information with EAC admin console)
    2. Remove the instance configuration files for the application using the emgr_update command line utility
    emgr_update.bat host localhost:8006 app_name My_app action remove_all_settings prefix My_prefix
    3. You can then explicitly delete the directory in the Endeca_apps directory where you have initially created your application.
    If you are using discover-data-catalog-integration, you can remove the CAS Record Store Instances by navigating to CAS/bin directory and executing
    ./component-manager-cmd.sh delete-component -n {YOUR_APP_RECORD_STORE_NAME}
    Thanks,
    Shabari

  • How to create and share streaming video?

    Hi -
    I have finally finished a project in PE8 and I'd like to upload it to my website so that others can stream it.
    I have created output in FLV, MOV and MPG formats.
    I have uploaded them to my web server.
    However, whenever I link to the video, my browser (IE or Firefox) just asks to download or run it.
    Then, it tries to download the entire video - this is a problem as the files are up to 1.3gb.
    I've tried this:
    <html>
    <a href="myvideo.flv">CLICK HERE</a>
    </html>
    and this:
    <OBJECT CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
    CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab" WIDTH="160" HEIGHT="136" >
    <PARAM NAME="src" VALUE="myvideo.mov" >
    <PARAM NAME="autoplay" VALUE="true" >
    <EMBED SRC="myvideo.mov" TYPE="image/x-macpaint"
    PLUGINSPAGE="http://www.apple.com/quicktime/download" WIDTH="160" HEIGHT="136" AUTOPLAY="true"></EMBED>
    </OBJECT>
    and this:
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="400" height="400" >
    <param name="movie" value="myvideo.flv">
    <param name="quality" value="high" >
    <param name="LOOP" value="false">
    <embed src="myvideo.flv" width="400" height="400" loop="false" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></ embed >
    </ object >
    So, why isn't it streaming?
    Is it the video format?
    The embedding on the web page?
    My server?
    Perhaps you can share the details of how you created and setup a streaming video?
    Thanks....

    You need to embed a player for the file. This will differ by the file type that you choose. I'd probably go with a Flash player, but you have other choices.
    I'd post your request for the exact instructions, and HTML code needed, plus tips on optimization to the Muvipix "Community," probably under the "Water Cooler" sub-forum. The Webmaster there, Ron, is an expert in embedded players, as are several other subscribers. I'll bet that you'll get the exact code, with all sorts of useful tweaks, in no time. If Ron suggests another file type and player, listen to him, and not to me. I just deliver the streaming AV files in the exact format that my client asks for. They have their Webmaster use them in their particular page design. My job ends, before your's, now, begins.
    Good luck,
    Hunt

  • J2EE Application Client

    I used Sun Java Studio Enterprise to create a stateful session bean (Cart as in the J2ee Tutorial) and deployed it to Sun Application Server (v7). Then in the same application, I creaed a New EJB Test Application (web based test application) called Cart_TestApp by highlighting the Cart (EJB) node and clicking "Create New EJB Test Application" . Everything is perfect and I could use this Cart_TestApp (once again it is web based test app) to test each function defined in the CartHome, Cart. After that, I created another application client to test this Cart bean. The way I did is that I created another J2EE Application Client called CartTestClient by using Templates-->J2EE--->Application Client. Then in the property sheet of this Application Client, I specified two properties:
    1. Application Server----- Server1 (localhost:8080)
    2. EJB Reference----
    2.1 Reference Name---- ejb/Cart
    2.2 Reference EJB Name----Cart
    2.3 Type---Session
    2.4 Home Interface ----CartHome
    2.5 Remote Interface ---Cart
    After that, I built this Application Client and executed the Application Client, but Studio prompts the following error message:
    You must either set a target application, or provide a client stub jar path in the Sun Java System AS tab on the client property sheet!
    In this case, I clicked ellipse for the "Target Application" on the property sheet, which finally only allows me to specify "Cart_TestApp" , note not Cart(EJB), as the Target Application. And I did it. Finally it works just fine for the Application Test.
    Now my questions are:
    1. How to get the EJB client stub jar in the studio for this Cart (EJB)?
    2. Why does the Application Client work just fine after I specified the "Target Application" item in the property sheet as "Cart_TestApp" since "Cart_TestApp" is only a web based test application for the Cart (EJB)? It seems to me that the EJB Application Client has nothing to do with "Cart_TestApp" since both of them are just test clients (one is web based, another standalone java client). Any insights??
    Thanks.
    Yang

    I have figured it out now and actually Cart_TestApp is just an enterprise application generated by Studio with Cart(EJB) inside. Got confused it with SJSAS v8.

  • How to Create and Test a Zone of Type F1-APP-URL

    Hi,
    I would like to how to create and test a Zone of Type F1-APP-URL?
    What all is required to setup an ADF application based URL in F1-APP-URL, what to configure and what are the basics or definite steps required to have a Zone of Type F1-APP-URL up and running in the application? Any Sample ADF components to be created?
    Please kindly let me know. Any test or dummy URL existing already which is based on ADF?

    Refer to Doc. Id 1515146.1 on the support site. Although for the moment it refers to a MWM example and may not be much of a help but it'd give a basic idea as to how it should be done.

  • How to create and use dynamic queue in JMS

    Plz tell me how to create and use a dynamic queue in jms and can reciever file lookup it as it lookup any server configurred queue(written in the server).

    Hi,
    We can use Azure File services to do this, for more information, please have a look at this article:
    http://blogs.msdn.com/b/windowsazurestorage/archive/2014/05/12/introducing-microsoft-azure-file-service.aspx. The Azure File service exposes file shares using the standard SMB 2.1 protocol. Applications running in Azure can now easily share files between
    VMs using standard and familiar file system APIs like ReadFile and WriteFile.
    Best Regards,
    Jambor
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to deploy and run  EJB in eclipse without XDoclet

    Hi Friends
    I am new in j2ee.In my academic project i want to do some ejb programming.
    For that purpose i want to write some ejb's.I have written all required class for ejb,created ejb-jar.xml file manually,weblogic .xml file manually. I am using weblogic8 as an server for deployment.
    I know deployment with xdoclet but i want to know hoe to deploy ejb without xdoclet.
    If u have saple code or useful link regarding this please send it as soon as possible.
    Thanks in advance
    How to deploy and run EJB in eclipse without XDoclet

    HI Welcome to J2ee...
    I am also new to this...But i ll share my ideas with you...
    In EJB 3.0 No need of any Deployment Descriptors....
    And If you are using Eclipse You can Deploy(as jar) using Export in File tab...
    XDoclet is not mandatory...
    Gopal V

Maybe you are looking for

  • Fullscreen video disappears when using CSS transform on parent element

    I have a <code>video</code> element that opens in an overlay. The overlay is <code>position: fixed</code>, and the element inside of it is centered vertically & horizontally using <code>position: absolute; top: 50%; left: 50%; transform: translate(-5

  • Sum calculated field in report

    Hi, I have a report that groups by employee then by machine. In this report I sum several fields, but need to sum a calculated field and can't figure it out. This is the calculation: <?( QTY_MOVED) div ( TIME +.001 ) div ( INVERSE + .001)?> This is a

  • Responsibilities missing in Oracle Applications

    Hi, I have a Production Environment of Oracle Application in 12.0.4. After assigning certain responsibilities, we are not able to view those responsibilities after logging into application. As per metalink note: 417439.1, I have followed the below st

  • Problem in FileDialog

    Hi, i am new in event handling programs and i make a small program using FileDialog . but FileDialog is nor working properly . here is my code import java.awt.event.*; import java.awt.*; import java.io.*; public class frameopen extends Frame frameope

  • Best QT output setting for Keynote?

    Apoogies in advance if I'm posting this in the wrong Forum... It seems that, for me, the quality of QuickTime files drops somewhat when embedded and played in Keynote. As well as a change in contrast/brightness (gamma?). However, the file looks just