Mutual referenced for relationships and Java GC

Hi,
I apologize for so many questions in such a short period
of time, but I am new to the TopLink product and just
starting to accumulate experience. Hopefully in not so
distant future I will start giving some of the knowledge
back to the community :-)
My question is about mutual references, which seem to be
the preferred way of TopLink for managing relationships
between objects.
For instance, in the A -> 1-M B relationship it is recommended to have a reference to A as a member of B.
This reference may or may not be wrapped in a
ValueHolderInterface, but regardless of that it
creates a mutual reference (i.e. A references B, B references A).
Does it not create problems for Java GC when it's
time to clean up unused objects? Are there any
recommended strategies for dealing with that sort of issue.
Thanks a lot in adance for any insights,
Tony.

Garbage collectors are pretty smart these days, so it's not a big deal. Your hunch is correct though, the old "reference count" garbage collection strategies of older JVM's would have made it difficult to clean bi-directional relationships.
- Don

Similar Messages

  • HT5243 how do I find my password for adobe and Java

    how do I find my password for adobe and Java

    "Java" doesn't have a password, unless you mean your admin password for installing software. That's whatever password you (or the person who set your computer up) used to set up your admin account. That's the same password that you use when you start up the computer if you get asked for one. You cannot retrieve this password if you've forgotten it, but you can reset it and make a new one. See this support article if that's the case:
    http://support.apple.com/kb/PH14325
    "Adobe" is a company and likewise doesn't have a password. However, if you have Adobe cloud-based software you may well have set up a password with them. Adobe also require an account and password for downloading certain products. You'll need to contact Adobe to retrieve any such password if you've lost it.
    Try
    Adobe ID, sign-in, and account help

  • RESOURCE_NOT_FOUND for XSLT and Java Mappings (SXMB_MONI)

    Experts,
    I need your opinion / experience about a problem that we have been facing here:
    XI 3.0 was upgraded to PI 7.0, but since then all interfaces that uses XSLT and Java Mappings throws a RESOURCE_NOT_FOUND error in SXMB_MONI only in the production environment.
    We found SAP Note 951318 that describes exactly the scenario we have here. The note also inform that the issue is solved at SP 07 (for PI 7.0).
    The problem is that we find out that abap and java instance are with different SP ( SP 13 for abap and SP 09 for java) after XI upgrade to 7.0, since they had a error at java instance.
    Have anyone of you facing with this problem?
    I believe that even having a SP greater than 07 (as sap note 951318 requires), as we have an difference between abap and java SP, this issue might have been causing the problem.
    Points will be given.
    Regards,
    Daniela

    Yes, thats true. As you can see,
    In XI 3.0 (SAP Netweaver'04), the issue is solved in:
               SP 18,
               SP 17, patch 1 (archive SAPXITOOL17_1. sca for XI Tools)
               SP 16, patch 4 (archive SAPXITOOL16_4.sca for XI Tools).
    you need to import and put a patch if you are using XI 3.0. but in your case it is PI 7.0.
    So please check out the SAP Note : 950608 and download SP 07,patch 2 (archive SAPXITOOL07_2.sca for XI Tools).and Note 952402 .
    Regards
    Aashish Sinha
    PS : reward points if helpful

  • Time out parameters for ABAP and JAVA instance

    Hello All,
    We are looking for Time out parameters for our ABAP and JAVA instances.
    As users are complaining that they are getting time out error
    while they are trying to access Cprojects from Portal.
    I was able to check/collect the ABAP instance parameters from SMICM Tcode.
    Can anybody tell me which parameters we need to look for JAVA instance.
    Thanks in advance.
    Regards,
    Amber S

    jstart/shutdownTimeout
    (jstartup/shutdown_timeout)
    Specifies the shutdown timeout, i.e. the grace period for the AS Java instance to shut down before the Java process terminates itself.  Unt is in Seconds. Default is 120
    j2ee/ms/connectTimeout
    (jstartup/wait_for_scs)
    Specifies the timeout for the first connection to the message server. The AS Java instance fails to start if this timeout expires.Unt is in Seconds.Default is  60
    j2ee/ms/reconnectTimeout
    (jstartup/wait_for_reconnect)
    Specifies the timeout for the reconnecting to the message server.The AS Java instance shuts down when this timeout expires.Unt is inSeconds.Default is  3600 (one hour)
    Thanks

  • Links for ABAP and JAVA Admin + Troubleshooting

    Hi Gurus,
    Can anyone send me the useful links for Admin + Troubleshooting in SAP BASIS i.e. ABAP and JAVA ?
    Also, which are the Routing Maintenance Tasks in SAP BASIS ?
    Any / All help is most welcome and would be rewarded with suitable points.
    Many Thanks in Advance ,
    Regards,
    - Ishan

    Hello Balaji,
    Yes, you can connect the JAVA user adminsitration with the Single CUA.
    Make use of the JAVA UME feature for this.
    http://help.sap.com/saphelp_nw04/helpdata/en/49/9dd53f779c4e21e10000000a1550b0/content.htm
    Regards,
    Ammey Kesarkar

  • Individual business system for ABAP and Java Stack

    Hi All,
    I need to send message from a system to XI via ABAP proxy and Java proxy. The sender's ABAP and Java proxy use the same message interface to communicate with XI. Should I create one business system for the ABAP stack and one for Java stack of the sender system?
    Thanks + Best Regards
    Jerome

    Are you sending same message type from ABAP proxy and Java Proxy to XI?
    If you have ABAP proxy, why do you need Java Proxy? Actually you cannot create any Java proxies on ABAP bases systems. What kind of system sender is? Java proxies are created for pure Java based applications.
    Let me know if I didnt understand your question correctly. If so, please explain in detail why you need both proxies and what is your sender application.
    --Archana

  • CUA for ABAP and JAVA Systems

    i have a AS-ABAP System and AS-JAVA system.
    Can i have a single CUA for AS-ABAP system and aS-JAVA system or i should have seperate CUA for ABAP and JAVA

    Hello Balaji,
    Yes, you can connect the JAVA user adminsitration with the Single CUA.
    Make use of the JAVA UME feature for this.
    http://help.sap.com/saphelp_nw04/helpdata/en/49/9dd53f779c4e21e10000000a1550b0/content.htm
    Regards,
    Ammey Kesarkar

  • 4.6C to ERP6.0 Upgrade - what are the recommendations for Unicode and Java

    Hi All,
    Forgive such a basic question.
    We are just beginning to look at our ERP6.0 upgrade and am unclear whether we should convert to unicode at the same time, and also what are the uses for the Java stack.
    Unicode?
    We are a single language Latin-1 site so don't need Unicode. However will it become mandatory eventually? Are we better, if we have the opportunity now, just to convert. Also I believe the Java stack is only Unicode. Does ASCII ABAP and Java Unicode complicate things?
    Java?
    Will we need it? We are proposing a technical upgrade from our 4.6c Javaless environment. Where does Java come in to play in ERP6.0? Doesn't it increase greatly the iSeries HW requirements? (I'm looking at a 2 way 550 at the moment)
    Look forward to hearing your views.
    Regards
    Steve

    Hi Stephen,
    at the moment, in a latin-1 environment Unicode is for old customers not a requrirement. This might change in 5-10 years ...
    Java: No problem at all with ASCII (in latin-1 environments)
    => there is no need for you, but you could go for it. We did several Unicode conversions already and these Latin-1 conversions are pretty easy and simple especially on iSeries, because of the special InPlace Unicode Conversion.
    ... but this can be done at any time ...
    Regards
    Volker Gueldenpfennig, consolut.gmbh
    http://www.consolut.de - http://www.4soi.de - http://www.easymarketplace.de

  • I can not get the plug ins to work for Adobe and Java

    When I try to upgrade Adobe Shockwave and Java I am directed to "http://helpx.adobe.com/security/products/flash-player/apsb13-28.html" I am on a mac os 10.7.5.

    For Mac and Windows users there is two version options. You only need one.
    16.0.0.235 and 13.0.0.259 ESR.
    https://www.adobe.com/products/flashplayer/distribution3.html

  • Money for self and Java

    What about Java and sharaware market? OK or incompatible?
    Does someone knows (or has itself) a successfull java shareware application project?
    I mean about million downloads and thousends of customers.

    Thanks nasch.
    As I saw on download.com there are no java-application with more then 70000 downloads (except 2 application for java developers - java-tips and java gui builder). All them have quite low user rating, and I can't imagine that one can pick up good money in a such way. Is it true?
    Only 2 million downloads of JRE - so seems no too much users avalable. What about http://www.javashareware.com/ they never show download index, don't they?

  • Can we have same system Id for ABAP and JAVA in CRM 7.0 ?

    Hi,
    After installing CRM 7.0 ABAP, I want to install CRM7.0 Java using same system id as of ABAP. Is it possible ?
    Regards,
    Vivek Gaur

    Well I found the solution for it.  It looks more of a bug in sapinst that it doesn't allow to change userid !
    All you need is to to create users ora<sid> and <sid>adm before running it and assign the required groups to them and it would work fine
    Thanks Markus for you keen interest in my issue
    Regards,
    Vivek Gaur

  • Flash Builder 4.0 Standalone VS Plugin for Flex and Java Development

    Hello,
    I have recently installed Flash Builder 4.0 for a personal project. The server side of the project was going to be developed in ASP.NET but at the last minute I decided to change it to Java. However now I am wondering if it would be better to uninstall and install Eclipse with the Flash Builder 4.0 plugin.
    I am not really asking which one is better, I guess both are pretty much the same (though I wonder what features are not included in the Eclipse plugin), however I want to know which one would let me create an easier workflow model for the development now that I am going to use Java as well.
    I am open to other suggestions as well.
    Thanks,
    Jorge

    Hey guys, I'm brand new to this as well and you probably don't need an answer now but I found this anyway:
    Flex Builder and Flash Builder both function as Plug-ins to Eclipse, though each also comes in a "stand-alone" flavor - which is still eclipse, but with a lot of the Eclipse functionality torn out for a smaller footprint.
    http://stackoverflow.com/questions/1761919/flex-php-flash-builder-4-vs-eclipse
    All the best!

  • Compiling for Windows and Java

    Hi All
    This is a deff newbie question. Basically i have a program that will compile in Windows, but if I try and compile it in Linux (CentOS) then I get 48 errors all related to graphics of constructors.
    It was my understanding that Java was meant to be platform independent, or is that just a myth?
    Is there any way that i can resolve this, or find a tool that will show me what wont compile under linux and why?

    I have a
    program that will compile in Windows, but if I try
    and compile it in Linux (CentOS) then I get 48 errors
    all related to graphics of constructors. Difficult to say without the actual compiler messages.
    You may be missing some jar(s) in your classpath.

  • Google Chrome for Mac and Java question

    I am unable to upload pictures to costcophotocenter.com or play on-line java games using Google Chrome. OSX wants me to update java but I already have the latest update.
    Those same java sites work fine using other web browsers.
    Is there an known issue with Java and Google Chrome on a Mac?

    Apparently, it's a Chrome issue. Talk to them.

  • WebDynpro for ABAP Vs Java

    Hi all,
    I have recently  started learning Web Dynpro for ABAP.
    I have worked in WebDynpro for Java.
    1)I wanted to understand pros and cons of WebDynpro for   ABAP and Java.
    2)What are the functionality that are available in Web Dynpro for Java but not in Web Dynpro for ABAP.
    3)What should be preferred when considering performance issues - WD for ABAP of Java?
    Any Web Log or Link in this context will be helpful.
    Thanks a lot,
    Rashmi

    Hi,
    OOPs ABAP uses Classes and Interfaces which uses Methods and events.
    If you have Java skills it is advantage for you.
    There are Local classes as well as Global Classes.
    Local classes we can work in SE38 straight away.
    But mostly it is better to use the Global classes.
    Global Classes or Interfaces are to be created in SE24.
    SAP already given some predefined classes and Interfaces.
    This OOPS concepts very useful for writing BADI's also.
    So first create a class in SE 24.
    Define attributes, Methods for that class.
    Define parameters for that Method.
    You can define event handlers also to handle the messages.
    After creation in each method write the code.
    Methods are similar to ABAP PERFORM -FORM statements.
    After the creation of CLass and methods come to SE38 and create the program.
    In the program create a object type ref to that class and with the help of that Object call the methods of that Class and display the data.
    see the links below, Understand them and start developing.
    chk out the links below:
    General Tutorial for OOPS
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e8a1d690-0201-0010-b7ad-d9719a415907
    Have a look at these links for OO ABAP.
    http://www.sapgenie.com/abap/OO/
    http://help.sap.com/saphelp_nw04/helpdata/en/c3/225b5654f411d194a60000e8353423/content.htm
    http://www.esnips.com/doc/375fff1b-5a62-444d-8ec1-55508c308b17/prefinalppt.ppt
    http://www.esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
    http://www.esnips.com/doc/5c65b0dd-eddf-4512-8e32-ecd26735f0f2/prefinalppt.ppt
    http://www.allsaplinks.com/
    http://www.sapgenie.com/abap/controls/index.htm
    http://www.esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
    http://www.esnips.com/doc/0ef39d4b-586a-4637-abbb-e4f69d2d9307/SAP-CONTROLS-WORKSHOP.pdf
    http://help.sap.com/saphelp_erp2005/helpdata/en/ce/b518b6513611d194a50000e8353423/frameset.htm
    SDN Series:
    https://www.sdn.sap.com/irj/sdn/developerareas/abap?rid=/webcontent/uuid/35eaef9c-0b01-0010-dd8b-e3b0f9ed7ccb [original link is broken]
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCABA/BCABA.pdf
    Basic concepts of OOPS
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b6cae890-0201-0010-ef8b-f970a9c41d47
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1591ec90-0201-0010-3ba8-cdcd500b17cf
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap%20code%20samples/alv%20grid/abap%20code%20sample%20to%20display%20data%20in%20alv%20grid%20using%20object%20oriented%20programming.doc
    http://www.henrikfrank.dk/abapuk.html
    http://www.erpgenie.com/abap/OO/
    OOPS in ABAP
    oops consept in abap
    ABAP with OOPS
    http://www.abap4.it/download/ALV.pdf
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e8a1d690-0201-0010-b7ad-d9719a415907
    http://www.erpgenie.com/abap/controls/alvgrid.htm
    OOPS with ABAP
    https://www.sdn.sap.com/irj/sdn/wiki?path=/pages/viewpage.action&pageid=37566
    /people/rich.heilman2/blog/2005/07/27/dynamic-internal-tables-and-structures--abap
    http://www.sapgenie.com/abap/OO/
    Regards
    Srinivas.K
    Message was edited by:
            Armin Reichert

Maybe you are looking for

  • Maps is not working properly anymore

    I am using iPad2 with iOS6 and since a few days Maps is not working properly anymore

  • Windows boots but won't load (Black screen with cursor)

    [Sorry for the long post, but I feel the need to fully explain my situation] I have the following problem: I turn on my PC, and Windows shows it's normal loading screen, after which it goes into a completely black screen, with just the mouse in the m

  • Column display all values

    I have a report that display's sales totals for a particular year and quarter. I have the report in a pivot table where the year and quarter are above the sales total. Therefore, 2009 1 is over a $50,000 sales total. However, if there is only one rec

  • Error in flat file reconciliation in oim11g on linux.

    Hi all, i am getting following exception in flat file reconciliation of oim 11g on linux machine. Any one please help me out from this error . *<Apr 19, 2011 12:29:26 PM EDT> <Error> <XELLERATE.WEBAPP> <BEA-000000> <Class/Method: CreateConnectorActio

  • How to set a string field with people picker control group

    Hi Guys I have a problem with a form list, when I need to set a string field with de content of people picker control that have more than one "user". Is there any way to put in string a list of user like the people picker control shows in a form? The