How to deploy a redefined code in AS JAVA

Hi everyone,
After creating a program in SAP UI5 in NWDS 7.31 I am deploying it in the way as it is mentioned in the following link,
Steps to Create and Deploy UI5 Project using NWDS on AS Java Server
Now when I change the code and again deploy it in the previous way the change is not reflecting in the output(Say I have changed the text of a textview but that is not reflecting in the output). I want to know the procedure to deploy it after changing the code?
Regards,
Soumya Nandi

Hi Soumya,
Since it's mostly Javascript files, these could be cached by your browser, and this is most likely the reason you don't see your changes.
After deployment, make sure you clear your browser cache, esp. any *.js files, before running your application.
Hope this helps,
Robin

Similar Messages

  • How to deploy EAR on CE server using Java Support Package Manager

    Hello,
    I am using CE server where I want to deploy EAR file by using JSPM. I run this program in Drive:\usr\sap\CE1\J00\j2ee\JSPM\go.bat
    I have also put the EAR file into the inbox folder Drive:\usr\sap\CE1\SYS\EPS\in but still It does not show me any file to proceed further for deployment.
    Does any one has idea?
    Regards,
    NK

    Hi,
    The Java Support Package Manager is not able to deploy a single .ear file.
    If the *.EAR file is placed inside an SCA (Software Component Archive) then JSPM is able to deploy it.
    You have to create a .SCA from an .EAR file
    SAP note 1223957 contains an attachment (nwpacktool.zip) which can be used to create a .SCA file from the .EAR file.
    Gerd

  • How to embed the scriplet code in the java script

    I have an error page. Using the implicit object exception i'm writing stack trace on the page. I have a showerror in the error page. when i click on that link It should display the stack trace.
    for the moment conserder a form containing two text fields which take two inputs. And when you click on the submit. Then it goes to a first.jsp which will convert them into integer and treis to divide. And the divide by zero happens then error.jsp has to be invoked. That should have a hyper link show error . On click of this I want the stack trace to be displayed.

    Hi Man,
    We can't get u man. Pls do clearly,wht u wanna do..
    Cheers

  • How can i rewrite this code into java?

    How can i rewrite this code into a java that has a return value?
    this code is written in vb6
    Private Function IsOdd(pintNumberIn) As Boolean
        If (pintNumberIn Mod 2) = 0 Then
            IsOdd = False
        Else
            IsOdd = True
        End If
    End Function   
    Private Sub cmdTryIt_Click()
              Dim intNumIn  As Integer
              Dim blnNumIsOdd     As Boolean
              intNumIn = Val(InputBox("Enter a number:", "IsOdd Test"))
              blnNumIsOdd = IsOdd(intNumIn)
              If blnNumIsOdd Then
           Print "The number that you entered is odd."
        Else
           Print "The number that you entered is not odd."
        End If
    End Sub

    873221 wrote:
    I'm sorry I'am New to Java.Are you new to communication? You don't have to know anything at all about Java to know that "I have an error," doesn't say anything useful.
    I'm just trying to get you to think about what your post actually says, and what others will take from it.
    what does this error mean? what code should i replace and add? thanks for all response
    C:\EvenOdd.java:31: isOdd(int) in EvenOdd cannot be applied to ()
    isOdd()=true;
    ^
    C:\EvenOdd.java:35: isOdd(int) in EvenOdd cannot be applied to ()
    isOdd()=false;
    ^
    2 errors
    Telling you "what code to change it to" will not help you at all. You need to learn Java, read the error message, and think about what it says.
    It's telling you exactly what is wrong. At line 31 of EvenOdd.java, you're calling isOdd(), with no arguments, but the isOdd() method requires an int argument. If you stop ant think about it, that should make perfect sense. How can you ask "is it odd?" without specifying what "it" is?
    So what is this all about? Is this homework? You googled for even odd, found a solution in some other language, and now you're just trying to translate it to Java rather than actually learning Java well enough to simply write this trivial code yourself?

  • How to deploy reports from one environment to another in CoD

    Hi Experts,
    I'm actually in training with an Oracle partner in order to learn how to create reports in CoD.
    It seems quite easy.
    But the trainer here told us to develop directly the new reports on the Prod environment.
    I've asked why, cause we also have Dev and Test environment.
    And he answerer me that there's no way to deploy reports from one environment to another, the only way is to redevelop it on each environment.
    As for me it seems impossible not to be able to deploy reports from dev to test and then test to prod, I'm directly asking experts.
    So could you please confirm this or not, and maybe provide me an example of what you're doing on your side to copy from one environment to another.
    Thank you in advance.
    Brice

    H,
    reports cannot be migrated at this time, indeed.

  • How to deploy a war file on Weblogic Server 7.0??

    Hello Everyone
    I am trying to deploy a servlet on Weblogic Server 7.0 as a WAR file. Can anyone of u plz tell me the steps required to do that. I am posting this question on EJb forum and not on servlets coz this is not a servlet problem, rather this is something which is related to J2EE, ie how to deploy a war file on J2EE Server.
    This is how i have done it, but this is not working---
    (1) First i created a directory structure for the web application according to J2EE Specification.
    C:\Work\
    myServletWAR\
    META-INF\
    WEB-INF\
    classes\
    HelloServlet.class
    web.xml
    i.e within work directory, there is a dic called myServletWAR which is my application directory which contains 2 sub directories viz META-INF which contains the mainifest file being generated by the jar utility. the second directory in the myServletWAR application dir is WEB-INF, which contains one file called web.xml for servlet mapping and one directory classes which contains HelloServlet.class
    (2) I used following command for creating war file from myServletWAR director(i.e from my web application's directory).
    jar -cvf TestServletWAR.war .
    This creates the TestServletWAR.war file in myServletWAR dir.
    Here is how my Servlet and web.xml looks like...
    Servlet code
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class HelloServlet extends HttpServlet
    public void doPost ( HttpServletRequest req, HttpServletResponse res )
    throws IOException, ServletException
    doGet( req, res );
    public void doGet ( HttpServletRequest req, HttpServletResponse res )
    throws IOException, ServletException
    res.setContentType( "text/html" ); // Can also use "text/plain" or others.
    PrintWriter out = res.getWriter();
    // Get the requestor's IP address (See JavaDocs to see how to get other info):
    String addr = req.getRemoteAddr();
    // Create output (the response):
    out.println( "<HTML><HEAD><TITLE>HelloServlet in myServletWAR</TITLE></HEAD>" );
    out.println( "<BODY><H1 ALIGN=\"CENTER\">" );
    out.println( "Hello " + addr + ", from HelloServlet in myServletWAR!" );
    out.println( "</H1></BODY></HTML>" );
    out.close();
    ************************Servlet Ends Here **************************
    web.xml
    ---------------------------------------------------------- <!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
    "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
    <web-app>
    <display-name>myServletWAR, a first Web Application</display-name>
    <description>
    This is a simple web application containing a single servlet
    of the "Hello, World" variety.
    </description>
    <servlet>
    <servlet-name>myHello</servlet-name>
    <servlet-class>HelloServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>myHello</servlet-name>
    <url-pattern>/myHello</url-pattern>
    </servlet-mapping>
    </web-app>
    ****************************web.xml file ends here********************
    After deploying the TestServletWAR.war file on the weblogic 7.0, i tried to execute the servlet from the browser by the following URL
    http://localhost:7001/myServletWAR/myHello
    I am getting the HTTP 404 Error, which is an indication that weblogic was unable to find the resourse, which it was requested for. Can anybody plz tell me what i m doing worng?? do i need to use weblogic related xml file (i.e weblogic.xml) also along with web.xml. If yes, then what all i need to include that. I m not very sure. A sample weblogic.xml file for this HelloWorld example will help me a lot.
    Looking forward for your help
    Thanx in advance
    Nisha

    hi i have read ur answer regarding deploing a servlet in weblogic 7.0
    i am facing another problem
    when i try to access the servlet inside my classes directory it throwa an error stating this :
    IT DOES NOT FOUND THE CLASSES ON WHICH MY SERVLET DEPENDS.WHAT DOEES ATHIS MEAN
    KINDLY TELL ME
    PUNEET JAIN
    <May 28, 2003 1:46:25 PM IST> <Error> <HTTP> <101250> <[ServletContext(id=6057728,name=WebApp,context-path=/WebApp)]: Se
    rvlet class myclasses.Wservlet for servlet welcome could not be loaded because a class on which it depends was not found
    in the classpath D:\bea\user_projects\PuneetDomain\applications\WebApp;D:\bea\user_projects\PuneetDomain\applications\W
    ebApp\WEB-INF\classes.
    java.lang.NoClassDefFoundError: myclasses/Wservlet (wrong name: Wservlet)>
    <May 28, 2003 1:46:26 PM IST> <Error> <HTTP> <101018> <[ServletContext(id=6057728,name=WebApp,context-path=/WebApp)] Ser
    vlet failed with ServletException
    javax.servlet.ServletException: [ServletContext(id=6057728,name=WebApp,context-path=/WebApp)]: Servlet class myclasses.W
    servlet for servlet welcome could not be loaded because a class on which it depends was not found in the classpath D:\be
    a\user_projects\PuneetDomain\applications\WebApp;D:\bea\user_projects\PuneetDomain\applications\WebApp\WEB-INF\classes.
    java.lang.NoClassDefFoundError: myclasses/Wservlet (wrong name: Wservlet)
    at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:791)
    at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:517)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:351)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5412)
    at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:744)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3086)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2544)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
    >

  • 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

  • How to Deploy UIX pages in AS

    Well iam working on an application made i ADF UIX. The JDeveloper version used is 10.1.2 and I want to deploy this application in Oracle 10G 10.1.2.
    Could some one tell me how do i go about it?

    Dear Sir...
    1- in the application navigator right click the view-controller project
    2- select New
    3- select Deployment profile then select WAR file
    4- click OK and select a name for the WAR file and click ok
    5- a window appears asking for settings of the WAR file.
    6- click on the Specify J2EE web context. and enter a name like /abc. select OK
    7- The deployment WAR file appear, select it and select create EAR file.
    what you have done so far is that you defined a packaging file that will contains all of your web pages and call the code. you also specifies how the context path of the application would be. i.e. you access you web application using the link http://servername/context-root/page1.do and in our case it would be http://servername/abc/page1.do.
    Now copy this EAR file and take it to the application server in order to install it there.
    1- The first step is to create an OC4J. The OC4J is a java virtual machine or a server that your application will be executed inside it. So create a new OC4J and give it a name.
    2- Open this OC4J and select the applications Tab. Here you should install your application.
    3- Select deploy EAR file.
    4- Give the path of your EAR file, and select a name for the application and finish the deployment operation.
    5- Now open the first tab of the OC4J and select start to start the java virtual machine and let your application start.
    6- Now you should be able to access your application using the link : http://servername/context-root/page1.do. In this example the link will be http://SV/abc/dataPage1.do where SV is the server name, abc is the context-root you specified already and dataPage1 is the name of the uix page you want to access.
    you might need some other settings such as specifying the data sources and the connection to the database. For any other details try to read about how to deploy applications to the application server in the otn.
    best regards

  • How To Deploy in Application Server 9?

    Hi.
    I'm a new comer for EJB.
    I'm using the Newest version of EJB SDK.
    I'm trying to deploy my Hello World Application but I do not know how...
    My codes are as following.
    HelloHome.java
    import java.rmi.*;
    import javax.ejb.*;
    public interface HelloHome extends EJBHome {
        public Hello create() throws CreateException, RemoteException;
    }Hello.java
    import java.rmi.*;
    import javax.ejb.*;
    public interface Hello extends EJBObject{
        public void setHello(String txt) throws RemoteException;
        public String getHello() throws RemoteException;
    }HelloEJB.java
    import java.rmi.*;
    import javax.ejb.*;
    public class HelloEJB implements SessionBean{
        public String txt;
        public void setHello(String txt)
            this.txt = txt;
        public String getHello()
            return txt;
        public HelloEJB() {
        public void ejbCreate(){};
        public void ejbRemove(){};
        public void ejbActivate(){};
        public void ejbPassivate(){};
        public void setSessionContext(SessionContext sc){};   
    }

    You are using EJB 2.1. The latest version EJB 3.0 is much simpler. Among many things, you no longer need home interfaces, or deployment descriptors in most cases. Basically, you need to:
    1. code your bean interfaces and classes;
    2. package all classes and/or ejb-jar.xml descriptor into a jar file;
    3. deploy ejb jar to appserver using admin GUI (http://localhost:4848), or using commonad line (C:\Sun\AppServer\bin\asadmin deploy C:\tmp\my-ejb.jar)
    A good start is JavaEE Tutorial:
    http://java.sun.com/javaee/5/docs/tutorial/doc/

  • How to deploy and debug Central Office 13.0.1 Application in Oracle AS

    Hi,
    Can anybody please explain me how to deploy and debug Central Office 13.0.1 / 13.1.1 Application in Oracle Application Server via Ecllipse IDE.
    Please explain this:
    1. Run the Oracle Application Server in debug mode from Ecllipse IDE.
    2. Deploy the Central Office 13.0.1 into Application Server from Ecllipse IDE and able to debug the code.
    3. Restart the Oracle Application Server in debug mode from Ecllipse IDE.
    Thanks
    SRR

    I got the solution

  • How to deploy EAR file in Tomcat?

    Is we can deploy ear file in tomcat?
    Normally we can deploy WAR file in tomcat webapps folder. When we run the tomat it will automatically extract the war file.
    But samethink I have tried EAR file. But it is not working.
    Is we can deploy EAR file or not?
    If not plz give reason.

    Hi
    Normally we can deploy the war file thats routene stuff ofcourse ..........but when u deploy ear file it will give problmes as ear structure and war structure are differeant
    The Tomcat Servlet/JSP Container      
    The Apache Tomcat 5.5 Servlet/JSP Container
         Apache Logo
    Links
    * Docs Home
    Contents
    * Contents
    * Introduction
    * Installation
    * Deployment
    * Source Code
    * Processes
    * Example App
    Application Developer's Guide
    Deployment
         Printer Friendly Version
    print-friendly
    version
    Background
    Before describing how to organize your source code directories, it is useful to examine the runtime organization of a web application. Prior to the Servlet API Specification, version 2.2, there was little consistency between server platforms. However, servers that conform to the 2.2 (or later) specification are required to accept a Web Application Archive in a standard format, which is discussed further below.
    A web application is defined as a hierarchy of directories and files in a standard layout. Such a hierarchy can be accessed in its "unpacked" form, where each directory and file exists in the filesystem separately, or in a "packed" form known as a Web ARchive, or WAR file. The former format is more useful during development, while the latter is used when you distribute your application to be installed.
    The top-level directory of your web application hierarchy is also the document root of your application. Here, you will place the HTML files and JSP pages that comprise your application's user interface. When the system administrator deploys your application into a particular server, he or she assigns a context path to your application (a later section of this manual describes deployment on Tomcat). Thus, if the system administrator assigns your application to the context path /catalog, then a request URI referring to /catalog/index.html will retrieve the index.html file from your document root.
    Standard Directory Layout
    To facilitate creation of a Web Application Archive file in the required format, it is convenient to arrange the "executable" files of your web application (that is, the files that Tomcat actually uses when executing your app) in the same organization as required by the WAR format itself. To do this, you will end up with the following contents in your application's "document root" directory:
    * *.html, *.jsp, etc. - The HTML and JSP pages, along with other files that must be visible to the client browser (such as JavaScript, stylesheet files, and images) for your application. In larger applications you may choose to divide these files into a subdirectory hierarchy, but for smaller apps, it is generally much simpler to maintain only a single directory for these files.
    * /WEB-INF/web.xml - The Web Application Deployment Descriptor for your application. This is an XML file describing the servlets and other components that make up your application, along with any initialization parameters and container-managed security constraints that you want the server to enforce for you. This file is discussed in more detail in the following subsection.
    * /WEB-INF/classes/ - This directory contains any Java class files (and associated resources) required for your application, including both servlet and non-servlet classes, that are not combined into JAR files. If your classes are organized into Java packages, you must reflect this in the directory hierarchy under /WEB-INF/classes/. For example, a Java class named com.mycompany.mypackage.MyServlet would need to be stored in a file named /WEB-INF/classes/com/mycompany/mypackage/MyServlet.class.
    * /WEB-INF/lib/ - This directory contains JAR files that contain Java class files (and associated resources) required for your application, such as third party class libraries or JDBC drivers.
    When you install an application into Tomcat (or any other 2.2/2.3-compatible server), the classes in the WEB-INF/classes/ directory, as well as all classes in JAR files found in the WEB-INF/lib/ directory, are made visible to other classes within your particular web application. Thus, if you include all of the required library classes in one of these places (be sure to check licenses for redistribution rights for any third party libraries you utilize), you will simplify the installation of your web application -- no adjustment to the system class path (or installation of global library files in your server) will be necessary.
    Much of this information was extracted from Chapter 9 of the Servlet API Specification, version 2.3, which you should consult for more details.
    Shared Library Files
    Like most servlet containers, Tomcat 5 also supports mechanisms to install library JAR files (or unpacked classes) once, and make them visible to all installed web applications (without having to be included inside the web application itself. The details of how Tomcat locates and shares such classes are described in the Class Loader HOW-TO documentation. For the purposes of our discussion, there are two locations that are commonly used within a Tomcat 5 installation for shared code:
    * $CATALINA_HOME/common/lib - JAR files placed here are visible both to web applications and internal Tomcat code. This is a good place to put JDBC drivers that are required for both your application and internal Tomcat use (such as for a JDBCRealm).
    * $CATALINA_BASE/shared/lib - JAR files placed here are visible to all web applications, but not to internal Tomcat code. This is the right place for shared libraries that are specific to your application.
    Out of the box, a standard Tomcat 5 installation includes a variety of pre-installed shared library files, including:
    * The Servlet 2.4 and JSP 2.0 APIs that are fundamental to writing servlets and JavaServer Pages.
    * An XML Parser compliant with the JAXP (version 1.2) APIs, so your application can perform DOM-based or SAX-based processing of XML documents.
    Web Application Deployment Descriptor
    The description below uses the variable name $CATALINA_HOME to refer to the directory into which you have installed Tomcat 5, and is the base directory against which most relative paths are resolved. However, if you have configured Tomcat 5 for multiple instances by setting a CATALINA_BASE directory, you should use $CATALINA_BASE instead of $CATALINA_HOME for each of these references.
    As mentioned above, the /WEB-INF/web.xml file contains the Web Application Deployment Descriptor for your application. As the filename extension implies, this file is an XML document, and defines everything about your application that a server needs to know (except the context path, which is assigned by the system administrator when the application is deployed).
    The complete syntax and semantics for the deployment descriptor is defined in Chapter 13 of the Servlet API Specification, version 2.3. Over time, it is expected that development tools will be provided that create and edit the deployment descriptor for you. In the meantime, to provide a starting point, a basic web.xml file is provided. This file includes comments that describe the purpose of each included element.
    NOTE - The Servlet Specification includes a Document Type Descriptor (DTD) for the web application deployment descriptor, and Tomcat 5 enforces the rules defined here when processing your application's /WEB-INF/web.xml file. In particular, you must enter your descriptor elements (such as <filter>, <servlet>, and <servlet-mapping> in the order defined by the DTD (see Section 13.3).
    Tomcat Context Descriptor
    The description below uses the variable name $CATALINA_HOME to refer to the directory into which you have installed Tomcat 5, and is the base directory against which most relative paths are resolved. However, if you have configured Tomcat 5 for multiple instances by setting a CATALINA_BASE directory, you should use $CATALINA_BASE instead of $CATALINA_HOME for each of these references.
    A /META-INF/context.xml file can be used to define Tomcat specific configuration options, such as loggers, data sources, session manager configuration and more. This XML file must contain one Context element, which will be considered as if it was the child of the Host element corresponding to the Host to which the The Tomcat configuration documentation contains information on the Context element.
    Deployment With Tomcat 5
    In order to be executed, a web application must be deployed on a servlet container. This is true even during development. We will describe using Tomcat 5 to provide the execution environment. A web application can be deployed in Tomcat by one of the following approaches:
    * Copy unpacked directory hierarchy into a subdirectory in directory $CATALINA_HOME/webapps/. Tomcat will assign a context path to your application based on the subdirectory name you choose. We will use this technique in the build.xml file that we construct, because it is the quickest and easiest approach during development. Be sure to restart Tomcat after installing or updating your application.
    * Copy the web application archive file into directory $CATALINA_HOME/webapps/. When Tomcat is started, it will automatically expand the web application archive file into its unpacked form, and execute the application that way. This approach would typically be used to install an additional application, provided by a third party vendor or by your internal development staff, into an existing Tomcat installation. NOTE - If you use this approach, and wish to update your application later, you must both replace the web application archive file AND delete the expanded directory that Tomcat created, and then restart Tomcat, in order to reflect your changes.
    * Use the Tomcat 5 "Manager" web application to deploy and undeploy web applications. Tomcat 5 includes a web application, deployed by default on context path /manager, that allows you to deploy and undeploy applications on a running Tomcat server without restarting it. See the administrator documentation (TODO: hyperlink) for more information on using the Manager web application.
    * Use "Manager" Ant Tasks In Your Build Script. Tomcat 5 includes a set of custom task definitions for the Ant build tool that allow you to automate the execution of commands to the "Manager" web application. These tasks are used in the Tomcat deployer.
    * Use the Tomcat Deployer. Tomcat 5 includes a packaged tool bundling the Ant tasks, and can be used to automatically precompile JSPs which are part of the web application before deployment to the server.
    Deploying your app on other servlet containers will be specific to each container, but all containers compatible with the Servlet API Specification (version 2.2 or later) are required to accept a web application archive file. Note that other containers are NOT required to accept an unpacked directory structure (as Tomcat does), or to provide mechanisms for shared library files, but these features are commonly available.
    Copyright © 1999-2006, Apache Software Foundation

  • How to Deploying Application Which consists .jpr project file in JDeveloper

    Hi,
    I Successfully compiled my application in JDeveloper 11g, My Project consists of .jpr file which loads all the source files. I added this .jpr file to New Application by creating a .jws in JDeveloper.
    When I run my application, I am getting the Deployment Error, How to deploy a project which consists of .jpr as project file in JDeveloper 11g.
    The Same was running in Oracle JDeveloper 10.3.3 version perfectly there the Server was OC4J but Here the Server is WebLogic.
    can anyone help me out in solving this,
    Thanks
    Srinivas Reddy P.
    Edited by: user10952409 on Mar 31, 2009 7:17 AM

    If the exampleClass1 does have a public method which is called from the main method, when you run it from the command line
    should work like this
    // sample class
    public class ExampleClass1
        // C'tor
        public ExampleClass1 ()
        public void testmethodWith3Params(String aS1, String aS2, String aS3)
            // do the work here
        public static void main(String[] args)
            String p1;
            String p3;
            String p3;
            ExampleClass1 xyz = new ExampleClass1();
            // read the params into p1,p2 and p3
            // omited the code
           // call the worker method
           xyz.testmethodWith3Params(p1,p2,p3);
    // now instead to call the main method you call the workter methos from your web app like
    ExampleClass1 aaa = new ExampleClass1 ();
    aaa.testmethodWith3Params(param1, param2,param3);
    ...If you don't have a method (or don't know it) you can call it via the main method like
    String [] param= {p1,p2,p3};
    ExampleClass1.main(param);Timo

  • How to deploy ADF applications in Oracle apps

    Hi,
    I just gone thru demos on ADF rich client applications using jdeveloper 11g.My doubt is how to deploy and use these from oracle apps.Is ADF supported in R12.If yes then could anybody provide me steps to deploy code at unix file system and how to create form functions for accessing jspx pages?
    I know that in OAF, we can deploy server components at $OA_java and PG.xml files using xml importer and we can create form functions for PG.xml files.Similarly what are the steps to deploy and access ADF applications thru oracle apps.
    Thanks,
    ashok

    ADF Rich Client Components need a newer server than the one that comes with Apps R12.
    So what you'll need to do is have a separate WebLogic 10.3 server where you deploy the ADF Rich Client Applications.
    You can call them from your Apps by customizing your current apps and adding a button or link that just calls the URL where your ADF apps are.

  • How to deploy worker role to Azure cloud via portal

    Hi
    I have two worker roles in my VS Project and I need them to be running on Azure cloud. I have created the storage accounts, the worker roles are using Queues, that I created using c# code.
    I looked up some articles and they say I have to create a hosted services from top left corner, but I don't see any hosted service link on my portal. (I am thinking the new version of Azure Portal does not have hosted service link, probably been replaced
    with something else but I don't know what it is)
    Can someone please help me what to do after I create a package and have the config and package files in app.publish folder. How to deploy the  worker roles in cloud using the Portal
    Thanks
    -Sarah

    Hi,
    >>I looked up some articles and they say I have to create a hosted services from top left corner
    As far as I know, cloud service was called hosted service in old azure platform, see below old platform screenshot.
    About deploy your application to cloud service, please refer to
    http://azure.microsoft.com/en-us/documentation/articles/cloud-services-how-to-create-deploy/ for more detail information.
    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 a JCO Server????

    Hello Experts!
    I have written a JCO Server by using the Netweaver Developer Studio. Now I want to deploy this JCO Server on our SAP XI Server. The aim of this should be to create a connection between ABAP and JAVA to send data from JAVA to ABAP.
    The RFC connection already exists and is working. What I don't know is how to deploy my JCO Server and how to start this JCO Server from our XI Server. I hope anybody could help me.
    Thanks in advance!!!
    Greetings Alexander
    Here is the source code of my JCO Server:
    public class JCOServer implements JCO.ServerExceptionListener, JCO.ServerStateChangedListener {
      static public class Repository extends JCO.BasicRepository implements IRepository {
        public Repository(String name)
          super(name);
      protected static IRepository repository;
      static {
        repository = new Repository("TestRepository");
        JCO.MetaData fmeta = new JCO.MetaData("ZEJB_TEST_ZUGRIFF");
        fmeta.addInfo("REQUTEXT", JCO.TYPE_CHAR, 255,   0,  0, JCO.IMPORT_PARAMETER, null);
        fmeta.addInfo("ECHOTEXT", JCO.TYPE_CHAR, 255,   0,  0, JCO.EXPORT_PARAMETER, null);
        fmeta.addInfo("RESPTEXT", JCO.TYPE_CHAR, 255,   0,  0, JCO.EXPORT_PARAMETER, null);
        repository.addFunctionInterfaceToCache(fmeta);
      static public class Server extends JCO.Server {
        public Server(String gwhost, String gwserv, String progid, boolean isUnicode, IRepository repository)
          super(gwhost,gwserv,progid,repository);
           this.setProperty("jco.server.unicode", isUnicode?"1":"0");
        protected void handleRequest(JCO.Function function)
          JCO.ParameterList input  = function.getImportParameterList();
          JCO.ParameterList output = function.getExportParameterList();
          JCO.ParameterList tables = function.getTableParameterList();
          System.out.println("handleRequest(" + function.getName() + ")");
          System.out.println("Anfrage vom SAP-Server: " + input.getString("REQUTEXT"));
          if (function.getName().equals("ZEJB_TEST_ZUGRIFF")) {
            output.setValue(input.getString("REQUTEXT"),"ECHOTEXT");
            output.setValue("Das ist eine Antwort von JCOServer","RESPTEXT");
       JCO.Server srv[] = new JCO.Server[1];
      public JCOServer()
         JCO.addServerExceptionListener(this);
         JCO.addServerStateChangedListener(this);
      public void startServers()
        srv[0] = new Server("vxi1","sapgw00","BEAN",true,repository);
        for (int i = 0; i < srv.length; i++) {
    try {
    srv.setTrace(true);
    srv.start();
    catch (Exception ex) {
    System.out.println("Konnte Server nicht starten: " + srv.getProgID() + ":
    " + ex);
          }//try
        }//for
      public void serverExceptionOccurred(JCO.Server server, Exception ex)
        System.out.println("Ausnahme in Server " + server.getProgID() + ":
    " + ex);
        ex.printStackTrace();
      public void serverStateChangeOccurred(JCO.Server server, int old_state, int new_state)
        System.out.print("Server " + server.getProgID() + " hat den Status geändert von [");
        if ((old_state & JCO.STATE_STOPPED    ) != 0) System.out.print(" GESTOPPT ");
        if ((old_state & JCO.STATE_STARTED    ) != 0) System.out.print(" GESTARTED ");
        if ((old_state & JCO.STATE_LISTENING  ) != 0) System.out.print(" HORCHEN ");
        if ((old_state & JCO.STATE_TRANSACTION) != 0) System.out.print(" TRANSAKTION ");
        if ((old_state & JCO.STATE_BUSY       ) != 0) System.out.print(" BESCHÄFTIGT ");
        System.out.print("] nach [");
        if ((new_state & JCO.STATE_STOPPED    ) != 0) System.out.print(" GESTOPPT ");
        if ((new_state & JCO.STATE_STARTED    ) != 0) System.out.print(" GESTARTED ");
        if ((new_state & JCO.STATE_LISTENING  ) != 0) System.out.print(" HORCHEN ");
        if ((new_state & JCO.STATE_TRANSACTION) != 0) System.out.print(" TRANSAKTION ");
        if ((new_state & JCO.STATE_BUSY       ) != 0) System.out.print(" BESCHÄFTIGT ");
        System.out.println("]");
      public static void main(String[] argv)
        JCOServer obj = new JCOServer();
        obj.startServers();

    Hello Alexander,
    congratulations to the invention of the wheel....
    Now, what do you think is the function of the application server itself? what you do here is to put a shell around JCO and then try to run it from another shell. Why not just use it from your program?
    I recommend to do some of the examples with JCO and then see what  the difference on this is.
    Regards,
    Benny

Maybe you are looking for

  • Consuming Web Service in ABAP

    Hi, We have a Web Service URL on PI. Run time of this Web Service in a Portal Server. We need to access the Same URL from ECC using ABAP Programming? Can any one tell me how we can call the same Web Service? I need to pass few values to the web servi

  • SLED with Batch Management

    HI Gurus,               We are using batch management for the material. At the time of goods receipt i am getting error Shortfall of 100 days against remaining shelf life in current item (365 Day) I have read some document and found that SLED calcula

  • This computer is not authorized to play "mzm.sggausza..640x454.h264lc.cd2.p.m4v"

    Keep getting this message every time I try to view a trailer from iTunes. I have been to 'Store' then 'Authorise this computer' and it tells me 'this computer is already authorised' so why can I not view movie trailers?

  • Calling ADF page in E-biz 11.5.10

    Hi, I developed a simple ADF Fuson web page using JDeveloper 11g. I would like to call this thru Oracle E-Biz 11.5.10. I was told that in E-boz 12 there is a profile option FND_EXTERNAL_ADF_URL to be set. But in 11i they are not sure what is the equi

  • Dynamic scroll bar not visible

    I created my text in a text file (saved as testtext.txt), then in Flash I added a dynamic text box (instance name: testtext) and dragged a scrollbar component (instance name: ttscroll) onto it. I then added this action script to the first frame: ttsc