Some problems about entity bean

As what I learnt from books, client uses primary key for getting instance of entity bean. However, if I want to create some entity beans for read only purposes. That is, I will not has the process of bean instantiation from client side directly. What should that object be existed in my system. As they are persistent, they will not be value object. Would you give me some suggestions?

If you want to create some entity-bean instances in order to read the data from the database, you should you find method insteads of create method. If you want to ADD new row in the table then use create method.
If you want to read, it is better to used session bean, and get the RowSet from ResultSet(jdbc)(Please don't update the data in RowSet it will update the database but the entity bean when you do it).
I hope I understand your question correctly and you understand what my words too.

Similar Messages

  • While trying to restore os x and erase content, some problem about voice software came up and the computer asked me to restart and try again by clicking restart button. When I did this, the machine went to a gray start up screen and will not progress.

    While trying to restore os x and erase content on my MacBook pro, some problem about voice software came up and the computer asked me to restart and try again by clicking restart button. When I did this, the machine went to a gray start up screen with an apple and will not progress. I've waited more than 30 minutes and tried restarting again by holding the power button. Also, restore cd 1 will not eject so the computer will no longer move past the gray screen with spinning circle. Restore CDs had never beeused and were still in packaging in the original box. Ran hardware test just to check, and it came back as normal. Now what? I live nowhere near a genius bar :(

    computer asked me to restart and try again by clicking restart button.
    That's called a kernel panic...
    Since the install disc won't eject, try starting up while holding down the C key. If the Mac won't boot while holding down the C key, try ejecting disc by either holding down the mouse while starting up or holding down the Eject key while starting up.
    Try booting from your install disc so you can run Disk Utility in case the startup disk needs repairing.
    Insert your install disk and Restart, holding down the "C" key until grey Apple appears.
    Go to Installer menu and launch Disk Utility.
    (In Mac OS X 10.4 or later, you must select your language first from the installer menu)
    Select your HDD (manufacturer ID) in the left panel.
    Select First Aid in the Main panel.
    (Check S.M.A.R.T Status of HDD at the bottom of right panel. It should say: Verified)
    Click Repair Disk on the bottom right.
    If DU reports disk does not need repairs quit DU and restart.
    If DU reports errors Repair again and again until DU reports disk is repaired.
    When you are finished with DU, from the Menu Bar, select Utilities/Startup Manager.
    Select your startup disk and click Restart
    While you have the Disk Utility window open, look at the bottom of the window. Where you see Capacity and Available. Make sure there is always 15% free space.
    What is a kernel panic
    Mac OS X Kernel Panic FAQ
    Resolving Kernel Panics

  • HT1414 It has some problem about my iphone. When I turn off the phone and then turn on, it shows the screen of apple page and then show the loading page many times. What happen with my iphone?

    I have iphone5s and there is some problem about my iphone. I turn off the phone and then I turn on. After I turned on, It showed the page of apple signal and then the page of loading. It used long time to show the loading page. Then it was back to page of apple and then loading page again many times. What happen with it? And what should I do?

    Did you already try to reset the phone again by holding the sleep and home button for about 10sec, until the Apple logo comes back again?
    If this does not work, try to set it up as new device, explained here:
    How to back up your data and set up as a new device
    You may have to connect in recovery mode, if the phone is not recognized in iTunes:
    iOS: Unable to update or restore

  • Questions about entity bean caching/pooling

    We have a large J2ee app running on weblogic6.1 sp4. We are using entity beans
    with cmp/cmr. We have about 200 EntityBeans and accessed quite heavily. We are
    struggling with what is the right setting of max-beans-in-cache and idle-time-out.
    The current max heap setting is 2GB. With the current setting (default setting
    of max-beans-in-cache to 1000, with a few exceptions to take care of cachefullexceptions)
    we run into extended gc happening after about 4 hours. The memory freed gradually
    reduces with time and lurks around the 30% mark after about 4 hours of run at
    the expected load. In relation to this we had the following questions
    1. What does caching mean?
    a. If a bean with primary key 100 exists in the cache, and the following
    is done what is expected
    i. findByPrimaryKey(100)
    ii. findBySomeOtherKey(xyz)
    which results in loading up bean with primary key 100
    iii. cmr access to bean with
    primary key 100
    Is the instance in the cache reused at all between transactions?
    If there is minimal reuse of the beans in cache, Is it fair to assume that caching
    can only help loading of beans within a transaction. If this is the case, is there
    any driver to increase the max-beans-in-cache other than to avoid CacheFullException?
    In other words, is it wrong to say that max-beans-in-cache should be set to the
    minimum value so as to avoid CacheFullExceptions.
    2. Again what is the driver of setting idle-time-out to a value? ( We currently
    have it at 30 secs) Partly the answer to this question would again go back to
    what amount of reuse is done from cache? Is it right to say that it should be
    set to a very low value? (Why is the default 10 min?)
    3. Can you provide us any documentation that explains how all this works
    in more detail, particularly in relevance to entity beans. We have already read
    the documentation from weblogic as is. Anything to give more explicit detail?
    Any tools that can be of use.
    4. What is the right parameter (from among the things that weblogic console
    throws up) to look at for optimizing?
    Thanks in advance for your help
    Cheers
    Arun

    The behaviour changes according to these descriptor settings: concurrency-strategy,
    db-is-shared and include-updates.
    1. If concurrency-strategy is Database, then the database is used to provide locking
    and db-is-shared is ignored. A bean's ejbLoad() is called once per transaction,
    and the 'cache' is really a per-transaction pool. A findByPrimaryKey() always
    initially hits the db, but can use the cache if called again in the same txn (although
    you'd simply just pass a reference around). A findByAnythingElse() always hits
    the db.
    2. If concurrency-strategy is ReadOnly then the cache is longer-term: ejbLoad()
    is only called when the bean is activated; thereafter, the number of times ejbLoad()
    is called is influenced by the setting of read-timeout-seconds. A findByPrimaryKey()
    can use the cache. A findByAnythingElse() can't.
    3. If concurrency-strategy is Exclusive then db-is-shared influences how many
    times ejbLoad() is called. If db-is-shared is false (i.e. the container has exclusive
    use of the underlying table), then the ejbLoad() behaviour is more like ReadOnly
    (2. above), and the cache is longer-term. If db-is-shared is true, then the ejbLoad()
    behaviour is like Database (1. above).
    Exclusive concurrency reduces ejbLoads(), increases the effectiveness of the cache,
    but can reduce app concurrency as only one instance of an entity bean can exist
    inside the server, and access to it is serialised at the txn level.
    You can't use db-is-shared = false in a cluster. So Exclusive mode is less useful.
    That's when you think long and hard about Tangosol Coherence (http://www.tangosol.com)
    4. If include-updates is true, then the cache is flushed to the db before every
    non-findByPrimaryKey() finder call so the finder (which always hits the db) will
    get the latest bean values. This overrides a true setting of delay-updates-until-end-of-tx.
    The max-beans-in-cache setting refers to the maximum number of active beans (really
    beans that have been returned by a finder in a txn that hasn't committed). This
    wasn't checked in SP2 (we have an app that accidently loads 30,000 beans in a
    txn with a max-beans-in-cache of 3,000. Slow, but it works, showing 3,000 active
    beans, and 27,000 passivated ones...).
    This setting is checked in SP5, but I don't know about SP4. So you do need to
    size appropriately.
    In summary:
    - The cache isn't nearly as useful as you'd like. You get far more db activity
    with entity beans than you'd like (too many ejbLoads()). This is disappointing.
    - findByPrimaryKey() finders can use the cache. How long the cache is kept around
    depends on concurrency-strategy.
    - findByAnythingElse() finders always hit the db.
    WebLogic 8 tidies all this up a bit with a cache-between-transactions setting
    and optimistic locking. But I believe findByAnythingElse() finders still have
    to hit the db - ejbql is never run against the cache, but is always converted
    to SQL and run against the db.
    Hope this is of some help - feel free to email me at simon-dot-spruzen-at-rbos-dot-com
    (you get the idea!)
    simon.

  • Very Basic Question about Entity Beans !!!  Need your help.

    Hi,
    I have the following requirement:-
    ==============================
    There is an application A, whose multiple instances can run
    at the same time. There is some data/variable which is to be
    globally shared (i.e by all the instances). I have thought of using
    Entity Beans and putting that data in a single record in DB.
    Approach A:-
    ~~~~~~~~~~~
    Instance 1 of A (with Entity Bean ) -
    -> Database (only 1 row exist)
    Instance 2 of A (with Entity Bean ) -
    Approach B:-
    ~~~~~~~~~~~
    Instance 1 of A
    -> Entity Bean -> Database (only 1 row exist)
    Instance 2 of A
    My Query is:-
    1) In Approach A, both the instances of Application
    have their own Entity Bean (running in same JVM as them,
    packaged with Application)..Now both the entity bean instances
    represent 1 row on Database...At one time only 1 Entity bean
    will be performing the operation (read/write, other will be
    disallowed).
    2) In Approach B, both the instances of application(or Client) using
    the same Entity Bean - which is representing 1 row of Database
    Which is correct....I have read somewhere instance of Entity Bean
    corresponds to 1 row of database....If that is the case, Approach
    A would be wrong..
    Please help.

    1 Entity bean for 1 row is not true. An entity bean can represent data from multiple tables also. The correct statement is 1Entitybean for 1 resultset.
    So in case 1, u have 2 instances of Application running so it should not be an issue.

  • Some problems about making USB boot

    Hi AF!
    I'm having really big problems about making a USB Install Key!
    Its a 256mb (I will only use base) But how should I make the partitions??
    After reading another topic - http://bbs.archlinux.org/viewtopic.php?t=18643
    I still having some problems - Normally I would say the whole USB key should be FAT16 - is that correct or how should I make this ????
    Another part is about making the bootloader ?? Should that be Lilo or should I use the mksysconfig. If I use lilo with /sbin/lilo -M /dev/sda - I get the error upon boot - this is not a bootable floppy or disc??
    And if I use mksyslinux?? - well not sure I'm using the correct command - so how do I use this ???
    Thanks
    Peque

    well its been some time since i did this but if memory serves well
    make sure that in /etc/mkinitrd.conf the USB= "   "  <thats blank  not
    USB=1   
    i believe i told mkinitrd to install all the usb modules i needed even then i had to use initrd-full.img
    also i needed mdadm installed
    i ran lilo on my pen  grub just wouldnt work for me it installed but couldnt find what to boot . lilo would boot up on the machine i installed it on but wouldnt boot on ant other machine never did figure that out , my thoughts went else where at that time & havent  gone back to it yet.
    thats what i remember how much pertains to you i dont know hope this helps

  • Basic question about Entity Bean.

    Hi:
    Let's suppose that we have the code like below:
         home = (ProductHome)javax.rmi.PortableRemoteObject.narrow(ctx.lookup("ProductHome"),
    ProductHome.class);
         home.create("mouse");
         home.create("keyboard");
         home.create("monitor");
         home.create("mainboard");
    Q1: Does the weblogic hold the four instances of Product Bean after run those
    code?
    Q2: When do the instances will be backed to pool or be destoryed?
    Q3: Does the weblogic will ready all beans if client execute home.findByALL().
    (findByAll method return all product), that will consume a lot of memory if there
    is a mass of client do that?
    Regards!
    Eric Temel

    "Michael Jouravlev" <[email protected]> wrote in message
    news:[email protected]..
    >
    "Eric Temel" <[email protected]> wrote in message
    news:[email protected]..
    Q3: Does the weblogic will ready all beans if client executehome.findByALL().
    (findByAll method return all product), that will consume a lot of memoryif there
    is a mass of client do that?WL has a setting which allows you to find a bean without loading it.Search
    docs.
    ah, good point. To be redundant, even though the beans are found and not
    loaded (via the finders-load-bean DD setting which I think we're referring
    to),
    the 'found' but unloaded beans will still take up a some room in the entity
    bean cache.
    Something to keep in mind if memory is an issue..
    -thorick

  • Problem with entity bean

    Hi friends, i am using cmp entity bean to access my relational data base. In my table i am using a sequence (oracle) to generate a sequentiel number as a unique identifier so in my entity bean i am not inserting a primery key. The problem is that i need to get the primary key of the bean after creating and storing it to use the key for other treatment. Any idea, thank a lot

    Hi,
    It seems you just need to move all "after creation" stuff (including getId()) into ejbPostCreate method.
    If I don't miss anything, think that's all.
    Good luck

  • Problem calling entity bean from session bean using sun one app server

    Hi,
    I am getting the following exception while calling entity bean(bmp) from stateless session(cmp)bean.
    SEVERE: IOP5012: Some runtime exception ocurred in IIOP: [javax.ejb.EJBException: nested exception is: java.lang.RuntimeException: Unable to create reference org.omg.CORBA.OBJ_ADAPTER: vmcid: SUN minor code: 1015 completed: No]
    SEVERE: IOP5013: Unable to create reference: [org.omg.CORBA.OBJ_ADAPTER: vmcid: SUN minor code: 1015 completed: No]
    SEVERE: EJB5029: Exception getting ejb context : [CustomerEJB]
    SEVERE:
    WARNING: CORE3283: stderr: javax.transaction.TransactionRolledbackException: CORBA TRANSACTION_ROLLEDBACK 9998 Maybe; nested exception is:
    WARNING: CORE3283: stderr: org.omg.CORBA.TRANSACTION_ROLLEDBACK: vmcid: 0x2000 minor code: 1806 completed: Maybe
    WARNING: CORE3283: stderr: at com.sun.corba.ee.internal.iiop.ShutdownUtilDelegate.mapSystemException(ShutdownUtilDelegate.java:114)
    WARNING: CORE3283: stderr: at com.sun.corba.ee.internal.javax.rmi.CORBA.Util.wrapException(Util.java:358)
    WARNING: CORE3283: stderr: at javax.rmi.CORBA.Util.wrapException(Util.java:277)
    WARNING: CORE3283: stderr:
    My primary key implementation is
    public class CustomerEJBKey implements java.io.Serializable {
    static final long serialVersionUID = 3206093459760846163L;
    public String customerId;
    public DBConfigBean dbConfigBean;
    * Creates an empty key for Entity Bean: CustomerEJB
    /*public CustomerEJBKey() {
    public CustomerEJBKey(String customerId,DBConfigBean dbConfigBean){
    this.customerId = customerId;
    this.dbConfigBean = dbConfigBean;
    public String getCustomer(){
    return customerId;
    public DBConfigBean getDBConfigBean(){
    return dbConfigBean;
    * Returns true if both keys are equal.
    public boolean equals(Object key) {
    if(key instanceof CustomerEJBKey)
    return this.customerId.equals(((CustomerEJBKey)key).customerId) &&
    this.dbConfigBean.equals(((CustomerEJBKey)key).dbConfigBean);
    else
    return false;
    * Returns the hash code for the key.
    public int hashCode() {
    return customerId.hashCode() + dbConfigBean.hashCode();
    and entity bean method invocation is,
    homeFactory = EJBHomeFactory.getInstance();
    home = (CustomerEJBHome) homeFactory.lookup(CustomerEJBHome.class);
    remote = (CustomerEJB) PortableRemoteObject.narrow( home.findByPrimaryKey(new CustomerEJBKey(customerId,dbBean)), CustomerEJB.class);
    This works fine in Websphere and JBoss. Do you have any idea why I am getting this exception?
    Appreciate your response.
    Regards,
    Sankar.

    My suggestion is to put some System.out.println() statements and see if the output helps in any way in debugging. I can't think of anything on the top of my head although I have been working lightly on SunONE.
    By the way, you referred the stateless bean as CMP. Just wanted to tell you that you are wrong. The terms CMP and BMP refer to persistence, which is applied to Database tables and not to stateless/stateful session beans which are written for some specific purpose independent of underlying database.

  • PLEASE HELP!  Problems creating Entity Bean

    Hello,
    I've created an Application Client in order to access an Entity Beans via a Session Bean. Whilst creating the "Language"-Bean via the Remote Object the size of the error log is growing very fast (in a few minutes up to 500 MB) and the SUN minor code 1015 is thrown.
    Does anyone know what to do? I've spent now nearly 2 days in order to solve the problem and I'm really despaired.
    Thanks in advance.
    Beate
    The Session Bean contains the following code:
    try {
    javax.naming.Context jndiContext = new InitialContext();
    LanguageHome languageHome = (LanguageHome) jndiContext.lookup (LANGUAGE_JNDI);
    LanguageRemote languageRemote = languageHome.create(languageHashtable);
    catch (NamingException ne) {
    System.out.println("in NamingException in createLanguage");
    throw new CreateException(ne.toString());
    catch(RemoteException re){
    System.out.println("in RemoteException in createLanguage");
    throw new CreateException(re.toString());
    The error log contains the following error text:
    org.omg.CORBA.OBJ_ADAPTER: vmcid: SUN minor code: 1015 completed: No
         at com.sun.corba.ee.internal.POA.GenericPOAServerSC.preinvoke(GenericPOAServerSC.java:352)
         at com.sun.corba.ee.internal.POA.ServantCachePOAClientSC.initServant(ServantCachePOAClientSC.java:100)
         at com.sun.corba.ee.internal.POA.ServantCachePOAClientSC.unmarshal(ServantCachePOAClientSC.java:91)
         at com.sun.corba.ee.internal.POA.POAImpl.makeObjectReference(POAImpl.java:998)
         at com.sun.corba.ee.internal.POA.POAImpl.createReference(POAImpl.java:1008)
         at com.sun.corba.ee.internal.POA.POAImpl.create_reference_with_id(POAImpl.java:1061)
         at com.sun.enterprise.iiop.POAProtocolMgr.createReference(POAProtocolMgr.java:296)
         at com.sun.ejb.containers.EntityContainer.internalGetEJBObject(EntityContainer.java:1197)
         at com.sun.ejb.containers.EntityContainer.getEJBObject(EntityContainer.java:171)
         at com.sun.ejb.containers.ContainerFactoryImpl.getTargetObject(ContainerFactoryImpl.java:176)

    Hello,
    I found the problem. My Primarykey class had a corrupt "equals" function. I used "==" for a String comparison instead of "equals()". This caused an endless loop.
    Thanks.
    Beate

  • About entity bean

    HI, does entity bean exsit in CE7.1 SR5? I can not find it.

    Snehal,
    Not quite correct. EJB 3.0 still supports entity beans, they are not removed and not even officially "deprecated". But you're right to some extent - JPA is now the preferred and recommended persistence technology for Java EE (and also Java SE).
    BTW: No JEE - it's Java EE
    Cheers,
    Vladimir

  • Some problem about integrated ITS 640

    How to change Webgui theme in integrated ITS 640
    Dear all ,
    My system is ECC5,the Package level it SAPKGPRC05,SAPKB64015,SAPKA64015,SAPKH500010.
    now, I configure  integrated ITS with T-code SICF .
    I create a external aliases "/sap/bc/gui/sap/its/webgui" ,aAfter that I can connect to the
    ITS with the following URLs:
    http://<AppServer><domain>:<port>//sap/bc/gui/sap/its/webgui
    But now ,I have some problem cannot solve as follow:
    1 When I logon ITS, the default language is English ,only English and Genman may be
    selected,The requirement is that I want to use other language as the default logon language.
    When I on the pop-up dialog box "Change External Alias" tab " Service data" ,"Anymous Logon
    Data "select a Language "Chinese",the system pop-up a message box show "code page not
    supported".how can i configure the default logon language ?
    2 I hope use "https"-- Security Reqiurements ,as a security link ,so I selected "SSL",aAfter
    that I can connect to the ITS with the following URLs:
    https://<AppServer><domain>:<port>//sap/bc/gui/sap/its/webgui
    IE show cannot find the web system .
    And use the following urls:
    http://<AppServer><domain>:<port>//sap/bc/gui/sap/its/webgui
    only show the logon page and notice the error "Logon not possible; none of the active logon
    procedures is possible"
    and how can I configure the "https" ? and must configure with se38 "W3_PUBLISH_SERVICES"
    program together ,if like that ,i must republish all of the component again ?
    3 I hope change the webgui theme , in ITS620 have theme 00,90 ,99 .and we can select
    "EnjoySAP". but in integrated ITS 640 , i donot know where to find the its admin page to
    setup the theme . can you tell me how can i find the admin page to setup the theme .
    thanks all ,hope your reply !
    Message was edited by:
            Benson Lu

    Hi,
    Hope this Information is useful.
    The SAP Integrated ITS only supports the new "Tradeshow" design (unlike the "standalone" ITS which also supports the well-known EnjoySAP design). The new design is more easily incorporated into the Enterprise Portal and is better adapted to the design of other SAP Web UI technologies (BSP, WebDynpro).
    There are also changes to the header area in SAP integrated ITS in Tradeshow: The menu bar and standard toolbar functions are collected on either side of the transaction code field in the buttons "Menu" (on the left) and "System" (on the right). The application toolbar elements are then displayed to the right. Instead of symbols, the system displays the text description. If there is insufficient space to display all buttons, you can display the other elements by choosing the "More" button to the right of the screen.
    Exceptions:
    In Release 6.40 (NetWeaver 2004) , the new design is only available for the Internet Explorer. As of Release 7.00 (NetWeaver 2004s), it is also available for Firefox and Mozilla Browser. For this reason, the Enjoy design continues to be supported for Mozilla and Firefox in Release 6.40 (but only for these browsers, and even then only for this design, and not Tradeshow).
    Furthermore, in Release 6.40, there are some Internet Application Components (that is, Web applications that build on the ITS), which continue to be displayed with the "Enjoy" design. Of course, the "Enjoy" design continues to be supported for these applications.
    You can use SITSPMON Transaction  to monitor the integrated ITS.
    Thanks,
    Tanuj

  • Some problems about ALV

    hi everyone:
      I have a problem about ALV. The question is I want to show two headers in the gt_item .(Hierachy)
    I want to use these  in the event "change_fieldcatlog"
    LOOP AT I_FIELDCAT.
    CASE I_FIELDCAT-FIELDNAME
        WHEN 'MESSWERT'.
         I_FIELDCAT-ROW_POS = 1.
         I_FIELDCAT-SEL_L = '1111'.
         I_FIELDCAT-SEL_M = '1111'.
         I_FIELDCAT-SEL_S = '1111'.
        APPEND I_FIELDCAT.
    so I want to add another label in the next row. but I write like this below , it doesn't work .
         I_FIELDCAT-ROW_POS = 2
         I_FIELDCAT-SEL_L = text-004.
         I_FIELDCAT-SEL_M = text-004.
         I_FIELDCAT-SEL_S = text-004.
        APPEND I_FIELDCAT
    ENDCASE.
    ENDLOOP.
    So who can help me ?
    thank you in advacne .
    Regards
    Nick

    Hii Nick, in your program I found that you have created only one fieldcat structure, actually we need 2 structures one is for workarea and one for body.
    like this
    It_Fieldcat type SLIS_T_FIELDCAT_ALV
    Is_Fieldcat type SLIS_FIELDCAT_ALV
    now you can write the code
    LOOP AT It_FIELDCAT into Is_Fieldcat.
    CASE Is_FIELDCAT-FIELDNAME
    WHEN 'MESSWERT'.
    Is_FIELDCAT-ROW_POS = 1.
    Is_FIELDCAT-SEL_L = '1111'.
    Is_FIELDCAT-SEL_M = '1111'.
    Is_FIELDCAT-SEL_S = '1111'.
    APPEND Is_FIELDCAT to It_Fieldcat.
    clear Is_Fieldcat.
    Is_FIELDCAT-ROW_POS = 2
    Is_FIELDCAT-SEL_L = text-004.
    Is_FIELDCAT-SEL_M = text-004.
    Is_FIELDCAT-SEL_S = text-004.
    APPEND Is_FIELDCAT to It_Fieldcat.
    Clear Is_Fieldcat.
    Hope it will works.
    Reward points if helpful.

  • I have some problem about wifi sync with iOS5

    Hi~everbody~
    I have some problem with wifi sync, and still don't know how to resolve it. Please Help Me~
    First,I using Windows 7 64-bit, the latest iTunes 10.5, and iPod touch 4 with 5.0(9A334), and of course a WIFI AP in my room.
    Here is my major problem:
    When I setted up enable wifi sync in iTunes summary, the iTunes had identified my iPod and show at left side in iTunes,
    even when I unplug  my iPod touch 4 from my computer, the iTunes still shows there.
    But after one day when I came home, I opened the iTunes want do a wireless sync, but the iTunes did not found my machine.
    I have tried restart computer, restart WIFI AP, disable anti-virus software, close MSN, close teamviewer, and any software may caused some unstable network issue between iTunes and iPod touch 4, but when I done these whole things, the iTunes still not found my iPod.
    So I want to know do Wifi Sync needs any specific net port ? like 80 port or some port else?
    Wish there are somebody can help me fix this, very appreciate.
    BTW: Even iTunes did not found my iPod touch 4, but I can still using "Remote App" to control iTunes music play, so I really confuse why it just can't do wifi sync ?

    This error has got nothing to do with rmi.
    The StackOverflowError means the Java VM stack is filled up. The
    stack is used for keeping track of method calls. An easy way to
    produce a StackOverFlowErrer is the following code:
    class Test {
    public static void main(String[] args) {
    a();
    static void a() {
    a();
    So if you call method a() within the same method, the stack
    fills up quickly.

  • Need help about entity bean relationshi

    I have two entity bean,userBean(userid,username,password,email)and subscriptionBean(email,subtopic).so email column is FK,right?
    but both email,subtopic fields in subscriptionBean are NOT set to be unique,i mean there should be many same email address with difference subtopic subscriptions.
    so NO primaryKey in my second entity bean.is it OK?

    Hello,
    Your EJB MUST have a primary key !, so add a field ( maybe subscriptionId) to you bean which will be unique.
    Regards,
    Sebastien Degardin.

Maybe you are looking for

  • How do i update my old MacBook to the latest version?

    Hi! I have a really old MacBook from like 2008/2009 and I haven't used it for a long time, and now i need to update it because I can't download anything. Now i have mac os x 10.5.8 and I need the latest version. Please help me! How do I do?

  • Displayport to Mini Displayport in?

    Hi everyone, I'm currently using a 27" iMac from late 2009, and I've gathered from multiple threads/posts/bits and pieces of information that the 27" iMac can function as a stand alone monitor in target mode. At the same time, I'm considering buildin

  • Business Area vs. Profit Center Accounting

    Hi all, I have a doubt regarding this issue. Our customer is a holding composed by 3 legal entities, each one with its own Balance Sheet. The company produces in such a way that they need to plan production and purchases globally (for the 3 legal ent

  • Report RPTARQPOST keeps increasing in the time it takes to run

    Hi Since we have implemented Leave Requestes using ESS/MSS this report has increased from taking 300 seconds to run to taking 1000 seconds currently. I need advices as to what can be causing this report to increase its running time? Any advice will b

  • Changes in Approved PO

    Hi Guys, I have approved PO. I want make some changes in the PO, Is it possible?? Regards, Jackie