Need an overall brief view of developing a J2EE/Swing application

Hello there
I am curious to know how does a J2EE, JFC/Swing application work? I mean the front-end is coded in Swing. The backend is, say Oracle. How is the information sent to the database and retrievd back?? I know it is not so easy to explain about that here and there might be several ways as well. But if anyone could suggest me a place wherein I can get a fair idea, that would be great. Say, for example, there is a bank bank website and online transactions have to take place.... Or a purchase made at Amazon. I just want to know the various Java APIs involved in the process.
Thak you so much. It would be of great help

Hi,
As you have said, at client end is a Swing GUI. The user requests usually goes either via specialized high level library, like java.sql/javax.sql for ODBC databases acces, java.rmi/CORBA for invoking some code on server, or goes directly through low level sockets (java.net) if speciall communication protocol is required.
The exact way informations goes depends on backend implementation and protocol it uses. In most generic case, when both sides are specialized applications written in java the RMI will be propably easiest and most powerfull method.
Ofcourse you are aware, that everything above can be done totally without java using good old CGI or PHP scripts as actually amazon.com does. If you are going to build web based front-end I strongly recommend to do it without java at user side - old CGI approach is in my opinion fastest and most user friendly way to do it (ie. think about poor creature which is using their cell-phone with www browser to see page full of java applets)

Similar Messages

  • Launching Adobe Viewer from a Swing application

    How do I launch Adobe Viewer (or Reader) from my Swing application. I have a help menu item that needs to open the viewer with the PDF help manual. Since the application is cross-platform, do I need different versions of Adobe with my install package? Thanks for any help.

    Thanks. I tried the adobe bean and it seems to work fine until I select the "Print" icon. It crashes the Viewer and my application as well. I get the following:
    Any suggestions?
    An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : 11 occurred at PC=0xff2c614c
    Function name=realloc
    Library=/lib/libc.so.1
    Current Java thread:
    at sun.awt.motif.MTextFieldPeer.create(Native Method)
    at sun.awt.motif.MComponentPeer.init(MComponentPeer.java:169)
    at sun.awt.motif.MComponentPeer.<init>(MComponentPeer.java:179)
    at sun.awt.motif.MTextFieldPeer.<init>(MTextFieldPeer.java:68)
    at sun.awt.motif.MToolkit.createTextField(MToolkit.java:85)
    at java.awt.TextField.addNotify(TextField.java:194)
    at java.awt.Container.addNotify(Container.java:1579)
    at java.awt.Panel.addNotify(Panel.java:74)
    at java.awt.Container.addNotify(Container.java:1579)
    at java.awt.Window.addNotify(Window.java:349)
    at java.awt.Dialog.addNotify(Dialog.java:247)
    at java.awt.Window.pack(Window.java:367)
    at com.adobe.acrobat.gui.PDFPrint$PageRangeDialog.<init>(PDFPrint.java:144)
    at com.adobe.acrobat.gui.PDFPrint.<init>(PDFPrint.java:18)
    at com.adobe.acrobat.gui.PrintUI.printPages(PrintUI.java:183)
    at com.adobe.acrobat.gui.PrintUIVerb$PrintTransactor.printFileWithUI(PrintUI.java:591)
    at com.adobe.acrobat.gui.PrintUIVerb$PrintTransactor.buildChanges(PrintUI.java:556)
    at com.adobe.pe.notify.Transactor.commit(Transactor.java:44)
    at com.adobe.pe.awt.UIVerb$1.buildChanges(UIVerb.java:151)
    at com.adobe.pe.notify.Transactor.commit(Transactor.java:70)
    at com.adobe.pe.awt.UIVerb.invoke(UIVerb.java:51)
    at com.adobe.pe.awt.ToolBar.mouseReleased(ToolBar.java:419)
    at java.awt.Component.processMouseEvent(Component.java:3715)
    at java.awt.Component.processEvent(Component.java:3544)
    at java.awt.Component.dispatchEventImpl(Component.java:2593)
    at java.awt.Component.dispatchEvent(Component.java:2497)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2451)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2216)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125)
    at java.awt.Container.dispatchEventImpl(Container.java:1200)
    at java.awt.Component.dispatchEvent(Component.java:2497)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:339)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)
    Dynamic libraries:
    0x10000 /shared/j2sdk1_3_1/bin/../bin/sparc/native_threads/java
    0xff360000 /lib/libthread.so.1
    0xff3a0000 /lib/libdl.so.1
    0xff280000 /lib/libc.so.1
    0xff260000 /usr/platform/SUNW,Ultra-4/lib/libc_psr.so.1
    0xfe480000 /local/j2sdk1_3_1/jre/lib/sparc/client/libjvm.so
    0xff210000 /lib/libCrun.so.1
    0xff1f0000 /lib/libsocket.so.1
    0xff100000 /lib/libnsl.so.1
    0xff1c0000 /lib/libm.so.1
    0xff240000 /lib/libw.so.1
    0xff0e0000 /lib/libmp.so.2
    0xff0a0000 /local/j2sdk1_3_1/jre/lib/sparc/native_threads/libhpi.so
    0xff070000 /local/j2sdk1_3_1/jre/lib/sparc/libverify.so
    0xff030000 /local/j2sdk1_3_1/jre/lib/sparc/libjava.so
    0xfe450000 /local/j2sdk1_3_1/jre/lib/sparc/libzip.so
    0xfd060000 /local/j2sdk1_3_1/jre/lib/sparc/libawt.so
    0xf4880000 /local/j2sdk1_3_1/jre/lib/sparc/motif21/libmawt.so
    0xfd010000 /shared/j2sdk1_3_1/bin/../jre/lib/sparc/libmlib_image.so
    0xf4600000 /lib/libXm.so.4
    0xf4580000 /lib/libXt.so.4
    0xfafd0000 /lib/libXext.so.0
    0xfafa0000 /usr/openwin/lib/libXtst.so.1
    0xf4480000 /lib/libX11.so.4
    0xfac60000 /lib/libSM.so.6
    0xfac30000 /lib/libICE.so.6
    0xf4380000 /local/j2sdk1_3_1/jre/lib/sparc/libfontmanager.so
    0xf4ba0000 /usr/openwin/lib/libdps.so.5
    0xf4860000 /shared/j2sdk1_3_1/bin/../jre/lib/sparc/libsunwjdga.so
    0xf4830000 /usr/openwin/lib/libdga.so.1
    0xf4560000 /shared/j2sdk1_3_1/bin/../jre/lib/sparc/libxinerama.so

  • Do I need to create a view for this?

    Hi Ihave got 2 tables emp and project
    In emp tabe:
    emp_no
    family name
    given name
    In porgect table:
    emp_no
    status(assigned,unassigned)
    start_date
    end_date
    emp_no Family_name given_name
    1 Smith John
    In project table same employee can have many assigement eg
    emp_no status start_date end_date
    1 assigned 01-may-08 01-july-08
    1 assigned 01-sep-08 01-july-09
    1 unassigned 01-july-09 01-oct-09
    In the form:
    there are 2 querable fields "project ends between field1(date) and field2(date)" which is used to
    retrive records which have end date between field1 and field2.
    The following fields are needed to get from database:
    emp.family_name emp.given_name project.start_date project.end_date No.of time assigned
    Requirements:
    1. project.start_date and project.end_date must be the latest project_end_date for the same emp
    so in the above sample date
    2. No. of time assigned is a count of total of number records which have status='assign'
    So for the given sample data the record expected after query would be(field1=01-jun-08 field2=02-july-09)
    emp.family_name emp.given_name project.start_date project.end_date No.of time assigned
    Smith John 01-sep-08 01-july-09 2
    What is the best approach to get:
    1 The lastest project(latest end_date) for the emp
    2. get No.of time assigned.
    Do I need to create a view for this? If yes, any sample sql code this this?
    Thanks for your help

    Hi W1zard,
    Thanks for your reply. Could you clarify the following points for me:
    1.) you could create a master block basing on your emp table and a detail block basing on your project table with the relation over emp_no. set the default_where clause of your detail block programmatically using
    set_block_property('project', default_where, 'status = ''assigned'' and <your_date_criteria>');
    Q1: where I pit this code? in pre-query trigger in detail block?
    2.) Of course you could create a view to join both of your tables if you don't want to use master detail blocks; Also do the join over emp_no
    create or replace force view v_emp as
    select emp.family_name, emp.given_name, project.start_date, project.end_date
    from emp, project
    where emp.emp_no = project.emp_no
    Q2 As I mentioned before, there are multipal entries for the same emp in project table and we only need the maching record from project table which has latest end_date. So I think I need something like
    max(project.end_date) somewhere in create view to make sure only one record for one employee.
    Also is there possible to include the no. of assigned field(select count(*) from project where status='assigned' and emp=emp_no) into the view as well?
    Q3 All the fields mentioned above are diaplay-only. So Can I create a control block which has all the fields from emp and project. Then populate them with my sql. The question is
    where I put this customerised sql so when user click excute query. My sql will run and display one the form?
    REally appreciated your help!
    Michael

  • Help needed in writing custom views for rendering new HTML tags

    Hi
    I am in the process of making a sort of HTML editor using the JEditorKit and all,now i need to write a view which will display bi-directional text(text in reverse order),well i am not being able to get to the test at all,i don't know how to get to the text in the element being supplied to my ViewFactory.
    Anyone who knows anything about what i am talking here please help me,i am open to any suggestion,anything,i am in a real mess here,please help

    Hi,
    You dont need any coding to set the changed value back to the context attribute.
    Since you have mapped the context attribute in the DisplayView and EditView to a context attribute of component controller. So after viewing the name in your DisplayView when you navigate to EditView onActionChange,you can change the value.When you cahnge the value and submit the new value that is entered is update across the component controller and DisplayView context.
    To see this create a action onActionSubmit in EditView and navigate to the DisplayView, you will see the updated value.
    In webdynpro framework when the value of a context attribute is changed, then the value gets updated across all views to which the context attribute is mapped.

  • We need to access a view on a 32 bit Oracle 9i  - Release 9.2.0.8.0 databas

    Hi
    I don't know if this is the correct forum:
    We need to access a view on a 32 bit Oracle 9i - Release 9.2.0.8.0 database running on Windows 2003 Server, from a MS SQL 2008 R2 64 bit system running on Windows Server 2008 64 bit.
    The DBA for one of the vendors involved has concluded that it is not possible to link from 64 bit MS SQL to a 32 bit Oracle install.
    If it is possible, can you advice what we need to do. Thank you.

    Wrong forum.
    Only solution I can think to actually get to the view.
    1. SQL Server, in TSQL, alllows access to ODBC driver
    2. Use a ODBC driver that can access Oracle (which probably means any SQL driver that will install.)

  • Need Sun Java Studio Enterprise 8 developer

    Hello,
    I have been an avid Java developer and reader. Thought I can get quality developers from this forum only.
    We need someone who has experience in developing in Sun Java Studio Enterprise 8.0 for our client in South Bay, CA. The position is for 6+ months. It pays well and is open immediately. We have other java openings throughout the nation. Please look up at our dice.com openings under the company name INFOMATICS.
    Feel free to call me at 248-865-0300 x 13.
    Thank you,
    Jagan
    Sr. Recruiter
    Infomatics

    Hi Jagan,
    do you hire remote JSE8 developers?
    Tomas

  • Need to refresh materialized view from procedure and pl/sql block

    Hi,
    I need to refresh materialized view (complete refresh)from procedure and pl/sql block .can some one help.
    MV name:MV_DGN_TEST_SESSION
    Thanks,
    Rajasekhar

    dbms_mview.REFRESH ('MV_DGN_TEST_SESSION', 'C');Regards,
    Mahesh Kaila
    Edited by: user4211491 on Dec 1, 2009 10:41 PM

  • Need some sample documents for DME development

    Hi,
    I need some sample documents for DME development. I expect any information covering developing DME formats and steps for downloading a DME file (this I need for checking my formats).
    please, send any relevant info you have to mail id mindaugas.kazlauskas at gmail.com
    Many thanks and reward points ahead!
    Regards,
    Mindaugas

    Hi,
    the main thing is that I need format with payment information structured in single column, like this:
    //separator//
    value1
    value2
    value3
    //separator//
    value1
    value2
    value3
    //separator//
    maybe there is any SAP format structured like this?
    Regards,
    Mindaugas

  • I work for Ford and need to download SVG viewer 3.0 ....

    but on the page that im redirected to, there is no download at all. I cant find one anywhere as the page from Ford suggests in their instructions. I have done this before and have never had this problem. I had a hard drive crash and installed a new one, now i cant view EVTM's that i need.

    A separate SVG viewer should no longer be necessary as most web browsers will already support the format.  Have you tried opening the document in question in your web browser?

  • Need to control page view to 20 from an html data source for a spry data repeating region

    </style>
    <script src="SpryAssetPan/SpryData.js" type="text/javascript"></script>
    <script src="SpryAssetPan/SpryHTMLDataSet.js" type="text/javascript"></script>
    <script src="SpryAssetPan/SpryPagedView.js" type=”text/javascript”></script>
    <script type="text/javascript">
    <!--
    var ds1 = new Spry.Data.HTMLDataSet("wrapAround_master2.html", "wrap2", {distinctOnLoad: true, sortOnLoad: "Item", sortOrderOnLoad: "ascending"});
    var pv1 = new Spry.Data.PagedView( ds1 ,{pageSize: 20 });
    //-->
    </script>
    </head
    <body>
    <div id="wrapper">
      <div spry:region="ds1">
        <div id="repeatOne" spry:repeat="ds1">
          <p>{Photo_2}<br />
          {Item}</p>
        </div>
    Here you can find the file that I need to Create Paged View data set navigation
    http://www.hohmangraphics.com/masterProductGuide/WrapAround_art/joestest_2.html

    Thank you,
    With some adjustments it worked, see source code below,
    <script src="SpryAssetPan/SpryData.js" type="text/javascript"></script>
    <script src="SpryAssetPan/SpryHTMLDataSet.js" type="text/javascript"></script>
    <script language="JavaScript" type="text/javascript" src="SpryAssetPan/SpryPagedView.js"></script>
    <script language="JavaScript" type="text/javascript">
    var ds1 = new Spry.Data.HTMLDataSet("wrapAround_master2.html", "wrap2", {distinctOnLoad: true, sortOnLoad: "Item", sortOrderOnLoad: "ascending"});
    var pv1 = new Spry.Data.PagedView( ds1 ,{pageSize: 10});
    //-->
    </script>
    </head>
    <body>
    <div id="wrapper">
    <p>
      <input type="button" value="First" onclick="pv1.firstPage();" />
      <input type="button" value="Prev" onclick="pv1.previousPage();" />
      <input type="button" value="Next" onclick="pv1.nextPage();" />
      <input type="button" value="Last" onclick="pv1.lastPage();" />
      <br />
    </p>
    <div spry:region="pv1 ds1">
        <div id="repeatOne" spry:repeat="pv1">
          <p>{Photo_2}<br />
          {Item}</p>
        </div>

  • Do I need to extend QM view in Material Master

    Hi,
    We never use QM module in our company however, we have a mini project which is ONLY to use QM module's quality notification to perform complains and problem resolution of company product.
    Hence, under above scenario do we need to extend QM view in material master in order to use Quality Notification?
    Regards,
    Tuff

    No. You don't need to extend QM view if you want to use QM notification only. However, you would need to maintain respective master data and that again depends on the process you follow.
    ntn

  • Could u please give me brief view over Loggers

    hai,
    please give me brief view about the follwoing things
    1.Loggers
    2.Appenders
    3.Pattern Layouts
    and more Question 1. How u can control the programme.
    2.wt is the use Logger insted System.out.println
    please help ..
    thanks regards

    Hi ,
    Basically Loggers, Appenders and Layouts are components of the Log4J package which developers can use to log desired outputs.
    Log4J provides a very robust logging facility as compared to System.out.println() statements.
    Log4J is implemented by the class org.apache.log4j.
    Logger :
    The Logger component is used to create a logger object. The logger object basically segregates the logs into five different categories depending upon the priority. These are DEBUG, INFO, WARNING, ERROR and FATAL in ascending order of priority. The Root logger is at the top of the hierarchy and has a default priority of DEBUG.
    Only those messages which have a priority greater than or equal to the priority of the root logger, will be logged.
    Appenders:
    An appender is the destination to which logs are written/recorded. The Logger object sends output to the appropriate Appender. There are a number of appenders like...ConsoleAppender, FileAppender, JDBCAppender, SocketAppender etc. U can use the one u like according to ur application requirements.
    Layouts:
    Layouts as the name suggests, are different layouts for the Appenders. U can use a SimpleLayout, HTMLLayout etc. to format the output that u receive in the Appender.
    Hope this gets u started.
    Keep me posted.
    Cheers !!
    Sherbir

  • I need to test the Multiprovider in Development

    I need to test the Multiprovider in Development and prove to the management to move it to testing server.
    Please tell me how to test and prove this Multiprovider?
    Thanks in advance!

    Hi Les,
    What exactly do you need to prove? Have you created the multiprovider over some base cubes and need to show that the report results are correct? In that case you can have identical queries on the base cubes and the multiprovider and run each to match the results...

  • What end users need in order to view WebHelp?

    We are in the process of releasing
    WebHelp. A question came up: What end users need in order to view WebHelp?
    Any advice?
    Thank you,
    lisa

    Hi Lisa
    Basically they need a web browser and access to the WebHelp. Preferably Internet Explorer or Firefox and whatever the browser, recent versions of each. And if you have any Flash content in your help (such as Captivate movies) the browser needs a recent version of the Flash Plug In or Helper object.
    I believe Google Chrome is not a supported browser and you might see issues with other browsers than IE or FF.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • Need a fast image viewer with slideshow and autorotating

    Hello everyone,
    I'm currently recycling an old computer as a digital photo frame. It runs LXDE.
    This computer is also used as a server on which we store our photographs.
    I need a fast picture viewer, with the following features:
    - fast processing
    - good rendering
    - image autorotation based on EXIF data
    - random slideshow with recursive browsing
    - GUI is preferred, or I need to find a way to add entries in PCManFM's right-click menu (any guidance is welcome)
    - ability to play video would be nice but is not mandatory
    I've tried many image viewers available in repos and AUR. So far only 2 of them are suitable in terms of speed: feh and qiv. But they are CLI-based (no big deal if I find a way to customize PCManFM file associations), and they do not support image autorotating based on EXIF (support has recently been implemented in qiv, but Arch's package is outdated).
    Please tell me if you know about a program that'd fit my needs.
    TIA.
    Last edited by brazzmonkey (2009-03-16 08:13:34)

    Inxsible wrote:
    rson451 wrote:
    Inxsible wrote:I would be interested in your search as well, because I currently use mirage and feh to set my wallpapers...but I am looking for something lighter than mirage, but one which can do rotation as well, so I dont have to connect my HDD to the windows machine, just to set some pictures right.
    Offtopic, but did you know feh has a right click menu?  Rotation is in this menu.
    Oh yes, I do know the right click. but I guess I never looked hard enough for the rotation as I do it very infrequently. Thanks for the tip.
    How would I set feh, so that when I double click a image file, feh would start up and show that image? If I can get that (and I haven't tried that yet), I guess I can get rid of mirage then.
    That's not an feh config, that's a config for whatever file manager you are using.  I'm not sure of the options you'd need to pass feh because I always run it on the command line.

Maybe you are looking for

  • HT5622 i can not log in app store (iphone5)

    i can not log in app store

  • What do you call this?

    Hi, I'm very junior in programming and I want to build my resume from what I learn everyday at work. Today I learned how to write an application using CF without any interface. What my app. does is to read a text file, my boss calls this file a feed

  • Best practise to feed an infoobject which depend on 0MATERIAL ?

    Hi experts, I'm a newbie on SDN and SAP BW. I have a question that could appear basic for you. I have to add a new infoobject "Article Typology" in a BW query. I will call it ZTYPOLOGY. This infoobject will contains 3 values which will depend on the

  • Multiple email accounts for different users

    Hi I own a Z2 Tablet. LTE and Wifi. My wife and i both use the tablet. Is there a way to have both our email accounts configured on the device?  Our email accounts are both gmail but they must be private and not synchronised together in one app. how

  • ANSI SQL Syntax Vs Old Syntax

    Hi, Is there a performance difference between ansi and old syntax. The following query SELECT ITD.display_description FROM structure_child SC RIGHT OUTER JOIN structure S ON SC.structure_id = S.structure_id INNER JOIN structure_level SL ON SL.structu