Can a servlet run a GUI application on the server?

Is it possible to create a servlet which runs an application or applet on server and interact with the client from a server-side perspective? If so, how would this be done?
Thanks!

yes this could be done using swing.
but, why not just create a kind of management servlet (i guess, that's what you would like to do?) and use the browser as client? Like this you can run the server monitoring/management console everywhere...

Similar Messages

  • How to run a .jar application via the web

    I have a java application called up.jar which runs a gui application when run via the command line:
    javaw com.vignette.integrate.runtime.ZipFileRuntime up.jar
    I want to run this in a web browser but am just starting to learn html and java. Can anyone please knock a quick script together that I can use to get this to run!!!?
    Thanks
    Ian

    The short answer is, it doesn't work like that.
    A longer answer: Something that runs as an application doesn't necessarily work as an applet (i.e., in a browser) and making it run as an applet usually can't be done without knowing the details about the code in question.
    However it's possible that the jar already contains code that allows it to be invoked as an applet. Did you check vignette.com to see if they have any documentation on this?

  • How can we handle in flex application if the server is down?

    how can we handle in flex application if the server is down?

    You and me both. 
    As ambiguous as the original question was, I think he was just asking how to handle a server exception and I would suggest generally just using a Alert.show("your specific message (eg.  The server is currently unavailable)") in the place where you handle the fault return from your service or http call.  I'm sure there are more complicated messaging frameworks or approaches, but that seems to be enough for my apps.

  • After done the Mavericks update from Mountain Lion, I can't no more extend my applications to the second screen. Can somebody help me ??

    After done the Mavericks update from Mountain Lion, I can't no more extend my applications to the second screen. Can somebody help me ??

    Check here:
    System Preferences > Mission Control > uncheck Displays have separate Spaces > Log Out ( >Log Out <user>) > Log back in

  • Can I install two different iPhoto applications on the same Mac?

    Can I install two different iPhoto applications on the same Mac?

    Please explain in more detail what you are wanting to do.
    Do you want to have two different versions of iPhoto, have two different Libraries or Share iPhoto with multiple users?
    Two different iPhoto versions (06 and 08, 08 and 09 for examples) is a problem and I say no because the older version can not use a Library that the newer version has modified. 
    For iPhoto support articles, see >  Apple - Support - Mac Apps - iPhoto
    To Share a Library with other users, see > iPhoto: Sharing libraries among multiple users
    To Move a Library, see > iPhoto '11: Move your iPhoto library to a new location

  • How to manually completely remove a J2EE application from the server?

    Hello,
    I have created and deployed a certain test J2EE application.
    After I finished with it I wanted to remove it, yet I cannot do it: Any removal attempt, either by the SDM or Admin Tool, encounters exceptions and errors I cannot handle. I tried restarting the server, stopping the application yet nothing works. on telnet the application has always STOPPING ststus...
    Desperately, I have decided to manually remove this application from the server yet I don't know the steps.
    Can someone please give me a step-by-step guidance on how to completely remove this application from the server, so it won't appear anyome both at the SDM and at the deploy service of the WAS?
    Thank you in advance,
    Roy

    Hi Peter,
    I've reproduced the problem and created a thread dump. I believe these lines are the important ones:
    "SAPEngine_Application_Thread[impl:3]_10" prio=5 tid=0x080cc9d8 nid=0x18e0 in Object.wait() [8a8f000..8a8fdb8]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x14450d88> (a java.lang.Object)
         at java.lang.Object.wait(Object.java:429)
         at com.sap.engine.services.ejb.EJBAdmin.destroyContainers(EJBAdmin.java:1145)
         - locked <0x14450d88> (a java.lang.Object)
         at com.sap.engine.services.ejb.EJBAdmin.commitStop(EJBAdmin.java:2529)
         at com.sap.engine.services.deploy.server.application.StopTransaction.commonCommitFinished(StopTransaction.java:262)
         at com.sap.engine.services.deploy.server.application.StopTransaction.commitCommon(StopTransaction.java:305)
         at com.sap.engine.services.deploy.server.application.StopTransaction.commit(StopTransaction.java:291)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:310)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesImpl(ParallelAdapter.java:327)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.runInTheSameThread(ParallelAdapter.java:111)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesAndWait(ParallelAdapter.java:230)
         at com.sap.engine.services.deploy.server.application.RemoveTransaction.begin(RemoveTransaction.java:133)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:292)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:326)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3139)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.remove(DeployServiceImpl.java:903)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.remove(DeployServiceImpl.java:5056)
         at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:885)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:304)
         at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:193)
         at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:122)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Could you please advise how to proceed from here?
    Thank you in advance,
    Roy

  • Can I install Mac OS X Leopard (not the server version) on a Xserve?

    Hi all.
    Can I install Mac OS X Leopard (not the server version) on a Xserve and run BootCamp (to use Windows), and other Mac applications like FileMaker, Toast, iWork, e.g.?
    Thanks in advance.

    Can I install Mac OS X Leopard (not the server version) on a Xserve
    Yes, but some functions may not work as intended. See here for some information; all Mac OS X 10.5 installations are universal binary.
    and run BootCamp (to use Windows)
    Probably not. Use a program such as Parallels Desktop.
    and other Mac applications like FileMaker, Toast, iWork, e.g.?
    Yes.
    (25942)

  • Application shows - "The server refused the connection " when I click on project from ATG BCC and then layout

      Hi,
          Application shows - "The server refused the connection " when I click on project from ATG BCC and then layout. Can you please tell me the cause of the error and the log file where i need to debug. We have deployed on Weblogic Server.
    Thanks

    Hi,
    You can see ATG server log, located at ATGXXX/home/servers/yourPublishingServer/logs, and you can see your wwblogic server log.
    In WebLogic, the logs are located at domains/your_domain/server/yourPublishingServer/logs.
    Check the logs and then return with it, so we can help you.
    Hope it helps.

  • I've downloaded iMessage and i can't open it...it says: The server encountered an error processing registration. Please try again later.

    I've downloaded iMessage and i can't open it...it says: The server encountered an error processing registration. Please try again later.

    Try again from here:
    http://www.apple.com/macosx/mountain-lion/messages-beta/
    realize that this is still Beta software.

  • Unable to deploy the application onto the server (soadev)

    Hello,
    I tried to deploy an application using Jdeveloper but it failed. Then tried to directly deploy it onto the server and I am getting the following errors. The name of the application is Customer Application. Please provide any suggestions to solve this.
    ERROR:
    [August 29, 2013 10:11:55 AM EDT] [Deployer:149193]Operation 'deploy' on application 'CustomerOperationsForm' has failed on 'soa_server2'
    [August 29, 2013 10:11:55 AM EDT] weblogic.application.ModuleException: Context path '/CustomerOperationsApplication' is already in use by the module: CustomerOperationsApplication application: AdfCustomerOperationFormDev
    [August 29, 2013 10:11:55 AM EDT] Context path '/CustomerOperationsApplication' is already in use by the module: CustomerOperationsApplication application: AdfCustomerOperationFormDev
    [August 29, 2013 10:11:55 AM EDT] Deploy operation failed.
    Thanks,
    Sal

    You need to remove the existing instance of the application from the server - either from the WebLogic Console or directly from JDeveloper:
    https://blogs.oracle.com/shay/entry/removing_applications_from_you

  • Running a GUI application without holding command prompt

    Hi there ,
    I have developed a GUI application using Swing. After compiling the same successfully , when I run the same , presently , I am running it like ,
    c:\> java xxx
    where c:\ is the general command prompt on a Windows machine where I can type in my commands like javac or java and xxx is the class file name . Now till I complete using my GUI application and exit from the same , the command prompt will also be there ( and probably displaying the output of my System.out.println ) . So , two sessions are running , one is just the command prompt and another is the actual GUI application.
    How can I avoide this ? e.g. when I type command "notepad" and press enter , notepad is started and the command prompt returns after starting notepad i.e. the notepad and the command prompt are not related now , I can close the command intrepreter and still notepad is running . What should I do to create such a Java GUI application ? Please advice .

    If I understand you correctly this is something that happens in linux also. And I believe that you can solve this by creating to shortcut to this program.
    And the shortcut or link to application will be the command line that you use to run the Java Application.
    i.e.
    java c:\javadir\subjavadir\application.class
    And I believe that this will allow it to run without the command prompt. Just showing the GUI and no additional command prompt window. Freeing the command prompt is something that I don't know how to do in either OS.
    I use the Link To Application method because I ultimately don't need to have multiple windows for one application. Even though it is nice to be able to kill the Application by destroying the command-prompt session (in case your app causes lock-ups during testing).
    Post your results . . . I'm not even sure that I'm being clear at all with my explanation to your question.

  • Can I use the search engine and run a web application under the same iPlanet 6.0 virtual server?

    I've got an iPlanet 6.0 SP2 virtual server with the search engine enabled, which was tested and working. I then deployed a web application to it (mapped to "/"), and the web application works fine but now the search functionality is completely broken. Browsing to /search results in a directory index being displayed. Is there some trick to getting the two working together? I tried shuffling NameTrans directives around, but can only get either the search or the web app working, not both.

    Ok, I'm going to answer my own question now...
    The issue has been resolved after some additional experimentation on my part. There were two causes for my problem:
    1. The NameTrans directives in obj.conf are in the wrong order when Java and Search are enabled from the administration interface.
    Here's the admin server generated obj.conf I started with initially, when the web application was working, but requests to the URI "/search" returning a 404 error:
    <Object name="default">
    NameTrans fn="NSServletNameTrans" name="servlet"
    NameTrans fn="pfx2dir" from="/search-ui" dir="/usr/local/iWS-6.0/plugins/search/ui" name="es-internal"
    NameTrans fn="pfx2dir" from="/mc-icons" dir="/usr/local/iWS-6.0/ns-icons" name="es-internal"
    NameTrans fn="pfx2dir" from="/manual" dir="/usr/local/iWS-6.0/manual/https" name="es-internal"
    NameTrans fn="es-search-nametrans" from="/search"
    NameTrans fn="NSServletNameTrans" name="servlet"
    NameTrans fn="document-root" root="$docroot"
    </Object>
    Here's my obj.conf now, which works perfectly:
    <Object name="default">
    NameTrans fn="pfx2dir" from="/search-ui" dir="/usr/local/iWS-6.0/plugins/search/ui" name="es-internal"
    NameTrans fn="pfx2dir" from="/mc-icons" dir="/usr/local/iWS-6.0/ns-icons" name="es-internal"
    NameTrans fn="pfx2dir" from="/manual" dir="/usr/local/iWS-6.0/manual/https" name="es-internal"
    NameTrans fn="es-search-nametrans" from="/search"
    NameTrans fn="NSServletNameTrans" name="servlet"
    NameTrans fn="document-root" root="$docroot"
    </Object>
    The "servlet" NameTrans directive needs to go below all others which map a URI to a function or directory (but before "document-root"), or they break. This is consistent with the iPlanet documentation on NameTrans, but the admin server doesn't get it right!
    2. The developer who wrote the web application uploaded a directory named "search" in the root of his application, which caused the server to display a directory index of "/search", instead of executing the search function. I believe this issue is covered in an iPlanet knowledge base article.

  • How can i run my form application on the other site?

    how can i run my form application(already compiled) on the other computer without developer/2000 environment?
    What should i do ?
    Thanks in advance!

    Well you have to install ORACLE developer runtime on your client side. then just copy your complied forms (fmx) files to your client machine and set it up to run.
    Hope this helps
    Faisal

  • How to run a FXML application on a server?

    I would like to learn how to run a FXML application as applet directly on a server with no download for the client part.
    My question:
    1) Is it possible?
    2) Is there someone so kind to give me some basic steps I have to follow to accomplish this?
    A working example of the whole process would be very appreciated.
    Thanks very much.

    I'm not sure the question really makes sense.
    FXML is a markup language for laying out the user interface in a JavaFX application. So "FXML application" doesn't really make sense; you have JavaFX applications whose layout may or may not be managed by FXML. What you can do with those applications doesn't depend on whether FXML is used. In any event, JavaFX applications are inherently client-side applications; they have a user interface and expect user interaction. It wouldn't make sense to run these on a server.
    So it's not really clear to me what you mean.

  • Can we undeploy the application while the server is down?

    Hi Experts,
    We ran into a problem when we deployed the Web Dynpro application and restarted the instance because we made some change on the rfc. Unfortunately, the server never came back up since then, and we are unable to deploy the application anymore.
    I would like to undeploy the application that I deployed earlier and restart the again, but since the server is still down (almost 5 hours up to now) I cannot connect to the Visual Administrator. In addition, the dispatcher is always red at this point, but the SDM and server are green. Could anyone give some suggestion? I would very appreciate that.
    Thank you,
    -Don P.

    i don't think server is down in your case ... only dispatcher process is down. Try to make this process up.
    You can always undeploy using SDM.bat which will be available if SDM is up and running.
    Mahesh

Maybe you are looking for

  • CMS import  for SAP ESS component(SP 15) fails with fatal error.

    Hi, We are working on EP 7.0 SP 15. We have a requirement for changes to be made to SAP delivered ESS codes. We have set up the NWDI and and from the checkin tabn of CMS, the components SAP-JEE (7.00 SP18 ), SAP_JTECHS(7.00 SP18 ), SAP_PCUI-GP(SP 18)

  • Save As Page displays below Adobe Reader X in Modal window when selecting SAVE

    Reports are being viewed in the explorer using Adobe Reader this opens in a Modal window which is a requirement. When selecting the 'Save a Copy'  button from any location on the page using the floating toolbar or standard toolbar the Save As page is

  • Wear and tear

    hi is there any function module to calculate wear and tear for particular asset?

  • Process blocked sales and distribution documents from the SAPoffice inbox

    Hi, I know VKM1/VKM3 can be used to release order. And SAP help shows we can process blocked sales and distribution documents from the SAPoffice inbox. Could anyone tell me how? I can use output type KRML to send a mail to SAPoffice inbox, but don't

  • 9i - calling reports from menu

    Hi, Could somebody tell me if it's possible to call a report using the run_report_object facility from a menu. There isn't the reports node that there is on a form to define the report. Many thanks, Sean Dwyer