Using swing to develop EJB project

Hi, Folks
I am using jbuilder7 to develop swing connect to ejb project, one requirement is that i should doing control with the editable table. That requirement make me to tied with JBuilder component JDBTable. However the development time would become remarkable long. does anybody have experience of using fancy swing and EJB in the same project?
thansk in advance.

forget to tell you I am using JDBTable already. the problem is that how
could i serlize the dataset to EJB in a easy way? ok, you don't need to serialize your dataset to trasmit to server side. Class com.borland.dx.dataset.DataSetData implements Serializable interface already, so you can send your dataset to server and do not care about serialization. But what to do with this DataSet on server side is very interesting question ;). As for me, it's not very handly to pull out your data from Dataset on server side (DataSet "looks" like client-side class). But, of course, it's up to you.
unfortunlly I should doing add, delete, edit from my table. So its
pretty complex to deal with this sort of issue.Why complex? I don't think so. For example, you may set 2 buttons: "Set" and "Delete" under your Jtable view and just "to fish" data client entered in your Jtable string, pack this data in your own serializable model and send this data to server session facade. As for me that's very handly and fast. And there is no complexity...
Regards.

Similar Messages

  • Please help me to develop EJB project on BEA Weblogic Platform 8.1.

    Hi fols ! I am Vishal.
    I want to develop EJB project using BEA Weblogic Platform 8.1 with Weblogic Server.I wih to know entire procedure to create ,deploy,test EJb using Java application,web application etc.So send me detail tutorial of it on my email id [email protected]
    Thank you!

    Buy a good book ... that way you will get your development up-to-speed fast.

  • Help for a begginer using swing

    Basically I need help with a program for a school project. i am not looking for a quick answer but rather some pointers in the right direction. This is my first time using swing and my first project is to create a blackJack game. I am having trouble with functionality. there are problems on tab 2 with almost all the buttons. any help would be greatly appreciated. since i didnt have enough room for all my code i posted it online to be accessed at this site: [https://code.google.com/p/blackjackgui-alpha/]

    private void jTextField2ActionPerformed(java.awt.event.ActionEvent evt) {
    String betString = jTextField2.getText();
    betString = Integer.toString(bet);// TODO add your handling code here:
    total = total - bet;
      private void jMenuItem1ActionPerformed(java.awt.event.ActionEvent evt) {                                          
        System.exit(0);        // TODO add your handling code here:
      private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {                                        
        String name = jTextField1.getText();
        String prefix = (String)jComboBox1.getSelectedItem();
        jLabel2.setText("Hello " + prefix + name + " and welcome to blackJack please press the tab labeled BlackJack");
          jLabel3.setText("Welcome to you personal blackJack game " + prefix + name + " your cards are" + card1 + "(" + card1s + ") and " + card2 + "(" +card2s + ")  your hand total is " + handTotal);
        jLabel5.setText("This is where you may see the Dealers information " + prefix + name);
      private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {                                        
              handTotal = card1 + card2;
              if(handTotal > 21)
                  jLabel3.setText("You busted press hit");
                  handTotal = 0;
              handTotal = card1+card2;
              dealerHandTotal = 0;
              dealerHandTotal = dealerCard1 + dealerCard2;
              handTotal = handTotal + card3;
          jLabel3.setText("You have hit and recieve " + card3 +   "your total is " + handTotal);
                jLabel5.setText("Dealer hits and recieves " + dealerCard1 + "(" + dealerCard1s + ") and " + dealerCard2 + "(" + dealerCard2s + ")  Dealer total is " + dealerHandTotal);
        if(handTotal > 21)
          jLabel3.setText("I am sorry, you busted with: " + handTotal + "Please press hit to begin a new round");
    handTotal = 0;
          card1=card1;
          card2 = card2;
        else if( handTotal == 21)
              total =  total + (bet*2);
          jLabel3.setText("BLACKJACK!!! your total is now: " + total);
          handTotal = 0;
          dealerHandTotal = 0;
        else if(handTotal == dealerHandTotal)
            jLabel3.setText("PUSH ...house automatically wins");
                       jLabel5.setText("PUSH ...house automatically wins");
                       handTotal = 0;
                       dealerHandTotal = 0;
        else if(dealerHandTotal < 17 || handTotal > dealerHandTotal) {
                    dealerHandTotal = dealerHandTotal + dealerCard1;
        else if(dealerHandTotal == 21)
            jLabel5.setText("DEALER GETS BLACKJACK!!")
                    dealerHandTotal = 0;
            dealerHandTotal = dealerCard1+dealerCard2;
            handTotal = 0;
            handTotal = card1 + card2;
      private void jButton3ActionPerformed(java.awt.event.ActionEvent evt) {                                        
        jLabel3.setText("You have stood at " + handTotal);   // TODO add your handling code here:
      private void jButton4ActionPerformed(java.awt.event.ActionEvent evt) {                                        
        jLabel3.setText("You have folded at your total of: " + handTotal);
        jLabel5.setText("You have folded at you total of:" + handTotal)
        handTotal = 0;
        dealerHandTotal = 0;
      }                  Sorry i thought it would be more convenient for the code to be on another page..my bad
    Edited by: rightWingNutJob on Mar 4, 2010 2:07 PM
    Edited by: rightWingNutJob on Mar 4, 2010 2:30 PM

  • Import the WSDL file in NWDI 7.2 using EJB Project

    Hi Experts,
    This is my Requirement:
    I have WSDL File and it is working in the Portal.I have checked in the WSNavigator.
    Now i need to import the WSDL file in NWDI 7.2 using EJB Project.
    Please let me know the steps to import the WSDL File.
    Thanks & Regards,
    SatheshKumar R

    Hi
    Please look at this documents for that
    [How to Develop an Enterprise Service Provider for SAP|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/90d95d37-3f65-2a10-8fa9-a13738c93ea7?quicklink=index&overridelayout=true]
    http://help.sap.com/saphelp_nwce10/helpdata/en/46/7f2fef88190ad3e10000000a11466f/content.htm
    Hope this helps!!
    Thanks & Regards
    Vijay K
    Edited by: VijaySAPEP on Sep 13, 2011 11:34 AM

  • Problem while migrating EJB Project developed in NWDS 2.0.11 to NWDS 7.1

    Hi all,
    I have developed one EJB Project using NWDS 2.0.11 and now i am migrating it to NWDS 7.1. I have copied that EJB project into the work space of NWDS 7.1. Now its giving build problems for the class path variables for ejb20.jar like...
    Unbound classpath variable: 'TSSAP_JAVAX_HOME/lib/ejb20.jar' in project RemoteDeployEJB RemoteDeployEJB July 27, 2006 11:52:09 AM 29
    so pls help me to resolve this issue.How to set class path for that variable in my NWDS 7.1.
    Regards,
    Kiran.

    Hi Kiran,
      You need to migrate the project.There should be an error message in the problems view that the project should be migrated. Right click on the error message and choose quick fix.Then Migrate Project option should appear. Choose it and follow the steps in the migration wizard.
    Best Regards, Radoslav

  • Using SWING and EJB

    Had nebody used Swing for GUI and EJBs for business logic. HEre i need to use Swing for gui rather than JSPs.
    Can nebody help??

    My question is ...
    How do u call EJBs from swing based applets..
    In J2EE transaction management cud be done at server side but how will we manage with the swing app??

  • Can I develop CF projects using Flash Builder 4.5 for PHP?

    I currently develop CF projects using Flash Builder 4.5.  I am considering purchasing Flash Builder 4.5 for PHP.  Will I still be able to work on my CF projects using FB for PHP?

    Because in the installation instructions for FB for PHP it says that you have to uninstall the current installation of FB which I have several CF projects that I use regularly.  I hate to uninstall if it turns out that I can't transport my current projects into FB for PHP. 
    Oh that sux!  It's just an Eclipse plug-in, and one can have installed multiple installs of Eclipse OK, so I wonder why they're said this?
    OK, because I give suck advice, I'll D/L it and install it on a spare machine and take a look.  FB usually has a CF perspective does it?  So what you need to know is whether FB for PHP still has the CF perspective?
    Or are you asking whether you can install CFB (or CFEclipse) as a plug-in to FB for PHP, like one can with FB?
    Sorry about the bad advice.
    Adam

  • How to pull data from EJB and present them using Swing ?

    Hi all,
    I've written stateful session bean which connect to Oracle database, and now I must write stand alone client application using Swing.
    The client app must present the data and then let users add,delete and edit data and it must be flexible enough to iterate through the records.
    The swing components can be JTextField,JTable etc.
    How to pull the data from EJB and present them to users with the most efficient network trip ?
    Thanks in advance
    Setya

    Thanks,
    Since the whole app originally was client-server app and I want to make it more scalable, so I decide to separate business logic in the EJB but I also want to keep the performance and the userfriendliness of the original user interface, and I want to continue using Swing as the original user interface does.
    I've read about using Rowset and I need some opinions about this from you guys who already have some experience with it.
    Any suggestions would be greatly appreciated.
    Thanks
    Setya

  • Re:  Tutorial:  Using an EJB Project

    I am a computer engineering student who is learning weblogic. I appreciate if
    anyone can help me with my question on Using an EJB Project
    This tutorial can be found in weblogic 8.1: go to workshop ->help->Tutorials and
    samples-> Using an EJB project
    On page 11, section: Create a web application, it asks to import a webapp file
    that nowhere to be found in beahome. Where can I find webapp file for this
    ejb example
    Thanks very much,
    Jessica

    Hi Jessica,
    If I'm understanding your question correctly you're running
    the EJB tutorial that's being shipped with the 8.1 beta correct?
    I just did a quick check on my installation of the pre-beta installer
    and didn't see it there so it's possible there's a bug in the installer
    or something. At any rate, I've attached a zipped up copy of that
    tutorial code here. Hope that helps.
    Michael Kovacs
    Senior Software Engineer
    BEA Systems
    "Jessica " <[email protected]> wrote in message
    news:3e9b0cfc$[email protected]..
    >
    I am a computer engineering student who is learning weblogic. Iappreciate if
    anyone can help me with my question on Using an EJB Project
    This tutorial can be found in weblogic 8.1: go toworkshop ->help->Tutorials and
    samples-> Using an EJB project
    On page 11, section: Create a web application, it asks to import a webappfile
    that nowhere to be found in beahome. Where can I find webapp file forthis
    ejb example
    Thanks very much,
    Jessica[EJBProject.zip]

  • Can't use JPA facet in a Workshop 10.3 EJB project

    Greetings,
    I'm using Oracle Workshop for WebLogic 10.3 to migrate an enterprise application from JBoss 5.0 to WebLogic 10.3. I'm a bit confused as, while I can add the JPA facet to a Dynamic Web project, I cannot do the same with an EJB project. I'd need to take advantage of the IDE automatic facets management instead to manually dealing with libraries and dependencies. I beleive that this is the reason these facets exist. However, after having created a EJB 3.0 project, it is impossible to add to it the JPA facet. I had to define the JPA entities in a Dynamic Web project as this is the only one to which I can add the JPA facet. This is not regular. Additionally, the SLSB facades may only be defined in an EJB project. They reference the JPA entities in the Dynamic Web project which, given the class loading hierarchy, is not possible. So my question is: how is one supposed to use JPA with WTP projects ?
    Many thanks in advance for any help,
    Nicolas

    This isn't supported in Workshop 10.3 and prior, the JPA tooling only works with Dynamic Web Projects in those releases to my knowledge.
    I think this changed in OEPE 11g. Check out this article that shows JPA being used in the context of a Utility Project:
    http://www.oracle.com/technology/pub/articles/cioroianu-eclipse-jpa.html
    OEPE 11g Download: http://www.oracle.com/technology/software/products/oepe/index.html

  • How can I develop EJBs using JDeveloper?

    Hi all.
    How can I develop EJBs (entity beans) using JDeveloper and deploying them on WebLogic6x
    server?
    Oracle says that JDeveloper enables to build and deploy applications to the WebLogic
    6x, but I can't do that with Entity Beans(CMP).
    I established the connection to the WebLogic and to the DataBase and they work.
    JDeveloper generate ejb-jar.xml and weblogic-ejb-jar.xml but not weblogic-cmp-rdbms-jar.xml.
    How can I build all the necessary xml's files? What I have to do? Exist a pluging
    to integrate JDeveloper with WebLogic?
    Thanks, and I hope your answers.
    Isra

    hello,
    in reports 6i the charts are created using oracle graphics which stores the chart definitions in a separate file (.OGD). there is not XML interface for graphics.
    with reports 9i and the introduction of the BIgraphBean the definition of the chart-properties is also done in XML.
    reports 9i will be available with iAS Release 2.
    regards,
    the oracle reports team

  • How can Transformation control be used from an EJB Project?

    I want to perform some data transformation directly from within the EJBs. Can Transformation
    control be used from an EJB Project? How?

    William, thanks for the reply.
    I bought this drive module from a private party and was surprised to find out what it was. At first I thought it was just Apple's way of protecting the drive during shipping.
    I own it and will probably have an hard time returning it. It was advertised as a 750GB Seagate SATA ES hard drive. The price was very reasonable, especially if I was buying it as a Drive Module. So if I can sell it great, if not I want to use the drive.
    How can I tell if this is a Xserve RAID module or Drive Module? The box just says Apple Drive Module no mention of RAID. The Apple model # is MA504G/A, and it say Apple Drive Module 750GB SATA (Intel). On the hard drive itself it says Seagate Barracuda ES 750Gbytes.
    If this is just the Drive Module and I can use it in my Mac Pro, does it just unplug or unscrew out of the housing it's in and plug into the Mac Pro like a normal drive? And then can it be used like a normal drive to set up a RAID in the Mac Pro with a duplicate bare drive? It's sealed and I don't want to open it until I know I can use it.
    Sorry for all the questions but I know enough to be dangerous and this this has me stumped.

  • EJB project IDE build dos not include properties files

    We have property files also which we want included as part of the build process
    for EJB projects but if we use the IDE build it does not include them. We have
    to therefore export the IDE build and customize it to include *.properties like
    this
    <zip basedir="${dest.path}" zipfile="${ejb.outputJar}" encoding="UTF8"> <!-- JARs
    filenames are encoded UTF8 --> <zipfileset dir="${project.local.directory}" includes="*.properties"
    /> </zip>
    which causes a problem for us because the exported build file is specific to a
    user's local PC and cannot be used in a team environment.
    How can we have the IDE build include all the files within an EJB project i.e.
    include properties files also.

    Hey Jamie,
    Currently there is no support to include other .properties files into
    the internal build. There's a build.properties that you get as part of
    an EJB project which you could place your values into and use that as
    your template for your team based development and check that into your
    source control.
    If you'd really like to get gross and hack Workshop a little bit you
    could modify the default EJB project template to use your .properties
    file for every EJB project you create. This would then splat a copy of
    your .properties file into the root of the EJB project.
    To do that you'd go to {your BEAHOME}\workshop\templates and crack open
    the ejb-project.zip template zip file and merge your settings into the
    existing build.properties file. This has the same
    effect as replacing the .properties file after you've created your
    project only it keeps you from having to perform that step each time.
    The downside of this is that each person on your team would then have to
    update that template zip file in their workshop installation. (I'd make
    sure to backup the original template file before performing this
    activity so you can always go back to the original template).
    Hope this helps,
    -Michael
    Jamie wrote:
    We have property files also which we want included as part of the build process
    for EJB projects but if we use the IDE build it does not include them. We have
    to therefore export the IDE build and customize it to include *.properties like
    this
    <zip basedir="${dest.path}" zipfile="${ejb.outputJar}" encoding="UTF8"> <!-- JARs
    filenames are encoded UTF8 --> <zipfileset dir="${project.local.directory}" includes="*.properties"
    /> </zip>
    which causes a problem for us because the exported build file is specific to a
    user's local PC and cannot be used in a team environment.
    How can we have the IDE build include all the files within an EJB project i.e.
    include properties files also.

  • Unable to build EJB project.

    Hi All,
    I am new to CE and trying to crete an EJB project. I am following the below tutorial.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b030e7fb-2662-2b10-0dab-c4aa52c3550b?quicklink=index&overridelayout=true
    I have configured the data source, created the EJB module, created the Entity Bean & session bean. While trying to build the project, I am getting an error "Unable to provide dictionary objects. Please check if the connected project is sttll valid."
    Please help me resolving the issue.
    Regards,
    Bhavya.

    Hi Divya,
    Follow the above steps in the following link how to use external library in DC's
    /people/bertram.ganz/blog/2008/11/24/how-to-use-external-jar-files-in-web-dynpro-development-components
    1)Expose the JAR file in two separate public parts, one with purpose assembly (1) and another one with purpose compilation (2).
    2)Use the public part with purpose compilation in the Web Dynpro "client" development component
    Let me know if you are still facing the problem.
    Hope this helps you...
    Regards,
    Saleem
    Edited by: Saleem Baig Mohammed on Jun 2, 2009 2:35 PM

  • Can I use AdvancedDatagrid in an opensource project?

    I have a student Flex Builder education license. Can I use
    AdvancedDatagrid in an opensource project?

    I am new to Swing, and I would like to know, if is
    possible create a application using Swing as view tier
    in a J2EE(EJB) project? Yes, it is entirely possible, they are usually called Rich Clients (as in functionality) and may or may not use RMI/EJB. They typically also include the Controller (from MVC pattern) in the Client. The EJB represent the model, remember that the MVC is a Client Server Pattern, not an J2EE pattern.
    Did anybody create one yet?Yes, the idea is not uncommon, you can read a more here:
    http://www.google.co.uk/search?hl=en&ie=ISO-8859-1&q=Rich+Swing+Java+Client&btnG=Google+Search&meta=
    How many J2EE projects do you know which Swing is used
    as view tier? Using Swing is so much more complicate
    than a ordinary output in HTML? No, just different. Instead of doing each action in your Swing App, use the normal EJB method.
    Is there a open source project uses this approach?Probably, checkout the list of Google links above.
    Here is a sun tutorial, that introduces the principals.
    http://java.sun.com/features/2002/03/whatdev.html
    I don't want to use M$
    Visual Basic anymore! Please, help me! Good for you :-)

Maybe you are looking for

  • Error propagation with ANT

    Hello, I have done a merge with 2 inventories, the first is from my local server with an EAR, the second is from other server (it was charged with a DUMP). The problem is at the propagation moment (by ANT), it throws errors like the following. <11-01

  • NI OPC and S7200

    HI i want to develop SCADA application for S7 200 PLC. I am using NI-OPC. I have connected S7200 PLC to Ethernet network through CP243-1 communication module. DO i need additional hardware to communicate S7 200 with NI-OPC. PBP (CLAD) Labview 6.1 - 2

  • Select PreparedStatement execution slowdown overtime - Oracle 10.2.0.1

    This is a very confusing issue. We have a batch type application built on Hibernate using Oracle JDBC 10.2.0.1 drivers. Currently using a Spring configured connection pool (don't think this is the issue). Basically, the first step of the process invo

  • Query on vCloud Usage Meter Reporting

    Hello , Can vCloud Usage Meter provide report of  vCpu  , vRam  &  Storage Consumption  on monthly basics for each individual  vCloud Workload (Virtual Machine )  ? I am looking for   Monthly report of  vCpu/ RAM & Storage  utilization by each  Indiv

  • Problem to install 5.5 in graphic mode

    Hi, on my X86/64-system I had already successfully unbreakable oracle enterprise linux version 4.8 in graphic mode. But I tried since some days to install version 5.4 or 5.5. The system hanged or showed only a quadrat. Any help? Thank in advance hqt2