Need suggestions and code examples

Hi ,
I am developing an RMI client/server distributed application. My RMServer is OK and RMIClient too. Recently I have been asked to dynamically fill a Jtable invoched from my RmiClient, i.e, my JForm or JApplet should be filled with data read from a collection or array. Absolute no JDBC. I should have something like : my RMIClient parses an Object and then read its context which are then send to table columns, ect. Does anyone has had such a previous experience or any idea about the best way to make the client -to-JForm data exchange.
Any code fragment or examples which shows dynamical data loding to a swing (Jtable) is greatly appreciated, as well as any document where I could find information on RMIclient -> forms and dynamical data filing of components is greatly acknowledged.

There was an extensive thread of discussion on exactly this subject, at an open source project I lead at java.net:
https://cajo.dev.java.net/servlets/ProjectForumMessageView?forumID=428&messageID=10140
It even includes source snippets. A project member was able to solve exactly the problem you are bringing up.
It is certainly worth a look, I hope it can be of value to you.
John Catherino
Project Lead
The cajo project
https://cajo.dev.java.net

Similar Messages

  • Kernel panic with 1 long beep, need suggestions and helps on iMac 21.5

    First of all, my iMac spec is as follows.
    - iMac 21.5 inches Mid 2011 (Intel Core i5 2.5 Ghz)
    - OS X version 10.7.4
    - Memory 4 GB
    My situation is that I experienced a first ever kernel panic. It forces me to restart the system. I followed that, and then whenever it boots up a one time long beep sound occurs. After that a flickering screen (white and black) with normal chime sound occurs, and repeat itself for 3-4 times before actually goes into a normal login screen.
    Everything is normal, I can use any programs properly. But one thing I notice is that "serial number" is missing in "About this mac" option. I strongly remember that it's there since a time of purchase this iMac. I also take a look at System/Profiles and nothing there as well.
    I also take a look at the kernal panic log in /Library/Logs/CrashReporter and /Library/Logs/DiagnosticReports but can't find any relevant logs. There's just one file inside both 2 folders, and that log is dated which is not match to my incidence.
    I tried remove out ram, and switch the slot between them, but it doesn't help.
    Also I've tried reseting PRAM, but it doesn't help as well.
    My iMac is within the warranty but outside of technical call.
    Any suggestions and help would be very appreciated.

    Contact Apple's Express Lane.
    https://expresslane.apple.com/GetproductgroupList.action;jsessionid=KBdzQtTcydQS lvbJ6nthmsggQLWRJrXGh4phn9hb9vZNwqD0hJzp!-949435192

  • Needs suggestion and help regarding my preparation

    I am looking for new job from my existing role. Here all the interviews are I am getting are scenario based and I am not able to reply most of them and as a result getting rejecting in every instance. . In my day to day work I am a part of DBA Monitoring team and everyday job is to monitor tablespace, listener, checking important mountpoint space, instance health check and backup monitoring, it is becoming boring day by day, hence I want to switch. But how to prepare for these typical scenarios based queries, I have both and single and Dataguard setup in my own laptop to play with but I am not getting any idea how to stimulate the different scenario's which can help me to crack the interviews.
    Any idea/advice and suggestions will be highly appreciated and will be followed diligently. Thanks in advance.

    Hi,
    i hope ....in real time world ...they expecting more from you than what your doing now....as DBA...
    actually as a DBA you have to do practice/play on your laptop or test environments...lots of things are there to do....
    how to prepare myself to reply those type problem scenario's and their solutions
    practice and ...........practice...practice...practice.......practice...practice...practice......practice...practice...practice......practice...practice...practice...... various scenarious.......on your test machine......
    example: 1st thing is you have to learn oracle architecture and gain the sound knowledge on that.... book expert oracle architecture by thomas kyte...
    2:backup and recovery ....every interviewer is expecting more info from you ..in this category...i hope..you have to practice various scenorious on your test machine ...
    like some of below....take a full backup of your database before proceeding any.R&D....
    1:datafile loss...system datafile losss... delete from the disk and try to restore/recover the db....do practice by using offline backup/online bcakup...
    2 redo corruption....modifing redo log size....
    3)controfile corruption/lost
    4)data gaurd archive log missing sequence like gap at standby side..wrt primary.....break the N/W connection try this scenario...practice switch over/fail over scenarious..etc..
    5)practice point in time recovery....
    6)take hot backup of database practice above ones...like datafile lost/corruption...etc...
    7) unconsciously table drop...flashback technology...
    8)RMAN..beauty of oracle...lots of thing are there to play on test by using RMAN...
    configuration....show all...it will give you the some conf parameter try to read each and every conf parameter do if its configure other than default...if you ..backup..restore...of any file missing...like datafile missing controfile file missing..etc...practice/play RMAN cmds....
    now a days every interviewer will ask lots of things about RMAN....
    9) do the cloning by using offline backup/online backup/RMAN
    http://gavinsoorma.com/2010/06/some-more-rman-recovery-scenarios/
    http://docs.oracle.com/cd/B28359_01/backup.111/b28270/rcmintro.htm
    http://docs.oracle.com/cd/B19306_01/backup.102/b14191.pdf
    once you got the sound knowldge on above things...then performence tuning.... analyzing statspack report/awr...etc..
    my suggestion is make a habit of to fallow oracle forum every day..if possible every Hr..and try to read old posts in the form.....reproduce problem by your self and fallow the.experts solution and document those it will useful for you in future ..things makes good for you...all the very best....
    thanks,
    DBC,
    Sr DBA.
    Edited by: dbc001 on Mar 10, 2013 10:36 AM

  • Upgrading my mbp. need suggestions and insights...

    I have a Aluminum Unibody mid 2010 MBP 13.3 inch with 2.4ghz c2d and Lion. I'm finally gonne upgrade the ram to 8gb and the hdd to a 128gb ssd. i needed advice on how to do it and what are the things i should know. the of information on the Internet only confuses me.
    I have some questions...
    does upgrading the ram or to an ssd void the APP?
    are ssd's compatible with Lion? i have heard about some requirement of TRIM in OSes (which windows 7 has).
    will 8gb of ram do with a 128gb ssd on lion/2,4 c2d?
    how do i transfer everything from the current hdd to the new one? install Lion from usb recovery disk and restore from tm? or is there another way?
    i'm planning on either crucials or owc. whats ur advice?
    apple auth. service center here in Mumbai says that they can install it for me on a chargeable basis. is the charge under app legitimate?
    any other pro and cons... insights.. useful tips... suggestions... warnings... etc.?
    thanks for time.
    Neerav

    First question, yes you would be charged to have a tech do the installation for you.
    Question two. Put the old drive into an external enclosure. Boot the computer from the old drive.
    Clone using Restore Option of Disk Utility
    Open Disk Utility from the Utilities folder.
    Select the destination volume from the left side list.
    Click on the Restore tab in the DU main window.
    Check the box labeled Erase destination.
    Select the destination volume from the left side list and drag it to the Destination entry field.
    Select the source volume from the left side list and drag it to the Source entry field.
    Double-check you got it right, then click on the Restore button.
    Destination means the SSD drive. Source means the old drive.

  • Need suggestions and query

    create table nsk_abc (cal_date date);
    Insert into NSK_ABC
       (EFF)
    Values
       (TO_DATE('12/24/2012 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into NSK_ABC
       (EFF)
    Values
       (TO_DATE('01/21/2013 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
    COMMIT;
    Below is the table data:
    12/24/2012
    1/21/2013
    Basically this date is one of the monday of the month
    and between 12/24/2012 and 1/21/2013 there are 4 mondays
    i.e., 24/12/2012, 31/12/2012, 07/01/2013 and 14/01/2013
    now If my input date is between 24rth Dec 2012 to 30th Dec 2012 I need to get output as 01, if it is 31st Dec 2012 to 06th Jan 2013 I need to get output as 02 and so on...
    Currently am getting as
    12/24/2012     01
    12/31/2012     02
    1/7/2013     03
    1/14/2013     04
    1/21/2013     05
    But I want to store this output in a day wise in a table:
    12/24/2012 01
    12/25/2012 01
    12/30/2012 01
    12/31/2012 02
    01/01/2013 02
    01/06/2013 02
    01/07/2013 02
    .

    with t as (
        select TO_DATE('12/24/2012 00:00:00', 'MM/DD/YYYY HH24:MI:SS') as start_day,
        TO_DATE('01/21/2013 00:00:00', 'MM/DD/YYYY HH24:MI:SS') as end_day from dual  
    select start_day + i as day,  floor( ( start_day - NEXT_DAY(start_day - 7,'Monday') + i )  / 7) + 1
      from  t, xmltable('for $i in 0 to xs:int(D) return $i' passing xmlelement(d, round(end_day - start_day) ) columns i integer path '.')
    DAY                         WEEK
    24.12.2012 00:00:00            1
    25.12.2012 00:00:00            1
    26.12.2012 00:00:00            1
    27.12.2012 00:00:00            1
    28.12.2012 00:00:00            1
    29.12.2012 00:00:00            1
    30.12.2012 00:00:00            1
    31.12.2012 00:00:00            2
    01.01.2013 00:00:00            2
    02.01.2013 00:00:00            2
    03.01.2013 00:00:00            2
    04.01.2013 00:00:00            2
    05.01.2013 00:00:00            2
    06.01.2013 00:00:00            2
    07.01.2013 00:00:00            3
    08.01.2013 00:00:00            3
    09.01.2013 00:00:00            3
    10.01.2013 00:00:00            3
    11.01.2013 00:00:00            3
    12.01.2013 00:00:00            3
    13.01.2013 00:00:00            3
    14.01.2013 00:00:00            4
    15.01.2013 00:00:00            4
    16.01.2013 00:00:00            4
    17.01.2013 00:00:00            4
    18.01.2013 00:00:00            4
    19.01.2013 00:00:00            4
    20.01.2013 00:00:00            4
    21.01.2013 00:00:00            5

  • I need code example for server act as client and vice versa

    Hi all,
    I want code example for performing both server and clients using RMI. I mean Server will act as client and client will act as server. So a single program will act as both client and server .
    Please give example, it will helpful to complete my project. I am struggling in this stage. Its like peer to peer action.
    Thanks & Regards
    R.Ragupathi

    1. The tutorial shows you how to do cleint/server.
    2. Search on the topic "callback" to see how cleint and server roles can be reversed.

  • Why do we need separate t.codes KB11N and KB41N for reposting costs & rev?

    Hi,
    Why do we need separate t.codes KB11N and KB41N for reposting costs and revenues? I noticed that i can still use one t.code KB11N to post both costs and revenues, hence why do we need a separate t.code KB41N for revenues?

    Hi,
    The BAPI for costs allows more options than the one for revenues. For example, via BAPI_ACC_PRIMARY_COSTS_POST  you can select sender Network, what you cannot do via BAPI_ACC_REVENUES_POST. The same is for 'cost object' as a receiver; you can do it only via BAPI for costs. In other aspects, the BAPI for costs could be used to repost revenues as well.
    Regards,
    Eli

  • Anytime i try and eprint from my ipad the printer says i need a proxy server and code?

    Bought new Photosmart 6510e all in one. Set up went well including wireless internet setup. When I try to use my ipad and send document to print the printer says I need a "Proxy server name and code" I don't know what this means or how to find this server?
    What can I do to get this going?The computer I have is an Acer with Windows Vista.   

    Hello Manny12,
    I would start but suggesting you power cycle the printer. You can do this by following these steps:
    While the printer is still on, unplug the power cord from the printer, leave it unplugged for 30 seconds, then reconnect the power cord to the printer. Once plugged back in the printer should power on automatically.
    You also may try restoring the network defaults and re-connecting your printer back to your wireless network. If you are still experiencing issues you may also want to disable and re-enable Web Services.
    If you have any further issues or questions you can reply to this post and I will try to assist you.
    If I have solved your issue, please feel free to provide kudos and make sure you mark this thread as solution provided!
    Although I work for HP, my posts and replies are my own opinion and not those of HP.

  • Code example of shining star like objects needed.

    How is it possible to make shining star like object like in
    the screensaver "Cosmic voyage"? Check out the screensaver here
    http://www.voodoofiles.com/9503
    and then tell me how this could be implemented. I need some code example.
    Also check out my 3D site:
    www.psyanimations.com

    There are a few discussions of this effect if you search back in this forum. Basically, the glowing light effect is created by drawing an alphablended picture of a glowing light and then orienting it towards the user using an OrientedShape3D type of thing. If you need it to affect nearby objects you will want to put a lightsource with it.

  • I want to set up the Time Machine and I would love to use the Time  Capsule but since I already have a wireless router I need suggestions on  what other external disks Apple could recommend to use with the Time Machine and  how to configure that disk

    I want to set up the Time Machine and I would love to use the Time
    Capsule but since I already have a wireless router I need suggestions on
    what other
    external disks Apple could recommend to use with the Time Machine and
    how to configure that disk.
    A complication that I need to resolve is the fact that I am using Vmware
    Fusion to be able to use Windows on my Mac. Now it seems that Time
    Machine is not backing up my files
    on that virtual Windows without additional configuration and my question
    is whether you can advise me here or whether this is only a matter for
    the Fusion virtual machine.

    If you want to use Time Capsule you can.. you simply bridge it and plug it into the existing router.. wireless can be either turned off or used to reinforce the existing wireless.. eg use 5ghz in the TC which is much faster than your 2.4ghz.
    You can also use a NAS.. many brands available but the top brands are synology, qnap and netgear readynas  series. These will all do Time Machine backups although how well always depends on Apple sticking to a standard. There are cheaper ones.. I bought a single disk zyxel which was rebadged and sold through my local supermarket. It actually works very well for TM at least on Snow Leopard. Major changes were made in Lion and again ML so do not instantly think it will work on later versions. I haven't tried it yet with those versions.
    Any external drive can be plugged into the mac. Use the one with the fastest connection or cheapest price according to your budget. USB2 drives are cheap and plentiful. But no where near as fast as USB3 or FW800. So just pick whichever suits the ports on your Mac. Interesting Apple finally moved to USB3 on their latest computers.
    TM should exclude the VM partition file.. it is useless backing it up from Mac OS side.. and will slow TM as it needs to backup that partition everyday for no purpose.. TM cannot see the files inside it to backup just the changes.
    You need to backup windows from windows. Use MSbackup to external drive.. if you have pro or ultimate versions you can backup to network drive. But MSbackup is a dog.. at least until the latest version it cannot restore the partition without first loading windows. There are about a zillion backup software versions for windows.. look up reviews and buy one which works for you. I use a free one Macrium Reflect which does full disk backups and is easy to restore.. to do incremental backups though you have to pay for it.

  • Need suggestion on Multi currency and Unicode character set use in ABAP

    Hi All,
    Need suggestion. In one of the requirement I saw 'multi-currency and Unicode character set experience in FICO'.
    Can you please elaborate me how ABAPers are invlolved in multi currency as I think this is FICO fuctional area.
    And also what is Unicode character set exp.? Please give me some document of you have any.
    Thanks
    Sreedevi
    Moderator message - This isn't the place to prepare for interviews - thread locked
    Edited by: Rob Burbank on Sep 17, 2009 4:45 PM

    Use the default parser.
    By default, WebLogic Server is configured to use the default parser and transformer to parse and transform XML documents. The default parser and transformer are those included in the JDK 5.0.
    The built-in WebLogic Server DOM factory implementation class is com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl.
    The DocumentBuilderFactory.newInstance method returns the built-in parser.
    DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();

  • I have just purchased a new iMac and have uninstalled cs6 from my old iMac. Do I just install CS6 as normal or do I need a new code. My licence is for one user

    I have just purchased a new iMac and have uninstalled cs6 from my old iMac. Do I just install CS6 as normal or do I need a new code. My licence is for one user

    Yes, just install as you normally would using the serial number you originally used.
    You did not have to uninstall on the old machine - with your single user license you are allowed to have two activated installations.  So feel free to reinstall it if those are the only two machine you plan to have it on and you'd like to have a backup installation.

  • Need code example for dynamicly changing UI Propertey

    Hello,
    Can someone show me a simple code example that does the following:
    A view which contains a button and a label.
    Each press on the button changes the color (or other visible property) of the label.
    But note: Don't bind the property to the Context for that, I want to do it through the doModifyView method.

    hi Roy Cohen,
    I think u r not looking for the visibility property they have mentioned.
    I think u r looking for a procedure to change the way the element looks..is it..
    The problem is if u want any change to be visible when the button is pressed u can only change the length or the width.There is no option to change the semantic color or whatever.
    To change the size u can try this code
    IWDInputField in = (IWDInputField)view.getElement("<element name>");
    in.setWidth(some value which is set when the button is pressed);
    Is this wat u r looking for?
    Jus mention it if there is something  else.
    Regards
    Bharathwaj

  • Hello, I bought my iphone in japan. And now I'm in Brazil and I use it here, I need the unlock code for me to use here. please

    Hello, I bought my iphone in japan. And now I'm in Brazil and I use it here, I need the unlock code for me to use here. please

    williamjapa wrote:
    Hello, I bought my iphone in japan. And now I'm in Brazil and I use it here, I need the unlock code for me to use here. please
    Only the carrier to which the phone is locked can authorize an unlock. None of the Japanese carriers will do that. Sell the phone and buy one that works in Brazil.

  • Do I need an activation code to re-install CS3 and CS5 upgrade??

    I might have to re-install all software but only have the serial numbers, no activation codes. Do I need them and if yes where can I get them?

    For Creative Suite, all you need is a serial number. However, if the serial number was used more than on two computers, one of the computers would have to be deactivated. If it was used on a computer that died or is no longer accessible, you can use Web chat to deactivate the old computer.

Maybe you are looking for

  • MIGO : Error when copying batch characteristics

    Hi, I've some problem on MIGO Tcode when i want to copy the batch characteristics. I work with class type 022. I create a GR from PO. (movement 101). My item line contained sub-items (with BOM). So i would like to copy the batch characteristics in re

  • Garbage characters when retrieving HTML via Java

    I wanted to use Java to extract my characters profile from http://www.magelo.com. The results returned from the URL are basically garbled characters; however retrieving cnn.com or yahoo.com the results are fine. So, the only thing I can think of is t

  • How do I get 9ias to recognize my servlets?

    Hi, How do I get my 9ias to recognize my servlets? I have modifed my jserv.properties to define the location of my properties file : # Configuration file for each servlet zone (one per servlet zone) # Syntax: [servlet zone name as on the zones list].

  • Jcshell init-update fails on nxp jcop 41

    hi everyone, i'm trying to upload an applet and this is what happens: cm>  /term "winscard:4|OMNIKEY CardMan 3x21 0" --Opening terminal cm>  /card -a a000000003000000 -c com.ibm.jc.CardManager resetCard with timeout: 0 (ms) --Waiting for card... ATR=

  • X200 standby problem both XP and VISTA BUSINESS ! ! !

    i have X200 units they're both goes standby even in MAXIMUM PERFORMANCE,(it's should'nt going like that)....... but if you let the video driver uninstalled they are fine and onething i observed that those units are flickering  on the screen after sev