How to use Swing in a Web applicatrion

Can you suggest me some good PDF or some good site for reading about using SWING in a Web Application.
In our web application we plan to use JSP/Struts for the presentation layer. However there are a few screens that require some advanced UI like color coded assets and a graphical version of Outstanding Vs Available limit. We are wondering whether we should use SWING for these screens. Do you think this is a good idea or is there a better apprach to deal with this
What are the disadvantages of using SWING VS JSP/Servlet in a Web environment. Is there a site or pdf where i can get information about this.

Applet/HTML page combinations are used often when a portion of a page requires Swing/AWT capabilities, e.g. administration consoles for Weblogic and JBoss are designed this way. The page is typically divided with frames that contain either applet or HTML code.
A

Similar Messages

  • How to use Swing in a web Application

    Can you suggest me some good PDF/tutorial or some good site for reading about using SWING in a Web Application.
    In our web application we plan to use JSP/Struts for the presentation layer. However there are a few screens that require some advanced UI like color coded assets and a graphical version of Outstanding Vs Available limit. We are wondering whether we should use SWING for these screens. Do you think this is a good idea or is there a better apprach to deal with this
    What are the disadvantages of using SWING VS JSP/Servlet in a Web environment. Is there a site or pdf where i can get information about this.

    I'd say the biggest disadvantage is that your client machines have to download and install the bloody java plug in.
    What you write about your UI ain't half vague. What the deuce is a "color coded asset"? Is it
    interactive? If not, could it be represented by an image? If so, even if it is a non-static image, it is a simple
    matter for your webapp to generate the image on the fly. Many web app tutorials demonstrate that.

  • How to use Swing in Web Applications

    Can you suggest me some good PDF or some good site for reading about using SWING in a Web Application.
    In our web application we plan to use JSP/Struts for the presentation layer. However there are a few screens that require some advanced UI like color coded assets and a graphical version of Outstanding Vs Available limit. We are wondering whether we should use SWING for these screens. Do you think this is a good idea or is there a better apprach to deal with this
    What are the disadvantages of using SWING VS JSP/Servlet in a Web environment. Is there a site or pdf where i can get information about this.

    As mentioned above, you could simply use an Applet, but I would discourage that approach.
    Although it's harder to have a good UI on the web, it's definitely possible (witness Gmail). You can do all sorts of clever things like building collapsible/expandable tree structures on the web with a little Javascript/CSS.
    Swing is much, much slower than regular HTML elements and the API for some Swing things is needlessly complicated (i.e. JTree).
    Could you be a bit more specific about the UI elements that you need? If you wanted to do something like Photoshop, well, it would be almost impossible on the web (to do it well at least), but many other applications are very do-able.

  • Help me!    How to use it as a web service from third party application?

    After using JDeveloper to develop BSSV object e.g. JP550010, how to use it as a web service from third party application?
    TKS!

    Obviously the OP is working on a project for the Bead Society of Southeastern Virginia http://www.bssv.org. Oh, wait, maybe he's researching the Blueberry Shoestring Plant Virus http://abbreviations.yourdictionary.com/bssv
    :D
    John

  • How to use fp-2010 as web server

    how to use fp-2010 as web server
    mazhar 

    Hi Mazhar,
     It is fairly straighforward to set up front panels for your RealTime executable. This knowledgebase has the information on how to do this.
    Hope this helps!
    Warm regards,
    Karunya R
    National Instruments
    Applications Engineer

  • How to use JSP in apache web server

    hi all,
    can anybody tell me how to use JSPs in Apache Web Server.
    Thanks
    sir

    You would need a servlet container to run Servlets and JSPs. And Apache's Tomcat is one such free container available. Download Tomcat from http://jakarta.apache.org and integrate with Apache WS
    HTH

  • How to use addwatermarkfromfile on a web server

    how to use addwatermarkfromfile on a web server. Where do you put the js on a windows 2008 server, so that the URL can pick it up when a user opens a PDF.

    You don't.  JS files can exist in three places.
    1.  In the PDF file
    2.  In the User Profile
    3.  In the Application folders
    * Note while you can execute some browser based JS to the embedded viewer in a web browser all of the API calls are non-editing.

  • How to use a CAS in web dynpro with NWDS 7.0

    Hi, all.
            I implemented a cas project (some entity services and application services). Now I want to use it in a web dynpro project.
    I know how to do that with NWDS 7.1, but it seems  something differernt with NWDS 7.0.
    Can  anyone give me a hand?  Thanks.

    hi
    CAF Core project comes with a sub-project WebDynpro.
    You can implement business logic using CAF Core Service ,integrate it in WebDynpro UI.
    1)Select your CAF project root , right click on it and select u201CCreate Web Dynpro Modelu201D from the context menu.
    2) Switch to the Web Dynpro Perspective
    3)You can find  the CAF Core services have been generated and are available to the WebDynpro component.
        you can find caf services under modelclasses of webdypro project .
    4)Then you proceed with creating component etc..
    Regards
    sowmya.

  • How to use YTD values in webi

    hi
    normally in bex we can use variable , based on user entry we can calculate YTD values, and we will make structure like in column or rows.
    how to make ytd values in webi and create structures.

    HI,
    this needs to be done using EXIT Variables in the BEx Query.
    Ingo

  • How to use isotope to filter web apps?

    Hi,
    I just want to ask on how to use isotopes jquery plugin to filter the web app entries by categories?
    Thanks.
    Hernan

    Hi sb00349044,
    I am locking this question since it's a duplicate from your other post:
    * [https://support.mozilla.org/en-US/questions/1025653]
    Development related questions are not in the scope of the SUMO forums. Although it's possible that some contributors may be knowledgeable about developing for Firefox OS, and may offer some suggestions, these forums are aimed at assisting users with assisting end-users of Firefox OS.
    As I mentioned in your other post, por developer-related questions, you may have better luck finding help through MDN (Mozilla Developer Network) and StackOverflow. You can find these links below:
    * [https://developer.mozilla.org/en-US/ Mozilla Developer Network]
    * [https://developer.mozilla.org/en-US/docs/Web/API/Web_Bluetooth_API WebBluetooth API on MDN]
    * [http://stackoverflow.com/questions/tagged/firefox-os Firefox OS on StackOverflow]
    You may also send your question to one of Mozilla's Mailing Lists that are related to this topic. Please find the mailing lists on the link below:
    * [https://lists.mozilla.org/listinfo]
    Thanks,
    - Ralph

  • How to use swing 3d to do a menu list ?

    Is anyone know any good webpage to show some simples about swing 3d ? I want to do a menu which is using swing 3d . Thank you .
    regards
    jojo

    I've never mixed swing and Java3D but I've got the following URL in my bookmarks. Maybe it will help you.
    http://www.jroller.com/page/gfx/?anchor=a_swing_button_with_3d
    Bye!

  • How to use Swing html to parse a html file..

    I am currently working on a project in java.i need to read a Html file, extract the table tag along with its contents if it has a button embedded in it and replace it with another code..
    i tried it with Reg Ex in java but in vain.. Any help is great... I need an idea of how to use Html parser for this prob.. any examples will be fine..

    Run the program from command line, this way you will see the errors, if any.
    example.: java -jar theJarfile.jar
    I was successful in creating a comm application. I placed the win32com.dll in the same directory of my application jar file and all worked.
    I also extracted the comm.jar , and jar'd my app with the extracted comm files to make one jar.
    I also had a fileWriter() to get the clients jre path and my app would write the javax.properties file to the correct place.
    It took me severel weeks and late nights to accomplish this, but it was all necessary to be able to install only my app, and not a bunch of api's that were needed.

  • How to use Decode Function in Webi / Designer - BOE XI 3.1

    Hi All,
    I have a SQL query which needs to include in the webi report.
    Below is the query :
    SELECT
    SECURITY.SEC_CUSIP_NO "CUSIP", 
    SECURITY.STY_SEC_TY_CD "SECURITY TYPE",
    SECURITY.SEC_DERIVED_DESC_TX "SECURITY DESCRIPTION",
      SECURITY.sec_dep_teleg_de "FED DESCRIPTION",
      SEC_STND_PR "STANDARD/FACTORED PRICE",
      SEC_STND_PR_EFF_DT "STANDARD/FACTORED PRICE Date",
      SECURITY.SEC_YIELD_PR "YIELD PRICE",
      SECURITY.SEC_YIELD_PR_DT "YIELD RICE EFFECTIVE DATE",
      STND_PR_VND_VENDOR_CD "PRICE SOURCE",
      SEC_MATURITY_DT "MATURITY DATE",
      SEC_ISSUE_DT "ISSUE DATE",
                 CASE WHEN SECURITY.STY_SEC_TY_CD IN ('BA','CD','CDD','CDE','CDM','CDV','CP','CPD') THEN
                    (position.PSN_AVAIL_PAR_VL + position.PSN_COLLAT_PAR_VL) * (SECURITY.SEC_STND_PR) / 100
                 ELSE
                    (position.PSN_AVAIL_PAR_VL + position.PSN_COLLAT_PAR_VL) * (  (  SECURITY.SEC_YIELD_PR * DECODE (SECURITY.SEC_PRIN_FT, 0, 1, SECURITY.SEC_PRIN_FT))) / 100
                    * DECODE(SECURITY.STY_SEC_TY_CD, 'AMP', DECODE(NVL(SECURITY.SEC_MULTIPLIER_UNIT_VL,0), 0, 1, SECURITY.SEC_MULTIPLIER_UNIT_VL), 'MMP', DECODE(NVL(SECURITY.SEC_MULTIPLIER_UNIT_VL,0), 0, 1, SECURITY.SEC_MULTIPLIER_UNIT_VL), 'AMPT', DECODE(NVL(SECURITY.SEC_MULTIPLIER_UNIT_VL,0), 0, 1, SECURITY.SEC_MULTIPLIER_UNIT_VL), 1 )
                 END
            ) "MARKET VALUE"
    FROM SECURITY SECURITY
       ,   position position
    WHERE STND_PR_VND_VENDOR_CD = 'VT'
    AND SEC_MATURITY_DT > SYSDATE-1
    and SECURITY.sec_sys_id=position.sec_sys_id
    I could create a report which has selected objects and defined where condition from the above query. I have also created a variable for 'when' & 'then' condition but stuck at else part which contains 'DECODE' function.
    Please suggestions how to write the same at the report or designer level.
    Thanks,
    Rameez Shaikh

    Hi Rameez,
    Looking at the query you can create the object directly in the universe, either create two objects one for inner decode and use it in outer case logic. In report it is nothing but nested if logic. For eg.  If(a=b;1;(if(a=c;2;3))
    Thanks
    Gaurav

  • How to use parameter of one web context in another one???

    Hey guys,
    I have a web context which is a servlet
    The other web context is a jsp
    I also have a login page
    In the login page after clicking the submit button the
    control is passed to the servlet.
    The login page passes the username and password
    to the servlet
    i have used doGet() method.
    I simply want to retrieve the parameter present in url of the servlet and use this in the jsp.
    How is this possible??
    To make things clearer , here are the three pages:
    1> Login.html:<HTML>
    {<HEAD>
    <TITLE>
    First Media - DashBoard
    </TITLE>
    </HEAD>
    <BODY>
    <FORM METHOD=GET
    ACTION="http://localhost:8080/Dashboard/Dashboard">//url for servlet
    <IMG SRC="C:\dashboard\Picture1.png"
    ALT="Unable to display picture" ALIGN="LEFT" HEIGHT="150" WIDTH="150">
    <H3>
    <CENTER>
    LOGIN SCREEN
    </CENTER>
    </H3>
    <P></P><P></P>
    <BR><BR><BR><BR><BR>
    <P>
    <H4>
    <CENTER>First Media DashBoard Display</CENTER>
    </H4>
    </P>
    <BR><BR>
    <P>
    <CENTER>
    LOGIN ID ���
    <INPUT TYPE="TEXT" NAME="userid">
    </CENTER>
    </P>
    <BR><BR>
    <P>
    <CENTER>
    PASSWORD ���
    <INPUT TYPE="PASSWORD" NAME="userpass">
    </CENTER>
    </P>
    <BR><BR>
    <INPUT TYPE="SUBMIT" VALUE="SUBMIT">
    </FORM>
    </BODY>
    </HTML>
    Here's the servlet:
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.util.*;
    public class Dashboard extends HttpServlet
         public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException
              res.setContentType("text/html");
    PrintWriter out=res.getWriter();
    out.println("<HTML>");
    out.println("<HEAD><TITLE>FIRST MEDIA DASHBOARD</TITLE></HEAD>");
    out.println("<FRAMESET ROWS=\"20%,80%\">");
    out.println("<FRAME SRC=\"http://localhost:8080/Intro/Intro\">");//this is the url for the jsp
    out.println("<FRAMESET COLS=\"20%,80%\">");
    out.println("<FRAME SRC=\"c:/dashboard/MainNetwork.html\" NAME=\"mainframe\">");
    out.println("<FRAME SRC=\"c:/dashboard/DisplayArea2.html\" NAME=\"displayframe\" SCROLLING=\"NO\">");
    out.println("</FRAMESET>");
    out.println("</FRAMESET>");
    out.println("</HTML>");
    Finally the jsp :
    <HTML>
    HEAD>
    <SCRIPT LANGUAGE="JavaScript">
    <!-- Hide from tired old browsers
    function multiLoad(doc1,doc2) {
    parent.mainframe.location.href=doc1;
    parent.displayframe.location.href=doc2;
    // -->
    </SCRIPT>
    </HEAD>
    <BODY>
    <IMG SRC="C:\dashboard\Picture1.png"
    ALIGN="LEFT" WIDTH="80" HEIGHT= "80">
    <BR>
    Network Log
    ���������
    Service Levels
    ���������
    <A HREF="# onClick=
    "parent.location='http://localhost:8080/Dashboard/Login.html';
    window.location='C:\dashboard\Login.html';">LogOut
    </A>
    <H3>
    <%
    if (request.getParameter("userid") == null)
         out.println("Welcome to dashboard");
    else { 
    out.println("Hello," + request.getParameter
    ("userid"));
    } %></H3>//code to try to greet the user by name
    </BODY>
    </HTML>
    I know this is a long one, but guys, please help!!!
    Message was edited by:
    alok1983
    Message was edited by:
    alok1983
    Message was edited by:
    alok1983
    Message was edited by:
    alok1983

    If you re-post using the code tags to format the message some one may actually take the time to read it.

  • How to use a query in Web template

    Hello i have really a very silly question.
    How can i use a Query that is already defined by BEX into a Web template so that i can set up simple properties like changing colours of Row as well as avoid Tab pages.
    I logged into a Web template.
    Can any provide step by steps.
    Please help

    No questions is silly, doubt is always a doubt and clarifying the same is the best way to deal with that.
    Anyway philosophy apart and coming to business.
    1) created the query in Query designer, say Zquery1
    2) logon to WAD.
    3) for assigning Zquery1 to WAD template, you haev to decide how you are going to use Zquery1 in WAD.
    4) for ex: you want to display the query result and also a graph based on that result.
    5) So we have to drag drop Chart and table in WAD.
    6) create dataprovider and assign zquery1 to this dataprovider.
    7) save and execute.
    For chanding the colors, under properties, we will have many stylesheets delivered by SAP. Yiou can choose anyone on this which suits to your requirement. If not, then edit the stylesheet and code it as per your need.
    Hope this helps. If yes, please assgin points.
    Regards
    Pankaj

Maybe you are looking for

  • Problem with implement BI_cont_ TX

    Hi all; After I add Bi-cont 5.0 om my bi installation. I treid to implement Bi_cont ext on SAINT as add-on. But I get this massages: caution upgrade or prepare is still running import not permitted I did run report RSUPGRES on client 000 by DDIC user

  • What file format is better for Print medium eps or ai?

    Hi All, I was hoping that you all could help me.  My final output is imported into InDesign and printed either by an offset printer or conventional plate and ink printing. For over 15 years I have been saving my files as eps files. The best file type

  • Spry Tabs Panel help

    Am just using this on a page, but using some icons. At the moment it : looks like this Is it possible to move the images into the tabs, so that they change from the faded image to the colour one of each as they're moused over? I see it working if the

  • Quantity effectivity parameter for ECM (LO-ECH)

    Hello, Our company uses Engineering Change Master records with no parameter effectivity (just by the date) to control BOM changes effectivity. Recently we received internal request to add ability to control ECM effectivity by quantity of assemblies p

  • Reading books in iTunes on MacBook Pro

    Is there a program that plays books downloaded to iTunes Books folder that may have origionallly downloaded on an iPad?