Can we run JPA , JAXWS in J2EE 1.4 compatible app server?

thanks

You're right, it's J2EE 1.3. Well, JAX-RPC is not part of that, however there's already good WS support in SAP NW 7.0. You can find more information on the relevant pages on help.sap.com.
Hibernate is a standalone persistence framework, so it can be used for any type of Java app, particularly in your case J2EE 1.3. There's a good article on how to use <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/bf0d57db-0c01-0010-6fa3-83503981eed4">Hibernate on SAP NetWeaver</a>.
HTH!
-- Vladimir

Similar Messages

  • Can we run oracle Forms 5 Application with 10G in Client/Server?

    Hi All,
    Can we run oracle Forms 5 Application with 10G in Client/Server
    Mode?
    Regards
    Gaurav

    In theory you can run it 2 tier - which means that you have the client (the machine the user is sitting at) being the same machine in which the forms application server is running. So yes. But specifically, we don't support a client server runtime anymore. 6i was the last version.
    With 10g you will be running through a browser.
    Regards
    grant

  • Can we run 11g RAC and 12c RAC in the same server?

    There is a requirement to run 11g RAC and 12C RAC in the same server for a year or so and then remove 11g RAC?
    Current setup:
    HP-unix 3 node RAC on 11g R2
    4CPU
    64 GB RAM
    3 TB SAN storage
    no ASM
    Upgrade setup:
    HP-unix 3 node RAC on 12C RAC
    8CPU
    128 GB RAM
    6+ TB SAN storage
    ASM
    We are asked to use the same server and upgrade Hardware to install and run 12C RAC. What are the implications of running RAC in the same server/nodes?
    Thank you for your time!

    Hi,
    The following table shows you the compatibility between various versions:
    Clusterware
    ASM
    DB
    Certified
    12.1
    12.1
    12.1
    Y
    12.1
    12.1
    11.2(a)
    Y
    12.1
    12.1
    11.1(a)
    Y
    12.1
    12.1
    10.2(a)
    Y
    11.2
    11.2(b)
    11.2
    Y
    11.2
    11.2(b)
    11.1
    Y
    11.2
    11.2(b)
    10.2
    Y
    11.1
    11.1
    11.1(c)
    Y
    11.1
    11.1
    10.2
    Y
    11.1
    11.1
    10.1
    Y
    11.1
    10.2
    11.1
    Y
    11.1
    10.2
    10.2
    Y
    11.1
    10.2
    10.1
    Y
    11.1
    10.1(d)
    11.1
    Y
    11.1
    10.1(d)
    10.2
    Y
    11.1
    10.1
    10.1
    Y
    10.2
    10.2
    10.2
    Y
    10.2
    10.2
    10.1
    Y
    10.2
    10.1(d)
    10.2
    Y
    10.2
    10.1
    10.1
    Y
    10.1
    10.1
    10.1
    Y
    (a) Pre-12.1 database instances require an ASM instance resident on the same node as the database instance. Pre-12.1 database instances cannot leverage the implicit HA of Flex ASM.
    Oracle Clusterware (CRS/GI) - ASM - Database Version Compatibility (Doc ID 337737.1)

  • How can I keep a kind of global object (Singleton) in App Server?

    Hi,
    I am working with Application Server Platform Edition 8. I want to have a object on the App Server which will have only single instance. The instance will be available to all objects(ejbs) in the server.

    duffimo is right, the above approch can not be implemented.
    I think we can achieve this by doing following setting in descriptor.
    For Stateless bean under Weblogic (weblogic-ejb-jar.xml)
    <pool>
    <max-beans-in-free-pool>1</max-beans-in-free-pool>
    <initial-beans-in-free-pool>1</initial-beans-in-free-pool>
    </pool>
    For Stateful bean under Weblogic (weblogic-ejb-jar.xml)
    <stateful-session-cache>
    <max-beans-in-cache>1</max-beans-in-cache>
    </stateful-session-cache>
    For Entity bean under Weblogic (weblogic-ejb-jar.xml)
    <pool>
    <max-beans-in-free-pool>1</max-beans-in-free-pool>
    <initial-beans-in-free-pool>1</initial-beans-in-free-pool>
    </pool>
    and instance cache size
    <entity-cache>
    <max-beans-in-cache>1</max-beans-in-cache>
    </entity-cache>
    Hope these work....

  • Can you install Workflow Manager 1.0 on Central Admin App Server Machine in 3-tier SharePoint Farm?

    Hi,
    I have just realised when looking at doing a Workflow that 2013 Workflows not available (you need to install Workflow Manager Farm). I understand why from a tenant installation perspective, but we are on-premise.
    Can someone tell me if I can install Workflow Manager 1.0 (seen you have to now install WM 1.0 Refresh version) on the Central Admin App Server Machine in a 3 tier SharePoint farm. 3 WFE, 4 APP Servers, 1 DB Server and 1 DB Analysis Services Server.
    I did test on a test farm 1WFE, 1 APP Server (with CA) and 1 Database Server. We are getting issues with the WFE Server having issues booting up or losing connection - possibly faulty network card. This may in no way be related to the install,
    but just in case. 
    Any help appreciated.
    Thanks.
    John.

    Yes, you can install WFM on any server in a SharePoint farm.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Can I run a .bat, .cmd, or .ps1 on SBS 2011 server startup, without login.... like a service.

    Hi all,
    I'm running Windows SBS 2011.  I need to run a script at server startup, prior to login to any user account (like a service does...).  This short script will check the status of another service.  Because this
    service depends on Exchange & SQL, it sometimes fails to start at reboot if Exchange and or SQL Server haven't finished initializing.
    I was also thinking of using sc.exe to change the config of the service in question (adding dependencies), but this is a third-party software from Reuters, and I am somewhat reluctant to edit the configuration of someone else's code (and possibly break something). 
    This is a production server at a law firm.
    here's the script:
    start of listing
    =============================================
    @echo off
    rem Look for ProLaw Groupware Agent in running Services.
    rem check to see if ProLaw Groupware Agent is running. If it IS
    rem running, jump to exit-program label, else run the Agent after
    rem waiting for Microsoft Exchange & Microsoft SQL Server to start.
    rem =======================================
    :start
    C:\Windows\system32\sc query "ProLawGroupwareAgent" | find "RUNNING" >> c:\temp\plgwagentstatus.txt
    if errorlevel 0 goto :end
    rem wait 10 min after server startup,
    rem to (Allow Exchange & SQL to start)
    rem THEN, start ProLawGroupwareAgent
    rem ========================
    echo "Service not started.... Let's wait 10 minutes, and retry." >> c:\temp\plgwagentstatus.txt
    c:\
    timeout /t 600 > nul
    cd "\Program Files (x86)\ThomsonElite\ProLaw GroupwareAgent"
    net start AgentHostService.exe
    timeout /t 20 > nul
    goto :start
    :end
    =============================================
    end of listing

    What I do in this case (I don't have access to exact script I use) is a similar script scheduled via windows task scheduler every five minutes to check if service running, if not start it but you can have the IF-THEN-ELSE do whatever is required.
    http://gallery.technet.microsoft.com/scriptcenter/01fcf945-ad73-44e0-8cb5-152432bc6bcf
    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

  • Can we run two instances of solaris in 1 hardware (SunFire Server)

    Hi,
    There is a need for us to run two instance of Solaris in SunFire Server.
    Because we need to install Domino Servers in a Single Hardware.
    The hardware consist of Eight Processors.
    How to allocate the resource in such a way that the Domino Server should take 4 Processor and other application should take other four.
    Please be in more detail.
    Regards,
    C.Kumanan

    "Sunfire" is a product line that includes many different computer designs
    and many different capabilities. You will need to be more specific as to what model you actually have.
    The Sun Fire Midrange Systems are hardware designs that can be configured
    to run discrete domains in the same overall chassis.
    So, for those systems the answer to your question would be "Yes".
    For any Sun Fire computer syustem that is smaller than the Midrange systems,
    the answer to your question would be "No".
    So ... A Sun Fire 3800 with eight processors ??? "Yes"
    However, a Sunfire V880 with eight processors ??? "No"
    Any other configuration questions of the actual Solaris instance,
    such as Zones or processor thread affinity are outside the scope of this forum.
    Those issues would be discussed better in an OS forum.

  • How can you run a command with elevated rights on a remote server with invoke-command ?

    I am trying to run a script on a remote server with invoke-command.  The script is starting and is running fine, but the problem is that it should be running with elevated rights on the remote server.  On the server where I start the invoke-command, my account has the necessary rights.
    The server were I launch the invoke-command is a W2K8 R2.  The remote box is a W2K3 with powershell v2.0 installed.
    When I launch the script on the remote-box from the command line, I don't get the access denied's.
    Is there a way to do this ?
    Thanks in advance

    The script that I want to run is to install the windows updates.  I get an access denied on the download of the updates.
    When I execute the script on an W2K8 box, (not remotely) and I run it with non-elevated rights, I get the same error.
    The script is running fine when it is launched on W2K3 box locally with a domain account that has local admin rights, or on a W2K8 R2 server with a domain account that has local admin rights, but with elevated rights.
    Thanks in advance for your help.
    #=== start script ====
    param($installOption="TESTINSTALL",$rebootOption="NOREBOOT")
    Function Show-Help
    Write-Host ""
    Write-Host "SCRIPT: $scriptName <installOption> <RebootOption>"
    Write-Host ""
    Write-Host "DESCRIPTION: Installatie van WSUS updates op de lokale server"
    Write-Host ""
    Write-Host "PARAMETERS"
    Write-Host " -installOption <[INSTALL|TESTINSTALL]>"
    Write-Host " -rebootOption <[REBOOT|NOREBOOT|REBOOT_IF_UPDATED]>"
    Write-Host ""
    Write-Host "EXAMPLE:"
    Write-Host "$ScriptName -installOption INSTALL -rebootOption REBOOT_IF_UPDATED"
    Write-Host "$ScriptNAme INSTALL NOREBOOT"
    Write-Host ""
    Write-Host "Indien beide parameter weggelaten worden zijn de defaultwaarden :"
    Write-Host " installOption=TESTINSTALL "
    Write-Host " RebootOption=NOREBOOT"
    Write-Host ""
    Exit
    #Include alle globale variablen
    $CEIF_WIN_PATH = (get-content env:CEIF_WIN_PATH)
    $includeFile=$CEIF_WIN_PATH + "\Scripts\include_win.ps1"
    . $includeFile
    #initialiseer error count
    $errcnt=0
    $scriptName=$MyInvocation.MyCommand.Name
    #argumenten controleren
    $arrInstallOption= "TESTINSTALL", "INSTALL" # Mandatory variable with predefined values
    If (!($arrInstallOption –contains $installOption)){ Show-Help }
    $arrRebootOption = "REBOOT", "NOREBOOT","REBOOT_IF_UPDATED" # Mandatory variable with predefined values
    If (!($arrRebootOption –contains $rebootOption)){ Show-Help }
    #Logfile opbouwen
    $logfile = get-logfileName($MyInvocation.MyCommand.Name)
    Log-scriptStart $MyInvocation.MyCommand.Name $logfile
    function Get-WIAStatusValue($value)
    switch -exact ($value)
    0 {"NotStarted"}
    1 {"InProgress"}
    2 {"Succeeded"}
    3 {"SucceededWithErrors"}
    4 {"Failed"}
    5 {"Aborted"}
    function boot-server()
    if ($installOption -eq "TESTINSTALL")
    logger "TESTINSTALL : - Reboot local Server" $logfile
    else
    logger " - Reboot local Server" $logfile
    $thisServer = gwmi win32_operatingsystem
    $thisServer.psbase.Scope.Options.EnablePrivileges = $true
    $thisServer.Reboot()
    $logmsg="Install option = " + $installOption + ", RebootOption = $rebootOption"
    logger "$logmsg" $logfile
    logger "" $logfile
    logger " - Creating WU COM object" $logfile
    $UpdateSession = New-Object -ComObject Microsoft.Update.Session
    $UpdateSearcher = $UpdateSession.CreateUpdateSearcher()
    logger " - Searching for Updates" $logfile
    $SearchResult = $UpdateSearcher.Search("IsAssigned=1 and IsHidden=0 and IsInstalled=0")
    logger " - Found [$($SearchResult.Updates.count)] Updates to Download and install" $logfile
    $Updates=$($SearchResult.Updates.count)
    logger "" $logfile
    foreach($Update in $SearchResult.Updates)
    if ($Update.EulaAccepted -eq 0)
    $Update.AcceptEula()
    # Add Update to Collection
    $UpdatesCollection = New-Object -ComObject Microsoft.Update.UpdateColl
    $UpdatesCollection.Add($Update) | out-null
    if ($installOption -eq "TESTINSTALL")
    else
    # Download
    logger " + Downloading Update $($Update.Title)" $logfile
    $UpdatesDownloader = $UpdateSession.CreateUpdateDownloader()
    $UpdatesDownloader.Updates = $UpdatesCollection
    $DownloadResult = $UpdatesDownloader.Download()
    $Message = " - Download {0}" -f (Get-WIAStatusValue $DownloadResult.ResultCode)
    if ($DownloadResult.ResultCode -eq 4 )
    { $errcnt = 1 }
    logger $message $logfile
    # Install
    logger " - Installing Update" $logfile
    $UpdatesInstaller = $UpdateSession.CreateUpdateInstaller()
    $UpdatesInstaller.Updates = $UpdatesCollection
    $InstallResult = $UpdatesInstaller.Install()
    $Message = " - Install {0}" -f (Get-WIAStatusValue $InstallResult.ResultCode)
    if ($InstallResult.ResultCode -eq 4 )
    { $errcnt = 1 }
    logger $message $logfile
    logger "" $logfile
    #Indien er een fout gebeurde tijdens download/installatie -> stuur mail naar windowsteam
    if ( $errcnt -gt 0 )
    logger " - Fout tijdens de uitvoering van script -> send mail" $logfile
    $mailSubject=$MyInvocation.MyCommand.Name
    $msg = new-object Net.Mail.MailMessage
    $att = new-object Net.Mail.Attachment($logfile)
    $smtp = new-object Net.Mail.SmtpClient($smtpServer)
    $msg.From = $mailFrom
    $msg.To.Add($mailTo)
    $msg.Subject = $mailSubject
    $msg.Body = “Meer details in attachement”
    $msg.Attachments.Add($att)
    $smtp.Send($msg)
    #Moet de server herstart worden ?
    if ($rebootOption -eq "REBOOT_IF_UPDATED" )
    if ($Updates -gt 0)
    #Reboot the server when updates are installed
    boot-server
    elseif ($rebootOption -eq "REBOOT")
    #reboot the server always
    boot-server
    else
    #Do not reboot the server
    logger "Do not reboot the server" $logfile
    Log-scriptEnd $MyInvocation.MyCommand.Name $logfile
    exit 0

  • Can we run the application developed in 11g on a weblogic server of 10g

    Hi all,
    I developed an application in Jdeveloper 11.1.1.4.0 version. Can I use the same application
    on Weblogic server of 10.3 version with out changing any thing or Do I need to change
    something for the deployment? Kindly come up with your help
    Thanks,
    Phanindra.

    A bit more info http://tompeez.wordpress.com/2011/09/14/jdeveloper-versions-vs-weblogic-server-versions/
    Timo

  • Can i develop applications on JSC2update1 and deploy on other app server

    I am working on JSF web application. I have developed one application in sun java studio creator and i dont want to run my applications in that one, because it is always showing error like Deployment error: server timed out after 240 secs. so is there any possiblity to download the application server individually and deploy onto that. if it is possible then please send me the alternate options with full description.
    I have downloaded Tomcat and Appserver 8(sun microsystems) individually. Which one is better to use it .Please suggest me a good and better one.
    Thanking You.

    Hi!
    List of supported application servers You can find here:
    http://developers.sun.com/prodtech/javatools/jscreator/sysreqs/depservers.jsp
    About deployment to different application servers You can read here:
    http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/appserverdeploy.html
    http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/webserverdeploy.html
    http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/weblogicdeploy.html
    Thanks,
    Roman.

  • Can I run ASP on Portal? Please guide :)

    Hello All,
    Am in the proces to learn ASP and came across a snippet showing the current time.
    So was thinking to add this on the Portal, such that when user logins into Portal, he/she would to to see the current time ont he homepage.
    Code:
    <html>
    <body>
    <%
    dim h
    h=hour(now())
    response.write("<p>" & now())
    If h<12 then
       response.write("Good Morning!")
    else
       response.write("Good day!")
    end if
    %>
    </body>
    </html>
    Note: It uses VB script.
    Question:
    I want to know whether I would be able to run and add this on Portal? Coz as far as Ive read, ASP runs on IIS or PWS. But on other side, Portal site is set as the default site on IIS. So how should I proceed? Please guide.
    Awaiting Reply.
    Thanks and Warm Regards,
    Ritu

    Hi,
    No it is not possible to run ASP under the Portal container. The portal container can only run applications under the J2EE standard (including servlets and JSP which is very similar).
    In the old days when EP5 ruled the world, it was possible since IIS was a mandatory component (and it was windows only).
    However, if you have an IIS server as part of your SSO solution , there is not thing to stop you from placing the asp file there and linking it in to the portal.
    Dagfinn

  • Can I run a soft without install sql server?

    I just wrote a winform C# program and use SQL server 2012 for data. 
    Can I run this program on other machine without install sql server ? 
    If I can't. Are there other program simpler than sql server help me run it ?
    THANK ALL !

    Agree with Nicolas. You need to modify connection string to point to proper server name. This might help in getting proper name of instance.
    http://sqlserver-help.com/2011/06/19/help-whats-my-sql-server-name/
    Balmukund Lakhani
    Please mark solved if I've answered your question, vote for it as helpful to help other users find a solution quicker
    This posting is provided "AS IS" with no warranties, and confers no rights.
    My Blog |
    Team Blog | @Twitter
    | Facebook
    Author: SQL Server 2012 AlwaysOn -
    Paperback, Kindle

  • Can't run J2EE app on AS 10.1.3

    We have J2EE application based on Toplink/ADF/Struts. Our project is maintained in JDeveloper 10.1.2. We had no serious problems deploying our app to AS 10.1.2. But we cannot deploy it on 10.1.3. server. Before any jsp page shows, this internal error is shown:
    500 Internal Server Error
    java.lang.NullPointerException     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:719)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:270)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:42)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:204)     at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:209)     at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)     at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)     at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)     at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)     at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:239)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:629)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:299)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:187)     at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)     at java.lang.Thread.run(Thread.java:595)
    Where can be the problem ? Must we convert aour project into JDeveloper 10.1.3 ? Whe tried it, no success so far. Thanks for any suggestions.

    One small addition - even the simpliest application possible (one jsp, no classes, no data connection) can't run after deploy:
    500 Internal Server Error
    java.lang.NullPointerException     at java.io.File.<init>(File.java:194)     at oracle.jsp.runtimev2.JspServlet.prepareTable(JspServlet.java:564)     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:476)     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:719)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:299)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:187)     at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)     at java.lang.Thread.run(Thread.java:595)

  • Help:How can I run the J2EE Client Application? Thanks

    Help:How can I run the J2EE Client Application that will access the remote J2EE1.4 application server which runs on another host computer?
    I have developped a stateles senterprise java bean name converter and deloyed it in the j2ee1.4 application server on the host machine A. The converterbean provides the remote home interface and remote interface. At the same time I have developped the j2ee application client named convertappclient. When I access the conveter bean at host computer A through the script 'appclient.bat' as 'appclient -client convertappclient.jar', the client can access the bean sucessfully. Now I want to access the bean through the script 'appclient.bat' at host computer B,what files should I copy from host computer A to host computer B;and what the command line should be like? Thanks!
    The following are the code of the enterprise java bean and it's home interface .
    The client code is also provided.
    The enterprise java bean:
    package converter;
    import java.rmi.RemoteException;
    import javax.ejb.SessionBean;
    import javax.ejb.SessionContext;
    import java.math.*;
    public class ConverterBean implements SessionBean {
    BigDecimal yenRate = new BigDecimal("121.6000");
    BigDecimal euroRate = new BigDecimal("0.0077");
    public ConverterBean() {
    public BigDecimal dollarToYen(BigDecimal dollars) {
    BigDecimal result = dollars.multiply(yenRate);
    return result.setScale(2, BigDecimal.ROUND_UP);
    public BigDecimal yenToEuro(BigDecimal yen) {
    BigDecimal result = yen.multiply(euroRate);
    return result.setScale(2, BigDecimal.ROUND_UP);
    public void ejbCreate() {
    public void ejbRemove() {
    public void ejbActivate() {
    public void ejbPassivate() {
    public void setSessionContext(SessionContext sc) {
    The bean's remote home interface :
    package converter;
    import java.rmi.RemoteException;
    import javax.ejb.CreateException;
    import javax.ejb.EJBHome;
    public interface ConverterHome extends EJBHome {
    Converter create() throws RemoteException, CreateException;
    The bean's remote interface:
    package converter;
    import javax.ejb.EJBObject;
    import java.rmi.RemoteException;
    import java.math.*;
    public interface Converter extends EJBObject {
    public BigDecimal dollarToYen(BigDecimal dollars) throws RemoteException;
    public BigDecimal yenToEuro(BigDecimal yen) throws RemoteException;
    The j2ee application client:
    import converter.Converter;
    import converter.ConverterHome;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.rmi.PortableRemoteObject;
    import java.math.BigDecimal;
    public class ConverterClient {
    public static void main(String[] args) {
    try {
    Context initial = new InitialContext();
    System.setProperty("java.naming.factory.initial","org.jnp.interfaces.NamingContextFactory");
                   System.setProperty("java.naming.provider.url","jnp://10.144.97.250:3700");
    Context myEnv = (Context) initial.lookup("java:comp/env");
    Object objref = myEnv.lookup("ejb/SimpleConverter");
    ConverterHome home =
    (ConverterHome) PortableRemoteObject.narrow(objref,
    ConverterHome.class);
    Converter currencyConverter = home.create();
    BigDecimal param = new BigDecimal("100.00");
    BigDecimal amount = currencyConverter.dollarToYen(param);
    System.out.println(amount);
    amount = currencyConverter.yenToEuro(param);
    System.out.println(amount);
    System.exit(0);
    } catch (Exception ex) {
    System.err.println("Caught an unexpected exception!");
    ex.printStackTrace();
    }

    Surprisingly I find an upsurge in the number of posts with this same problem. I recently found a post which gave a nice link for this. Follow the steps and it should help:
    http://docs.sun.com/source/819-0079/dgacc.html#wp1022105

  • Can not run the J2EE application on webless iAS

    Hi:
    I have installed iAS on Salaris, and installed a webconnector on IIS which
    hosted on different machine.
    Now I can run the simple servlet sample, but I can not run the Helloworld
    application that I deployed follow the guide. The error message was: socket
    receive error (RecvBuffer 1)

    Don wrote:
    Hi:
    I have installed iAS on Salaris, and installed a webconnector on IIS which
    hosted on different machine.Wow, I did not know that iAS support IIS as the web server. I think SP3
    will
    allow you to use Apache as well as iPlanet's web server, but I not think
    IIS is
    supported. Perhaps you should use a supported web server.
    Kent

Maybe you are looking for

  • Exporting to pdf with new numbers app

    recently i upgraded from numbers 09 to numbers 3.0. i have a worksheet with 2 pages. with numbers 09 when i export to pdf it export as pdf with 2 pages works fine. but in numbers 3.0 when i wxport the same worksheet it combines both pages in one pdf

  • Error in intitialisation parameter file, pls help

    i am new to dba field. i created a database named "demo" suing dbca. but whenever i start i am getting the following error. startup nomount pfile='d:\oracle\admin\demo\pfile\init.ora';ORA-01078: failure in processing system parameters LRM-00109: coul

  • Read-Through Caching with expiry-delay and near cache (front scheme)

    We are experiencing a problem with our custom CacheLoader and near cache together with expiry-delay on the backing map scheme. I was under the assumption that it was possible to have an expiry-delay configured on the backing-scheme and that the near

  • Downloaded songs still need internet?

    Hey all, Ok I bought the works when iCloud came up.  I have iTunes match, etc, etc.  I have not spent much time to ensure my music and movies are all clouded correctly and I know there have been some issues for some people but so far it seems to work

  • How to detect red frame in a series of images using web cam?

    hey i am a new use of lab view(8.2 n 8.6).kindly ca any1 help me out in red color detection in a series of frames being capture by a usb web cam.i have done the grabbing thing but dont knw what to do now.plz help me out. basically i hve to do the fol