Deploy Swing application in sun studio

I use Sun studio to write a swing application. How I can use this app in other computer(may be not install JDK or JRE)

Your question doesn't have to do with SunONE Studio ...
First off, of course the other computer needs to have at the very least a JRE installed. So if you assume they don't have a JRE, you need to arrange to deliver a JRE to them or include it with your installation procedure / tool.
Think about the contents of a Swing/java app - it's a .jar file plus other resources (that can be bundled in the .jar file). It helps to have a launching script or .exe depending on the platform, but that's not absolutely necessary as on many platforms simply double clicking the .jar file will launch the app (assuming a JRE is properly installed).
So deploying the application is just a matter of copying the .jar file to the system. But might involve the use of an "installer" depending on the needs of your customers.
Another route that's unique to Java is Java Web Start - in this case you write a JNLP file (it's in XML format), put it out on a web server, and send the link around. The browser will help you to launch the application. The customer still needs to get a JRE installed, and once they do the JWS pieces are available. JWS will handle the installation of the actual application, plus if you need to update the app JWS will see the updates and copy new .jar files or whatnot to their system.
- David

Similar Messages

  • How can I deploy JBI Application in Sun Java System Application Server 9?

    I developed a demo "Loan Processing Composite Application " in Netbeans.org(http://www.netbeans.org/kb/55/loanprocessing.html).
    The guide only show the deployment using Netbeans6.Now I want to deploy it directly using Server9 , how can I do?
    How to deploy a soa application in Sun Java System Application Server 9? Is there any doc?
    Please~~I'm puzzled.

    To deploy a JBI application to Sun's App Server, you will need a JBI compliant ESB installed. OpenESB would be my first choice here. Then as far as installing your components without Netbeans, there are two choices. 1) Copy your SA's to the JBI/ESB autodeploy directory and you binding components and service engines to the JBI/ESB autoinstall directory. 2) Use the ant tasks that the JBI specification (http://jcp.org/en/jsr/detail?id=208) requires for all JBI implementations. OpenESB's JBI tasks are detailed here: http://wiki.open-esb.java.net/Wiki.jsp?page=JBIAntTaskReference. These ant tasks can be wrapped with maven goals if needed.
    Jeff

  • Help in deploying the application on sun One Webserver

    Hi,
    I have downloaded the Sun OneWebserver. I need to migrate our application from JWS2.0 to Sun One.
    All the classes/servlet files should be under WEB_INF folder correct?
    Where is this WEB_INF folder? should i use one which is in iPlanet\Servers\bin\https\webapps\instance-app\WEB-INF
    or should i create one in \iPlanet\Servers\https<machine name>.
    One more thing is in iPlanet\Servers\bin\https\webapps\ , I have three directories, admin-app,instance-app or user-app. what is significance of each?
    Can anybody help?
    Thanks
    sg

    DO NOT overwrite or change anything in the iPlanet\Servers\bin\https\webapps directory. Those apps are for administering the web servers.
    To deploy your own apps do one of the following:
    If your app is in a self contained war file:
    Deploy it using the web GUI for the server or from command line - lookup the "Programmer's Guide to Servlets" for more info.
    If your app is not in a war file:
    Open the web-apps.xml config file for your virtual server and add the following sub-element in <VS> element:
    <web-app uri="/hello" dir="C:/temp/helloworld"/>
    Where uri is the app URI from server root and dir is the directory where your app is located.
    Once you have saved the file, go to GUI and click on "Apply" and then "Load configuration files".

  • Deploying JSF application on Tomcat 5.0.28

    Hi,
    I am having problems deploying JSF application (developed using Studio Creator) on Tomcat. Any suggessions ....
    HTTP Status 404 - Servlet Faces Servlet is not available....
    Thanks in advance

    I ran into this same problem moving from Tomcat 4.1.31 to Tomcat 5.0.28. This one was definitely a headscratcher, but the solution turned out to be simple as I had an older servlet api jar (2.3) in my J2SE's jre/lib/ext directory. I replaced the existing servlet.api with servlet-api.jar and jsp-api.jar from the Tomcat 5.0.28 common/lib directory, restarted Tomcat, and the problem disappeared.

  • Is it possible to integrate j2ee enviroment with sun studio developer???

    Dear all,
    I currently developing a jsp based web application with sun studio enterprise but sun studio by default does not support j2ee environment, i think it only support to j2SE.
    i want to use persistence and enterprise beans with my application but don't know, how to do it with sun studio developer.
    i can install the persistence and ejb api's separately, but i dont know whether sun developer will support them
    Can any on tell, what is the best tool for web application developement, while i will need to java uml diagrams later on.
    i would be grateful, if someone can help, i am really desprate
    shafqat zaman

    Sun Java Studio Enterprise 8.1 (built on top on NetBeans 5.0) does support j2ee (and j2se) development.
    For developing j2ee applications, both NetBeans (latest version is 5.5, http://www.netbeans.org) and SJSE can be used. For a comparison on SJSE and NetBeans, please take a look at:
    http://forum.java.sun.com/thread.jspa?forumID=747&threadID=5113472
    For a list of all development tools from Sun, please take a look at http://developers.sun.com/prodtech/devtools/free/index.html..
    i want to use persistence and enterprise beans with my application but don't know,
    how to do it with sun studio developer.For j2ee development, please check out NetBeans 5.5 ; there are several tutorials available at http://www.netbeans.org/kb/index.html. (Since SJSE is built on top on NetBeans, SJSE can also be used and all the NetBeans documents also will apply to SJSE).

  • Sun Studio Express Feb 2007, lingering dialog box upon Debug

    When I try to debug a project (say the Freeway sample application) in Sun Studio Express Feb 2007 on Solaris x86, Ultra 20, the following dialog box lingers. I am able to close it manually and debug normally however:
    Loading library
    /usr/lib/liblayout.so.1

    Yes, I've also seen this a number of times. I don't remember what was the problem exactly (dbx <-> IDE miscommunication?), but I believe it's gone now. Please wait for stable release , it should be available soon.

  • Deploying a web application on Sun One app server 7

    Hi,
    I am not able to deploy a web application on sun one server using Sun java studio.
    I have created Jsp, Servlet, Session bean and entity bean.
    When I am creating a web_module in the directory where JSP are kept, it is giving me error "directory is already mounted.
    I have already created EJB modules for both the Session and entity bean.
    Can some one tell me the cause / solution of this problem.

    Hi Amol,
    Thank you very much for replying my question. The contents in my application.xml are:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN" "http://java.sun.com/dtd/application_1_3.dtd">
    <application>
    <display-name>testwsapp</display-name>
    <description>J2EE Application testwsapp</description>
    <module>
    <web>
    <web-uri>testws_War.war</web-uri>
    <context-root>testws</context-root>
    </web>
    <alt-dd>testws_War.xml</alt-dd>
    </module>
    </application>
    The contents in jaxrpc-ri-runtime.xml are:
    <?xml version="1.0" encoding="UTF-8"?>
    <endpoints xmlns='http://java.sun.com/xml/ns/jax-rpc/ri/runtime' version='1.0'>
    <endpoint
    name='testws'
    interface='contactws.testwsGenServer.testwsRPC'
    implementation='contactws.testwsGenServer.testwsRPCBean'
    tie='contactws.testwsGenServer.testwsRPC_Tie'
    model='null'
    wsdl='/WEB-INF/testws.wsdl'
    service='{urn:testws/wsdl}Testws'
    port='{urn:testws/wsdl}testwsRPCPort'
    urlpattern='/testws'
    </endpoint></endpoints>
    I tried to access and check the web service using:
    http://servername:port/testws/testws
    The first testws is contextroot named and the second testws is url pattern, which was exactly like what you mentioned but I got "404 Not Found" error.
    By the way, using the same ear to deploy to Windows Sun ONE App. Server 7 env. and then using the same url, I can access the web service. I am wondering if there is any special for deploying Web Service on Unix Sun ONE app. Server 7 env. or I missed something?
    I hope I can hear from you soon.
    Thank you again,
    Jackie

  • Deploy Swing Java DB application in Jdeveloper 11g

    Hi
    I created a simple Swing Java DB application in Jdeveloper 11g,
    after I deploy this simple swing application, I try to run the jar file, I got the following error:
    C:\Jdev1013\jdevhome\jdev\mywork\Application2\Client\deploy>java -jar myJar.jar
    Exception in thread "main" java.lang.NoClassDefFoundError: oracle/jbo/uicli/controls/JUPanel
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
    at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    Caused by: java.lang.ClassNotFoundException: oracle.jbo.uicli.controls.JUPanel

    Hi Shay,
    Thanks for your response.
    The following is what I did:
    1. connect JavaDB on my C drive by using generic jdbc
    2. create EO, VO and AM manually based on one JavaDB table (Please note: When I use the BC4J wizard, I can only create VO, the EO is empty)
    3. run BC4J tester to insert and update data
    4. created an ADF Swing application by dragging the EMPview from data control to the editor
    5. save the project and run java class
    6. create the deployment profile by following your instruction,
    and select all libraries from the Contributors list when I create the file groups
    7. deploy the jar file without any error
    8. run the jar file and get the following error:
    C:\Jdev1013\jdevhome\jdev\mywork\Application2\Client\deploy>java -jar myJar.jar
    Exception in thread "main" java.lang.NoClassDefFoundError: oracle/jbo/uicli/controls/JUPanel
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
    at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    Caused by: java.lang.ClassNotFoundException: oracle.jbo.uicli.controls.JUPanel
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    ... 12 more
    Could not find the main class: client.PanelDerbydbView. Program will exit.
    Thanks

  • Oracle Jdeveloper 11g R1 has a Bug?-- Swing Application Deploy Error

    Oracle Jdeveloper 11g R1 (11.1.1.2.0) (build 5536)
    1. Create an empty swing application.
    File-->New-->Applications-->Java Desktop Application
    New-->Swing/AWT-->Frame
    2. Project properties--->Deployment: Create new JAR Deployment Profile: test
    3. Edit Deployment Profile: test
    File Groups --->new--->Create File Group (Type: Dependency Analysis) :da
    4. Error: Cannot enter "da"---->contributors , No display (such as "Libraris")
    5. If deploy it (test), I get an Unexpected Error.
    Error Messages:
    Title: StackOverflowError in o.ji.xml.JDevXmlIntergrationUtilsImpl:18
    Performing action Report a Bug...[ from oracle.jdevimpl.uieditor.UIEditorImpl ]
    Invoking command: [ from oracle.jdevimpl.uieditor.UIEditorImpl ]
    Performing action New...[ from oracle.jdevimpl.uieditor.UIEditorImpl ]
    Performing action Show Overview
    Performing action New...[ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Invoking command: Class Generation[ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Performing action Project Properties...[ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Performing action New...[ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Performing action New...[ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Performing action New...[ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Performing action Project Properties...[ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Invoking command: [ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Uncaught exception
    java.lang.StackOverflowError
    o.ji.xml.JDevXmlIntegrationUtilsImpl.canBeSelected0(JDevXmlIntegrationUtilsImpl.java:18)
    o.ji.xml.JDevXmlIntegrationUtilsImpl.canBeSelected0(JDevXmlIntegrationUtilsImpl.java:18)
    o.ji.xml.JDevXmlIntegrationUtilsImpl.canBeSelected0(JDevXmlIntegrationUtilsImpl.java:18) ......
    When I use Oracle Jdeveloper 10g (10.1.3.4.0) , I can use it to set Libraris.
    I have a swing application need these operation.
    Does anyone can tell me what's the reason?
    Thanks.
    I had tried Oracle JDeveloper 11g R1 (11.1.1.1.0)(Build 5407).
    It is OK.
    Maybe I need to download Oracle JDeveloper 11g (11.1.1.2.0) again.
    Edited by: [email protected] on 2010-2-24 下午4:58
    Edited by: [email protected] on 2010-2-25 下午5:47

    I am encountering the same bug / problem right now.
    Anybody from Oracle who has a workaround for this BUG?
    We are migrating to JDev 11.1.1.2.0 for a client and this bug is still there!
    Any help from the JDev team is highly appreciated!

  • Deploy the BC4J JSP Applications to Sun ONE Application Server 7.0

    Hi
    I am new for the Jdeveloper 9.0.3, I felt that the OC4J is quite useful, but I am not sure if it can be deployed on Sun ONE application server 7.0 (Our team are using Sun ONE Application server 7.0 as our J2EE AS). If it can, please tell me the deploy procedures, Thanks in advance!
    Regards

    I'm not sure if we've tried it under 7.0, although we did under 6.5 a short while back. If you write a BC4J based J2EE application, it should be able to be deployed across Application Servers (TSS just added Sun One 7 to their cluster)
    You can take a look at the 6.5 procedures for now, and just do the same as migrating from 6.5 to 7.0.
    http://otn.oracle.com/products/jdev/howtos/appservers/deploy_bc4j_to_iplanet.html
    Rob

  • How to deploy a portlet application on Sun One Portal Server?

    Hi all,
    I have developed a JSR168 helloworld portlet.
    how will i deploy that war file to Sun One Portal Server ?
    Thanks & Regards
    ~Neeraj.

    Thanks Shay! I was able to deploy the application per your instructions.
    [10:41:53 AM] Deploying Application...
    [10:42:10 AM] [Deployer:149192]Operation 'deploy' on application 'mobilesolution2 [Version=V2.0]' is in progress on 'AdminServer'
    [10:42:13 AM] [Deployer:149194]Operation 'deploy' on application 'mobilesolution2 [Version=V2.0]' has succeeded on 'AdminServer'
    [10:42:13 AM] Application Deployed Successfully.
    [10:42:13 AM] Elapsed time for deployment: 32 seconds
    [10:42:13 AM] ---- Deployment finished. ----

  • Deployment of the sample application on Sun Solaris

    Hi,
    I have downloaded the sample application 'EJB Order Entry System' and its help file 'EJBDirections.pdf'. It gives details about deploying the application on the Oracle running on NT Server. Pl help me as I am facing problems in deploying a EJB component to the Oracle Jserver 8.1.7 running on the Sun Solaris. I am getting the following exception when I am trying to deploy in from my local system onto the Sun Oracle Server:
    call deployejb -republish -temp temp -u cs -p callserver -s sess_
    iiop://10.18.2.23:32800:ndb -descriptor empBeanDesc.ejb myBean.jar
    Reading Deployment Descriptor...done
    Verifying Deployment Descriptor...done
    Gathering users...done
    Generating Comm Stubs.........................................done
    Compiling Stubs...done
    Generating Jar File...done
    Loading EJB Jar file and Comm Stubs Jar file...done
    Generating EJBHome and EJBObject on the server...
    Message [IOEXCEPTION_DESERIALIZING] not found in 'oracle.aurora.ejb.deployment.s
    erver.Messages'.
    Is there something wrong in the way I am trying to deploy the EJB. Pl advice.
    Thanks,
    Jagdish

    No problem.
    Make sure your resources are set at the proper location. Could be that tje jni.jar is under a 'lib' folder?
    Normally you don't have to worry about deployment a lot if you are using like Netbeans 7.2 or higher.
    When you press 'Clean and build' it creates your deployed files in the 'dist' folder.
    You can change specification by adapting the build.xml file.
    Of course lot of different possibilities are available for deployment!
    You can find lot of info here:
    [http://docs.oracle.com/javafx/2/deployment/jfxpub-deployment.htm|http://docs.oracle.com/javafx/2/deployment/jfxpub-deployment.htm]
    Important to know is if you want to work with
    - a standalone application (self-contained or not)
    - with webstart
    - or with applets
    (In my case I'm using webstart, but also Self-Contained Application Packaging (jre is also installed!)

  • Deployment Error as Enterprise application in Sun Application server 7

    Hi folks,
    I am tring to deploy some jdbc application in Sun Application server 7
    While deployment of jdbc-simple.ear as Enterprise application, I get following error.
    ==============================================================
    Deployment Error -- Error while running ejbc -- Fatal Error from EJB Compiler -- -- Compilation failed: com.iplanet.ias.ejb.codegen.ProcessExecutorException: Abnormal process termination -- process returned: 11 Attempted command: $HOME/appserver7/studio4/bin/fastjavac/fastjavac.sun -jdk $HOME/appserver7/jdk -g -d $HOME/appserver7/domains/domain1/server1/generated/ejb/j2ee-apps/jdbc-simple -classpath $HOME/appserver7/lib/appserv-rt.jar:$HOME/appserver7/jdk/lib/tools.jar:$HOME/appserver7/lib/appserv-ext.jar:$HOME/appserver7/lib/appserv-cmp.jar:$HOME/appserver7/imq/lib/imq.jar:$HOME/appserver7/imq/lib/imqadmin.jar:$HOME/appserver7/imq/lib/imqutil.jar:$HOME/appserver7/lib/appserv-admin.jar:$HOME/appserver7/lib/appserv-ideplugin.jar::.:$HOME/lib/common/servlet.jar:/usr/java/lib/tools.jar:$HOME/appserver7/domains/domain1/server1/generated/ejb/j2ee-apps/jdbc-simple:$HOME/appserver7/domains/domain1/server1/generated/ejb/j2ee-apps/jdbc-simple:$HOME/appserver7/domains/domain1/server1/generated/ejb/j2ee-apps/jdbc-simple $HOME/appserver7/domains/domain1/server1/generated/ejb/j2ee-apps/jdbc-simple/samples/jdbc/simple/ejb/GreeterDBBean_RemoteHomeImpl.java $HOME/appserver7/domains/domain1/server1/generated/ejb/j2ee-apps/jdbc-simple/samples/jdbc/simple/ejb/GreeterDBBean_EJBObjectImpl.java Output from command:
    ==============================================================
    Any help would be appreciated.

    Hi Vchavan,
    can you see the that actual compilation problem in server.log?
    Thanks,
    -- markus.

  • Can not launch swing application from Java Web Start 1.6.0_37

    I have a dynamic generated jnlp file from a serlvet. When I used Java Web Start to start the swing application, it failed. The exception showed
    com.sun.deploy.net.FailedDownloadException: Unable to load resource: http://xxxx.xx.com:9080/dilpipweb/Test-1.0-SNAPSHOT.jar
         at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
         at com.sun.javaws.LaunchDownload$DownloadTask.call(Unknown Source)
         at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
         at java.util.concurrent.FutureTask.run(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    I used janela to validate the generated jnlp file. It was valid. I also checked the tomcat access log, it showed that the Test-1.0-SNAPSHOT.jar file was accessed correctly (with a 200 return code).
    Can anyone help me what was the problem?
    Thanks,

    Hi.
    I got a different problem. My Corba application works in JRE 1.6, but doesn't works in JRE 1.5.X. I got an unexpected error and my console shows:
    getSubjectX500Principal NoSuchMethodError: java.lang NoSuchMethodError
    #### Java Web Start Error:
    #### null
    Can you help me?

  • Error calling WSDL Service in Swing application.

    I'm having the following error when calling a web service in a Swing Application.
    getUserInfo is defined and properly deployed. I tried several time to recreate WSDL cache and auto generated code, but nothing changed.
    Exception occurred during event dispatching:
    java.lang.Error: java.lang.reflect.InvocationTargetException
    Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.jdesktop.application.ApplicationAction.noProxyActionPerformed(ApplicationAction.java:662)
        ... 88 more
    Caused by: java.lang.Error: Undefined operation name getUserInfos
        at com.sun.xml.ws.model.JavaMethodImpl.freeze(JavaMethodImpl.java:327)
        at com.sun.xml.ws.model.AbstractSEIModelImpl.freeze(AbstractSEIModelImpl.java:97)
        at com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:268)
        at com.sun.xml.ws.client.WSServiceDelegate.addSEI(WSServiceDelegate.java:683)
        at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:340)
        at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:323)
        at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:305)
        at javax.xml.ws.Service.getPort(Unknown Source)
        at com.up4b.mercury.services.ServerManagerService.getServerManagerPort(ServerManagerService.java:56)
        at com.up4b.mercury.client.MercuryClientLoginBox.checkUser(MercuryClientLoginBox.java:139)
        ... 93 more

    OK.
    So here is an inside view of what I'm doing:
    Service is coded in a J2EE Web Application like this:
         * Web service operation
        @WebMethod(operationName = "userInfos")
        public Musers userInfos(@WebParam(name = "userId")
        Long userId) {
            return serverManager.getUserInfos(userId);
        }And in the client (Swing application generated by Netbeans) the code is:
    try { // Call Web Service Operation
                        com.up4b.mercury.services.CampaignManagerService service = new com.up4b.mercury.services.CampaignManagerService();
                        com.up4b.mercury.services.CampaignManager port = service.getCampaignManagerPort();
                        java.lang.Integer campaignId = client.getCampaignId();
                        java.util.List<com.up4b.mercury.services.Mstatus> result = port.getStatusList(campaignId);
                        Iterator iter = result.iterator();
                        String[] statusArray = new String[255];
                        statusArray[0] = "Sélectionner un statut";
                        int i = 1;
                        while (iter.hasNext()) {
                            com.up4b.mercury.services.Mstatus ts = (com.up4b.mercury.services.Mstatus) iter.next();
                            statusArray[i] = ts.getStatusSdesc();
                            i++;
                        status.setToolTipText("Statut de la fiche");
                        status.setModel(new javax.swing.DefaultComboBoxModel(statusArray));
                        status.setSelectedIndex(0);
                        // Reset pause mode to false and button to proper state
                        pauseButton.setSelected(false);
                        pauseButton.setText("Pause");
                        pauseState = false;
                    } catch (Exception ex) {
                        getClient().setIsActive(false);
                    }

Maybe you are looking for

  • How to create a variable in Bex Query Designer

    Hi guys, I am writing a query for a travel management report using the SAP Standard cube. I would like to restrict the query so it only shows me the last two months excluding the current month. I have checked BI content in RSA1, but I canu2019t find

  • Transfer only selected data from one .pdf to another using hyperlink

    I have a form that has mutiple pages.  On one of the forms, I have created a hyperlink to open a different form.  My objective is to be able to click on the hyperlink and transfer some of the data from the original form to the hyperlink form.  Is tha

  • Jsp and database

    I am new to jsp can anyone tell me what is the best way to connect to database like should I created on java class for that and import it into the jsp

  • Error with 10.1.1 update

    Anyone else have this issue? Attachments: error.JPG ‏20 KB

  • Can KM news Items be restricted in KM News iView?

    Hi,     We are working on EP 7.0 SR1. We have created a KM news iView. We would like to restrict the no. of news items, published on this iView. So that always top 4 News will be displayed. Does any one have solution for this? Regards Sunil Kulkarni