Swings to JSP conversion

We have a huge swing application which was developed long back, Is there any tool where in we can convert the swing GUI into JSP. We need only the frontend to be changed , the business logic remains same in the back end

yeah, JSP is not a front end GUI... HTML is the front end GUI. And there's sure no simple way to convert Swing to HTML. There's not very many overlapping components, except labels, text fields and comboboxes. If you could write a converter to do that, I bet you could make some money off it.

Similar Messages

  • Swing and jsp

    hello world
    i have a projet web application with jsp. how integrate swing in jsp?
    thank you in advance

    hello world
    i have a projet web application with jsp. how
    integrate swing in jsp?
    thank you in advance1)You can Send a POST Request Using a URL
    http://www.javaalmanac.com/egs/java.net/Post.html
    2)You can get Text from the server
    http://www.javaalmanac.com/egs/java.net/ReadFromURL.html
    3)You can get Cookies
    http://www.javaalmanac.com/egs/java.net/GetCookies.html
    4)You can send cookies
    http://www.javaalmanac.com/egs/java.net/SendCookie.html
    5)You can view html pages using JEditorPane.
    also check
    http://www.javaalmanac.com/egs/java.net/pkg.html
    You need to write and handle everything

  • Swing or JSP

    Iam making a application for my company which will be accessed by more than 300 centers all over country. So the GUI I would make should use JSP or SWING . What are the pros and cons of each. The application will be dealing Finance matters.So at client end SWING or JSP ?
    Plz Help me

    To give you a good answer I would need a lot more information, but right now it sounds like your best bet is to use JSP. Here are two enormous reasons why:
    1) You will not have to deploy any software at the client end - as long as they have a web browser they will be able to connect. They do not even need Java support. This has several related advantages, including that you will never have to deal with "updating" the clients - you can change the code on your end freely.
    2) The total amount of work you put into it is probably going to be a lot less. Since you are just using HTML and not writing a GUI proper, it will be a lot easier.
    The main reason you might discover that you do NOT want to use JSP is that it limits your functionality. For example, if you decide you need an interactive chat room you are going to end up coming back to Swing and deploying either an applet, Java Web Start app, or standalone application... unless you do not mind it being a really crappy chat room.
    Drake

  • AWT/Swing in JSP

    Can we use Abstract Window Toolkit(AWT) or Swing classes in JSP? If is it so, is it preferable to use those in jsp?
    Details are welcome.
    Thanks

    Yes and no. It really depends what you are talking about. There is less than no point trying to run any of the AWT windowing stuff because you are not generating a Java front end you are generating an HTML front end. Java UI components would just not work in that context- the UI would only appear on the Server, not on the client side. Unless you wrote it as an applet, at which point it has nothing to do with jsp and becomes and applet programming question.
    If you are talking about the image processing APIs then yes, I have used those and it was quite tricky because I was trying to run it on a server that did not have X windows running on it and AWT needs that to run properly.

  • Swing or JSP/Struts application?

    I'm deploying an application for a public hospital in Argentina and i have doubts about the framework to use.
    The application will be used in very old computers (pentium I/II or older) but will count with a good server (bought specifically for this use).
    This limitation of hardware also has made me rethink the election of the framework of persistence. It would be appropriate to use hibernate?
    I'll appreciate if you can help me with this decisions.
    Adriana

    To give you a good answer I would need a lot more information, but right now it sounds like your best bet is to use JSP. Here are two enormous reasons why:
    1) You will not have to deploy any software at the client end - as long as they have a web browser they will be able to connect. They do not even need Java support. This has several related advantages, including that you will never have to deal with "updating" the clients - you can change the code on your end freely.
    2) The total amount of work you put into it is probably going to be a lot less. Since you are just using HTML and not writing a GUI proper, it will be a lot easier.
    The main reason you might discover that you do NOT want to use JSP is that it limits your functionality. For example, if you decide you need an interactive chat room you are going to end up coming back to Swing and deploying either an applet, Java Web Start app, or standalone application... unless you do not mind it being a really crappy chat room.
    Drake

  • Swing in JSP

    Hi All,
    I am having a .jar (swing) application need to make it web-base by jsp.
    Does anybody have any idea how to display a swing application in jsp?
    Thanks & Regards
    Ritesh

    It depends what kind of interactivity you want. Another possibility is to use the swing/awt graphics stuff to build an image file. The JSP then uses an IMG tag with the source pointing to a servlet which builds the image.
    But it's essetial to understand that what a JSP does is to build an HTML page, which is delivered to the browser after the JSP has run. A JSP can't interact with the user. The user makes another, separate request to the server to move on.

  • Can i use swing under JSP?

    i have a JSP, now my question is, can I display swing components under JSP?

    A JSP is just a way to write HTML back to browser.
    It is a mix of HTML and java.
    A JSP is converted to a java source file, with code like:
    out.println(".... HTML code you wrote ...");In this way a java application writes back to the client browser on a page request.
    A totally different mechanism are either a java applet (embedded in an HTML page),
    or Java WebStart, which distributes entire java applications via the net.
    If you are familiar with Swing, or have an existing Swing application, or need a
    user friendly GUI, those are the ways.

  • Application UI Design using Swing or JSP

    I am in the Design phase of my first project. the technology involved is not defined and the team(of 2) is not sure what would be best to use. we got to work on a staging table. mostly updating it. one complete partition(can have as many as 100K rows) has to be displayed in the UI. once it is updated the effected rows need to be inserted/updated to another permanent table, both in Oracle.
    so in short, the GUI should allow sorting and filtering options to the user to work on the staging table records. I am not sure how JSP's will fit into this piture. the network traffic is a big concern here.
    we might go with Swing Jtable. will that be feasible for this kind of UI? also can this be implemented using MVC(can be struts?) or just Model 1 architecture should do?
    I thought of using hibernate for the ORM but the DBA told that the schema is a bit conplex to work with hibernate. so i might be using plain JDBC prepare statements.
    can anyone put some light based on there experience.
    suggestion and views are welcome!

    Triple-post:
    http://forum.java.sun.com/thread.jspa?threadID=5246519
    http://forum.java.sun.com/thread.jspa?threadID=5246518
    http://forum.java.sun.com/thread.jspa?threadID=5246520

  • Swing to Image Conversion

    Anybody know how to go about converting a swing container (such as JFrame) into an image like JPEG or PNG? Also, is there any library to allow conversion into PDF?
    Thanks,
    Mehul.

    Ohh yeah..that's amazing.
    Another issue:
    I'm using a 3rd party charting software in which they have a Chart class that extends from JLayeredPane. Now this Chart component has other subcomponents like Legend and ChartArea. The Legend and ChartArea classes extend from JComponent. The ChartArea includes 2 things: a drawing rectangle and a plotting rectangle. The plotting rectangle is a part of the drawing rectangle. The drawing rectangle also includes other stuff such as the axes, some margins/boundaries etc.
    Now, what I am trying to do is to provide the ability for a user to select a portion of the drawing rectangle by dragging his mouse. To do this, I create a chart class extends from Chart and then provide a paintComponent method in which I adjust my coordinates so that they are for the ChartArea rather than Chart. But, here's the problem I'm seeing: Without calling setXOR in paintComponent, when I drag my mouse on the ChartArea, my selection box is visible only outside the plotting rectangle (but still within the drawing rectangle)..the rest of the plotting area also gets selected, but my selection there gets hidden behind the plotting area...so I can't really see what region i've selected. If I do call setXOR, then I can see the entire selection box on top of the plotting rectangle, but my plotting rectangle gets a little disoriented and discolored when I click on it (to do the selection).
    I'm not able to understand why I'm seeing this behavior. Any ideas?
    Thanks.

  • URGENT ASP - JSP conversion

    Im looking at diffrent software that converts ASP/VB to JSP/Java.
    I would appreciate any insights, info etc.
    Im especially interested how would that software deal with VB dll's, COM+ objects,
    ASP and JavaScript. Any help GREATLY appreciated.

    I would appreciate any insights, info etc.
    Im especially interested how would that software deal
    with VB dll's, COM+ objects,
    ASP and JavaScript. Do a manual rewrite, and use a Java-2-COM-Bridge,
    eg from IBM alphaWorks. Don't hope you'll be able
    to do the conversion automatically.

  • CGI to JSP Conversion

    I was wondering if I had a message board similar to this one that was built in C++ CGI, how long would it take to convert, on average, to a JSP forum. I am basically looking for some kind of conversion time frame from CGI to JSP. Opinions are welcome...

    I cannot give you any estimate or anything in terms of an actual number.
    However I do know that your time will be significantly affected in the desired direction by using software such as Jive http://www.jivesoftware.com

  • Forms to JSP conversion

    Hi all,
    I have some forms developed in Oracle 9i forms builder.
    I want to convert them in JSP.
    Can I do this by using JHeadStart?
    I have downloaded JHeadStart 10G.
    But I can not use it with JDeveloper 9i
    What else can I use for converting 9i forms to JSP???
    Thanks in advance.
    Reagards,
    MK

    I should read http://www.oracle.com/technology/products/forms/htdocs/10g/FormsJavaSOD.html first of all.
    Regards
    Grant Ronald
    Forms Product Management

  • Failed to open a swing JSP file but a dialog box prompt to download jsp

    Hi gurus,
    I have encountered one strange problem where previously I have installed JRE 1.4.2.0.6 for running my form 10g application.
    I 'm currently testing an ADF swing application in a 3 tier model using version 10.1.3 which require JRE 1.5 but when I try to load http://localhost/swing/oc4j.jsp, it will prompt up with the message:
    Some files can harm your computer. If the file information below looks suspicious or you do not fully trust the source, do not open or save this file
    would you like to open the file or save it to your computer?"
    In normal case, it will do a download of the jar file to the client machine and open the swing application using java web start but it seems the problem is related with my previous installation of 1.4 . Even though I have completely uninstalled JRE 1.4 and install JRE 1.5 , I cannot run the ADF swing in 3 tier which is seems to be in relation with the signed jar.
    Ana

    Ana,
    seems that the client doesn't recognize the Mime type for JavaWebstart. Try on a different client. JavaWebStart works for me when I test it on my machine with ADF Swing.
    Frank

  • JSP and Swing

    Hello friends,
    I am developing a web interface for a knowledge base. Now I have designed my interface in Java Swing. The main reason for choosing Swing is that I need JTree in my program.
    I would like to know whether we can use this swing files inside JSP? If not, How to create tree structure in JSP,in which nodes are added according to the values in the database?
    Another doubt is that, can we use swing for web applications?

    You can't use swing with JSP. JSP produces (mainly) HTML pages to run through the browser.
    With JSP no Java is run on the client machine, so Swing objects are out of the question.
    You have two options:
    1 - If you want to use swing, you will have to write it as an Applet / Application (run java on the client)
    2 - Investigate javascript/dhtml tree structures - there are several around. And it has been brought up several times on this forum.
    Good luck,
    evnafets

  • When JSP's when Swing

    Hello,
    a question has raised within our organisation. The question is very simple and has to do with intranets !!
    When does one use Swing, when JSP's. What are the strong points of both, what are advantages, disadvantages.
    f.i. With Swing (client) the application has to be installed on the clients computer, with JSP's (web) this is not neccesary.
    Perhaps somebody knows articles, or any answer to this,
    regards,
    Jettro

    Perhaps you gave your answer yourself: JSP or server applications in general are easier to maintain, because the have not to be installed at clients. Swing applications are more comfortable - nearly like native Windows applications.
    So if many people should use the application rarely, your choice should be JSP or Servlets. In the opposite case, your choice should be Swing.
    Anyway - the very best thing is to choose a strategy where you can do both by the same coding!
    Christoph

Maybe you are looking for

  • Unable to use j2ee -stop or the deploytool

    I am a J2EE newbie. I have recently installed j2sdkee1.3.1 on Windows XP. The J2SDK version I am using is j2sdk1.4.0_01. I can start the J2EE server successfully and view http://localhost:8000/index.html. However, I am unable to stop the server using

  • Missing pictures - In web browsers & Some applications

    Recently i've been noticing that my images are constantly missing in safari, chrome and even steam. Here's an imgur album of two examples. http://imgur.com/IlIXsxN,5ySKYTv I'm also using OS X 10.9.1 (13B3116)

  • Apple TV 2.0 - Old screen saver no longer works (scrolling mosaic)

    Does anybody know if it is possible to activate the old screen saver. The old that creates a nice scrolling mosaic. Or is it gone forever, really like that one. Thanks. Lloyd

  • Drag and drop in windows explor

    Hi, I cant for the life of me ind out if this is possible. Im thinking of buying a Zen Touch 20GB and want to know if it is possible to drag and drop music directly in Windows without additional software. If so, I just might buy it greetings Twist

  • Group by caluse before where clause

    Hi all, Declare cursor c1 is select ARc_Month as mnth,count(*) as nof from dbarc group by ARc_Month where ARc_Month like '%02%'; e1 varchar2(1000); cnt number(10); begin e1:='1'; for crec in c1 loop cnt:= c1%rowcount; dbms_output.put_line(cnt||'-----