Migrating stand alone programs to web based application

Hi,
I have a small application consisting of .class files. I created these using Swing components and it's based on Client/ server model where it accesses Oracle Database.
I want to deploy these programs in Java App Server so that it can be accessed thru web browser.
Please tell me how to do it.
Thanks in advance.
Rajeev.
Message was edited by:
Rajeev.Asthana

If this was the thing, Sun, Microsoft and IBM
wouldn't have even giving a thought of migrating
legacy application (I'm talking about Mainframes and
AS/400 here). If this kind of migration is possible,
can't we migrate a java code from stand-alone
"version" to web enabled.
Migration is not really a term to use to for converting a stand alone application to a web application. Unless of course again you are prepared to turn it into an applet.
The flow and control of a web application are entirely different from a stand alone app. You will not be able to reuse Swing GUI's from a web server. I don't know how to make that any clearer.
Hopefully you have a good design for your existing application and you can relatively easily reuse your existing business logic components.

Similar Messages

  • Stand alone vs. Browser based application

    Can someone please tell me what are the pro's and con's of a browser based application specially for an XML authoring tool.
    Here are some of the advantages I found for non-browser application:
    1. We have a flexible submittal process, since the user can launch the application anytime.
    2. Once launched, user can work offline. When done, user can again connect to the network and save the document to a repository.
    3. We will have a better look and feel for our authoring tool, since it is not constrained within the browser area.
    Let me know your thoughts and ideas.
    null

    Can someone please tell me what are the pro's and con's of a browser based application specially for an XML authoring tool.
    Here are some of the advantages I found for non-browser application:
    1. We have a flexible submittal process, since the user can launch the application anytime.
    2. Once launched, user can work offline. When done, user can again connect to the network and save the document to a repository.
    3. We will have a better look and feel for our authoring tool, since it is not constrained within the browser area.
    Let me know your thoughts and ideas.
    null

  • Registering the Web based application as a Partner Application

    Good day
    I went through the suggested documentation of registering a
    web based application as a partner application of the SSO Login Server.
    I installed the SSOSDK.JAR and went through the demo application (JSP Demo)
    which consists of the following programs :
    papp.jsp
    ssoinclude.jsp
    ssoEnablerJspBean
    SSOEnablerBean
    SSOSignon
    As per the technical documentation,I register this demo application as a
    partner application.
    1 - The source code of the papp.jsp checks for the existence of the user
    through method of ssoEnablerJspBean [getSSOUserInfo(request, response)] which
    calls method of SSOEnablerBean [getSSOUserInfo (request, response) and this
    method calls getUserInfo(p_request) of SSOEnablerBean (the same program) to
    check the existence of the application cookie.
    2 - If it doesn't exit , it redirect it to the SSO Login page for user
    authentication.Once the user is authenticated, a SSO login cookie is created on
    the client's browser and redirects back to the SSOSignOn.
    3 - The SSOSignOn program creates the application cookie and redirects back to
    the entry point of the demo application which is papp.jsp.
    My Questions are as follows :
    1 - Instead of creating a session object within my web based application to hold some
    information used between the different pages, can I define them in the
    application cookie? kindly advise? Is there any limitation for the length of
    the application cookie? If yes, what will be the risk?
    2 - The SSOSignOn program is calling a method in the SSOEnablerBean
    [setPartnerAppCookie(response, request). Within this method , it is retrieving
    the parameters values of the request object as :
    request.getParameterValues("urlc")[0];
    What is the role of this [urlc]? Is it hard coded? Can I change it?
    3 - In order to ensure that I am still dealing with the same user, shall I put
    the above security check procedure on each page of my weeb based application? Kindly advise?
    Thanks in advance for your prompt feedback
    regards

    Dear Paul
    I think there is a misunderstanding regarding the last correspondence.
    I am talking about the customized home page of the PORTAL and not the home page of my web based application (JSP) .So in this case, Am I able to use the customized home page which contains a login portlet instead of the default Login page of the SSO Login Server.Kindly advise!!!
    On the other hand, I am facing a problem during the surfing of the web based application.
    The web based application consists mainly of two packages :
    Package I : Bank.counter which contains a set of jsp pages.
    JSP_HOME_COUNTER (MAIN PAGE WHICH CONTAINS 2 FRAMES)
    JSP_LEFT_FRAME_COUNTER
    JSP_MAIN_FRAME_COUNTER
    JSP_MAIN_FRAME_COUNTER_DETAIL
    Package II : Bank.portfolio which contains a set of jsp pages.
    JSP_HOME_PORTFOLIO (MAIN PAGE WHICH CONTAINS 2 FRAMES)
    JSP_LEFT_FRAME_PORTFOLIO
    JSP_MAIN_FRAME_PORTFOLIO
    Please note that the SSO classes are residing under the first package.
    As agreed on in the third question, I am including in each page of my web based application, a security check procedure as follows :
    <%@ include file="ssoinclude.jsp" %>
    <%
    if(usrInfo == null)
    response.getWriter().println("<center>User information not found</center>");
    else
    my jsp code.......
    %>
    Please note that all the jsp page of the portfolio package are pointing to the SSO classes as follows :
    <%@ include file="../counter/ssoinclude.jsp" %>
    <%
    if(usrInfo == null)
    response.getWriter().println("<center>User information not found</center>");
    else
    my jsp code.......
    %>
    Once I invoke the JSP_HOME_COUNTER , it will render the JSP_LEFT_FRAME_COUNTER page and
    JSP_MAIN_FRAME_COUNTER page which invokes the SSO Login page. Once the user has been authenticate, the result of the JSP_MAIN_FRAME_COUNTER is rendered successfully. The result contains an hyperlink to the
    JSP_MAIN_FRAME_COUNTER_DETAIL page. As the user has been authenticated , this page is rendering automatically the result without displaying the SSO Login page. (Perfect as of now!!).
    Once I invoke the JSP_HOME_PORTFOLIO from the JSP_HOME_COUNTER, it runs the security procedure without any rendering of the SSO Login page (fine!!) but redirects me back to JSP_HOME_COUNTER instead of rendering the result of the JSP_HOME_PORTFOLIO.
    please note that the m_requestUrl variable in the SSOEnablerJSPBean class has been assigned the folowing value : JSP_HOME_COUNTER
    Kindly advise .

  • Muse as a stand alone program

    Hey Adobe, where I teach the university pays for CS 6 Master Suite for all the instructors. I used Muse when it was beta and looked forward to buying it when it came out because my university doesn't plan on using the program for instruction. But YOU will only let people use it if we pay for Cloud access for ALL your programs.
    Using Muse only through Cloud, instead of also selling it as a stand alone program is just plan stupid. Makes no sense to me. Rediculous to have to pay for all the services of Cloud when I only want Muse. Get it. I have the Master Suites. I don't need Cloud. I just want Muse.
    Please release Muse as a stand alone produce just like your other programs. I'd be happy to pay for it. I loved the beta version.
    Frustrated.
    Walt Calahan

    Walter Calahan wrote:
    I'd still like the option of buying the program as a stand alone.
    That definitely won't happen.
    Muse was aways going to be subscription only and I suspect Adobe's entire software delivery will go that way sooner rather than later once they've established a viable, sustainable business model.
    http://www.adobe.com/products/muse/faq.html
    Why is Adobe Muse sold only by subscription?
    Adobe Muse is sold only by subscription because it will allow the Adobe Muse team to improve the product more quickly and be more responsive to your needs. New features will be made available when they're ready, likely to be released on a quarterly basis. This will allow us to stay on top of browser and device compatibility issues and web design trends and standards, as well as allow us to respond to feature requests and market changes in a timely fashion.
    Walter Calahan wrote:
    I see the two options for pricing, but the Adobe page continues to have a "Buy" button for a totally different price then the two listed.
    Not sure what you mean. Can you elaborate?

  • Conversion of forms5.0 to web based application

    dear folks,
    i have an existing application which runs on forms 5.0. i want to
    convert it to a web based application. i do not want to rewrite
    the scripts.if some of you could tell me the details about how to
    go about it.
    null

    I am not sure if there is any tool to do that.
    You can delete WebSphere specific xml files from ear/jar and open it in Weblogic's builder tool. Weblogic Builder is a GUI tool. Helps you assign values for deployment parameters, Transaction attributes, JNDI names and so on. Then you can generate deployment descriptors. Subsequently you can modify the descriptors as and when you want.

  • Client/Server to Web-Based application Conversion

    Hi! Everyone,
    I have couple of questions for you guys.
    Our Client had recently upgraded Forms 4.5 to 6i to move from Client/Server based application to Web based application.
    They are using Forms Server 6i Patch Set 1, OAS 4.0.8.1, Windows NT Service Pack 5 and Oracle 7.3. They are facing the following error every now and then, when they run the forms,
    "FRM-92100: Your connection to the server was interrupted. This may be the result of a network error or a failure on the server.You will need to re-establish your session."
    Please let me know what might be causing the above error. The only problem i can think about might be Oracle 7.3. If i am right only Oracle 8 and above supports Forms 6i.
    Can anyone let me know some tips and/or techniques to upgrade Forms 4.5 to 6i. If there are any important settings/steps which we might have over looked during the upgrade, please list them.
    Any kind of help is greatly appreciated.
    Thanks,
    Jeevan Kallem
    [email protected]

    Most of the code is use with no changes at all.
    See otn.oracle.com/formsupgrade
    Regards
    Grant Ronald

  • How to integrate web based application to windows based application

    Hi,
    Experts,
    we developed web based application in this when we raising
    invoice document after adding this we need to updated Amount
    in integratee SAP B1 then that Amount we need Update The
    Amount  in OACT Table  how we can Update in Amount Field
    in OACT Particular Account Code. plz Guide  me. and how to
    integrate web absed application to windowbased application
    plz help me.
    Regds,
    Samapth.

    Dear sampathdevunuri kumar,
    You may develop the addon based on SDK DIServer for required function.
    The DI Server is an extension of the DI API and supports all its objects. It is intended for high-volume data integration, where numerous client connections must be managed simultaneously and optimized for speed. It is also suitable where Web-services architecture is preferred.
    Please refer to SDK help and SDK DIServer sample for more information.
    Best Regards
    Jane Jing
    SAP Business One Forums team

  • Web Based Application Single Sign on With Enterprise Portal

    Good day Developers,
    My question is really a two part question so forgive me in advance for asking in one post as I think they are relative to each other. My project is currently exlporing the creation of functionality that will allow the following:
    1. We want to allow a secure Web Based application possessing the abilitiy to auithenticate the user into Enterprise Portal and by passing the login screen to get to a landing page/iview in our Enterprise Portal instannce.
    2. We want the abilitity to perform a check of the user and create the user in the enterprise portal on the fly if they do not already exist.
    So far in my research I've come across tools and white papers mentioning the use rof oAuth and OpenID. Is that the right way to tackle these two items. Thanks for your help in advance.
    JD

    Hi
    1. You can do SSO between you application and portal using Verisign or third party authentication tool. I am not pretty sure how landing page and all will work as you mentioned.
    As portal is web based, you can deply your application in portal server. So that you will not need any other authentication tool.Also you can save effort , cost.
    2. By deploying application in portal also you do not have to concentrate on User management, which is itself a huge effort you have to put. Else you can go for third party tools like Identity management or ADS.
    -Yogesh

  • Authentication between Single Sign-On and Web based applications

    Hi everyone,
    I need to create a way in Portal 10g (10.1.2.0.2) that allow me to do the following:
    Once the user is logged on Portal (against Single Sign-On - SSO) he doesn't need to retype his username/password when he access a web based application throught the portal, in my case, an ASP application (not .NET, just ASP).
    I made a test creating a External Application in SSO and after publishing this portlet (external application) inside portal.
    It worked, BUT I was prompted to inform username/password to log on the aplication.
    So, the user end up entering his password twice.
    Does anybody know a way to acomplish this task?
    The documentation I'm researching is:
    Oracle Application Server Single Sign-On
    Administrator's Guide
    10g Release 2 (10.1.2)
    B14078-02
    Oracle Application Server Single Sign-On
    Security Guide
    10g Release 2 (10.1.2)
    B13999-03
    Thank you very much,
    Diogo Santos.

    have figured out how to secure any HTML, ASP, PHP, CFM, etc. web page again Portal / OID using the PDK toolkit.
    Using AJAX (Asynchronous JavaScript and XML) and one Oracle Stored Procedure just adding a simple Javascript call to any HTML, ASP, PHP, etc. web page can secure it via Oracle SSO (OID). Access to any secured web page will require that it to be linked from an authenticated Portal session or a page opened in an authenticated Portal session.
    This process can be easily modified to add in group security etc. This is just my starting point.
    1) Create a stored procedure
    # Make sure it has access to portal.wwctx_api.is_logged_on
    CREATE OR REPLACE PROCEDURE login_ajax_check (
    display_error IN number default NULL) AS
    BEGIN NULL;
    If portal.wwctx_api.is_logged_on = false then
    htp.prn('DENY');
    ELSE
    htp.prn('ALLOW');
    END IF;
    Exception when others then htp.p('DENY');
    END;
    2) Use this Javascript in any page you wish to secure.
    <-- Begin Paste Here -->
    <script>
    var allowgo=2
    function ajaxCallRemotePage(url)
    if (window.XMLHttpRequest)
    // Non-IE browsers
    req = new XMLHttpRequest();
    req.onreadystatechange = processStateChange;
    req.open("GET", url, false);
    req.setRequestHeader("If-Modified-Since", "Sat, 1 Jan 2000 00:00:00 GMT");
    req.send(null);
    else if (window.ActiveXObject)
    // IE
    req = new ActiveXObject("Msxml2.XMLHTTP");
    req.onreadystatechange = processStateChange;
    req.open("GET", url, false);
    req.setRequestHeader("If-Modified-Since", "Sat, 1 Jan 2000 00:00:00 GMT");
    req.send();
    else
    return; // Navigateur non compatible
    // process the return of the "ajaxCallRemotePage"
    function CheckPortal()
    ajaxCallRemotePage('[Your page calling the procedure from above]');
    function processStateChange()
    if (req.readyState == 4)
    if (req.status == 200)
    if (req.responseText.substring(0,4) == 'ALLO')
    allowgo = 0;
    else
    allowgo = 1;
    function doPage()
    if (allowgo==1)
    window.location='[Your login or error page]';
    CheckPortal();
    doPage();
    </script>
    <-- End Paste Here -->
    That's it!!! Super easy. It works great too.
    Larry Schenavar
    [email protected]

  • My firefox crashed when upload file on our web based application. This happen on two PC, even during firefox safe mode the problem still exist. But the problem

    Dear All,
    My firefox (version 23 on win 7) crashed when upload file on our internal web based application. This happen on two PC, even in firefox safe mode the problem still exist. So, my first conclusion the problem nothing to do with extension. here the crash ID https://crash-stats.mozilla.com/report/index/81220865-36c0-4e10-a484-6d27e2131023 and https://crash-stats.mozilla.com/report/index/86d2b779-9730-4d2c-b276-a86d42131023. I wonder if this happen because jquery modul in our web based application. But when I tried on my laptop, the problem dissapear. I tried to replicate same situation on different server, I mean I put the exact same application source to other server, never meet the same problem. Thus, I suspect may be it related to antivirus that installed in our network which is kaspersky. I am googling, never meet the clue.
    If you meet the same problem, please help me.
    I am so sorry for my poor english.
    Him Him

    The crashes are a problem with the winhadnt.dll file (OCular Agent from TEC Solutions Limited) as you can see in the crash reports.
    *http://www.freefixer.com/library/file/winhadnt.dll-52397/

  • Adding GIF images to a stand-alone program

    To add a GIF image to an applet one can use the "getImage" function defined in the applet class.
    How do i add an image to a stand-alone program in java when one doesn't extend the Applet class ( and so one doesn't have access
    to the "getImage" procedure)
    I have just begun with Java so please reply in simple english and not in some hard-to-understand "Javian" crap!
    Thank u

    You mean a JFrame?
    import java.awt.*;
    import javax.swing.*;
    public class JFrameImage extends JFrame {
      public JFrameImage() {
          Container c    = getContentPane();
          JPanel panel = new JPanel(){
                 public void paintComponent(Graphics g)     {
    // puts an image on the whole program as background
                      ImageIcon img = new ImageIcon("myBackground.jpg");
                      g.drawImage(img.getImage(), 0, 0, null);
                      super.paintComponent(g);
            panel.setOpaque(false);
    // puts an image on the button
          ImageIcon icon = new ImageIcon("myButton.jpg");
          JButton button = new JButton(icon);
          panel.add(button);
          c.add(panel);
      public static void main(String[] args) {
        JFrameImage frame = new JFrameImage();
    // puts your own personal image on the frame itself
          Image onFrame = Toolkit.getDefaultToolkit().getImage("myIcon.gif") ;
        frame.setIconImage(onFrame);
        frame.setSize(200,200);
    // stops the thing looking sh*tty and amateurish by putting it nearer the middle
    // of the screen, instead of the default top left hand corner
        frame.setLocation(300,200);
        frame.setDefaultCloseOperation( EXIT_ON_CLOSE );
        frame.setVisible(true);
    }

  • What is Digital Signature, How to use it in web based applications?

    I am new to digital signatures. Any body can help me how to create a digital signature and how to use it in web based applications. Do we need certificates to use digital signatures?

    <link_farm_and_everything_else_removed_by_moderator>
    Edited by: Julius Bussche on Sep 3, 2008 8:59 AM

  • PROBLEM IN ALE/IDOCS  USING STAND-ALONE PROGRAM AND CHANGE-POINTER.

    Hi All,
      Recently i have joined a company where i have to work on ALE/IDocs , So for this i need some help, Actually i need to know the complete senerio of this, I know some configuration part but after this what i want to know is the coding part
    of it.
    IN STAND-ALONE PROGRAM..
      I NEED TO EXTEND AN IDOCS WITH ADDING FEW MMORE FEILDS, SO IN   
      THAT CASE WHAT ALL THE THINGS I HAVE TO DO..
    IN MESSAGE CONTROL ..
       I NEED TO EXTEND AN IDOCS WITH ADDING FEW MORE FEILDS, SO IN 
       THAT CASE WHAT ALL THE THINGS I HAVE TO DO..??

    Hi,
    please have a look at
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/78/217d6851ce11d189570000e829fbbd/frameset.htm
    Hope this helps.
    Regards
    Bernd

  • Developing Web based applications using developer 6.0

    How best i can use developer 6.0 as a web based application. I
    have oracle web application server 4.0. Is it possible to
    develop forms in 6.0 and use through the web application server.
    null

    T.Pavan Kumar (guest) wrote:
    : How best i can use developer 6.0 as a web based application. I
    : have oracle web application server 4.0. Is it possible to
    : develop forms in 6.0 and use through the web application
    server.
    Yes, it's possible and it runs.
    You will need:
    - Application Server 4.0.7 or above (with 4.0.7 without patch,
    do not install it on Win NT with SP4, it doesn't run
    - Developer Server (may be it is not on your distribution CD for
    Developer, but you can download or order it from OTN)
    - JInitiator (the Oracle Java PlugIn, also available from otn)
    for your end user's browser
    Tip:
    look very carefully at the documentation AND readmes. Also, if
    you do this job for the first time, be prepared for some days of
    work before your first form runs as a java applet...
    peter
    null

  • Security Exception from Java stand-alone program on Linux

    Hi All,
    I am getting the following exception while running a Java stand-alone program on Linux.
    The stand-alone program internally calls the JCE (Java Cryptography Extension) library for Encryption of data.
    Does anybody have the solution for this error?
    Is there any Security policy modification to be made for the same?
    Exception in thread "main" java.lang.ExceptionInInitializerError
    at javax.crypto.Cipher.a(Unknown Source)
    at javax.crypto.Cipher.getInstance(Unknown Source)
    at lncrypt.LnCryptBase.encryptImpl(LnCryptBase.java:122)
    at lncrypt.LnAes.encrypt(LnAes.java:78)
    at CloakingUtils.encrypt(CloakingUtils.java:69)
    at AlertsMigrationSweepUtil.updateAlerts(AlertsMigrationSweepUtil.java:203)
    at AlertsMigrationSweepUtil.main(AlertsMigrationSweepUtil.java:65)
    Caused by: java.lang.SecurityException: Cannot set up certs for trusted CAs
    at javax.crypto.e.<clinit>(Unknown Source)
    ... 7 more
    Caused by: java.lang.SecurityException: Jurisdiction policy files are not signed by trusted signers!
    at javax.crypto.e.a(Unknown Source)
    at javax.crypto.e.a(Unknown Source)
    at javax.crypto.e.g(Unknown Source)
    at javax.crypto.f.run(Unknown Source)
    at java.security.AccessController.doPrivileged1(Native Method)
    at java.security.AccessController.doPrivileged(AccessController.java:351)
    ... 8 more
    Regards,
    Vilas Kulkarni

    No security modification is normally required. I can't be sure but it looks to me like the jar file containing the package javax.crypto.e has not been signed by Sun. If you are writing your own provider then you would do well to look at reply #7 of http://forum.java.sun.com/thread.jspa?threadID=5222038 .

Maybe you are looking for

  • Resize image

    Hello again! :-) Somebody knows if I can resize an image in a alert message. Example: Alert alert = new Alert(heading, body, img, AlertType.INFO); I'm creating an new alert and in the "img" variable I've an image of 640x480 pixels. Can I resize this

  • Boot Camp Update Server

    I asked this question beforem but didn't receive an answer. Anyway I am still tring and get the same message. I have been trying to install windows 7 on my macbook pro. I have a clean install of mavericks on it. When I try to use bootcamp it gives me

  • Solution Monitoring System Overview

    There are non-production systems showing in the system overview in Solution Monitoring.  They are dev and QA systems that are in the logical component.  How do I removc them?

  • Office Web Apps KeyNotFound Exception After December CU

    After applying the December CU to my WAC 2013 farm, documents will no longer open in browser from SharePoint.  The install went smooth.  I followed the instructions to remove the hosts from the farm, install the update and recreate the farm.  The sec

  • Ring sound setting

    Hello, I keep setting my ringtone sound level at maximum and it keeps reseting to the middle all the time. The high level is very important for my work. Any solutions or news??? Help much appreciated