Maintaining object to dialog relationship in core java

Hi,
How do i maintain an instance of an object?
If there is a object whose method calls a dialog box on some processing.
Now when i recreate the same object using new operator, a fresh object is created.
The existing dialog and the newly created object do not have any relationship.
I want to somehow maintain the dialog to object relationship irrespective how many times object is created.
P.N: the dialog is once created at beginning and cannot be created each time object is created.
Thanks.

Note: This thread was originally posted in the [Collections: Lists, Sets, and Maps|http://forums.sun.com/forum.jspa?forumID=24] forum, but moved to this forum for closer topic alignment.

Similar Messages

  • No metadata found for metadata object "/oracle/apps/hcm/common/core/publicM

    Hi Folks -
    I am getting the below error when I try to run the HcmCompWorkbenchWorkarea.jspx in the Fusion COmpensation Module, locally from the JDeveloper Customization Role.
    I simply created a FUsion Customization APplication with a Customization,Model and View COntroller Projects without doing any customizations and was just trying to run the above page.
    I have never encountered this type of error before. Any help would be helpful.
    Thanks
    Srinivasa Sunchu
    Target URL -- http://127.0.0.1:7101/hcmCompensation/faces/HcmCompWorkbenchWorkarea
    [9544:5676:0523/110814:ERROR:gpu_info_collector_win.cc(98)] Can't retrieve a valid WinSAT assessment.
    <IdentityStoreUtil> <getIdentityStoreFactory> Cannot initialize identity store, cause: javax.naming.NameNotFoundException: [LDAP: error code 32 - LDAP Error 32 : No Such Object]; remaining name 'cn=common, cn=products, cn=oraclecontext'.
    <IdentityStoreUtil> <getIdentityStoreFactory> Cannot initialize identity store, cause: javax.naming.NameNotFoundException: [LDAP: error code 32 - LDAP Error 32 : No Such Object]; remaining name 'cn=common, cn=products, cn=oraclecontext'.
    <ReferenceStoreHelper> <getReferencesMapEx> Incomplete connection reference object for connection:AtkRPSoapConn
    <May 23, 2013 11:08:19 AM PDT> <Warning> <Socket> <BEA-000449> <Closing socket as no data read from it on 127.0.0.1:51,427 during the configured idle timeout of 5 secs>
    PSR: Reading system property VOMaxFetchSize
    <IdentityStoreUtil> <getIdentityStoreFactory> Cannot initialize identity store, cause: javax.naming.NameNotFoundException: [LDAP: error code 32 - LDAP Error 32 : No Such Object]; remaining name 'cn=common, cn=products, cn=oraclecontext'.
    <IdentityStoreUtil> <getIdentityStoreFactory> Cannot initialize identity store, cause: javax.naming.NameNotFoundException: [LDAP: error code 32 - LDAP Error 32 : No Such Object]; remaining name 'cn=common, cn=products, cn=oraclecontext'.
    <IdentityStoreUtil> <getIdentityStoreFactory> Cannot initialize identity store, cause: javax.naming.NameNotFoundException: [LDAP: error code 32 - LDAP Error 32 : No Such Object]; remaining name 'cn=common, cn=products, cn=oraclecontext'.
    <IdentityStoreUtil> <getIdentityStoreFactory> Cannot initialize identity store, cause: javax.naming.NameNotFoundException: [LDAP: error code 32 - LDAP Error 32 : No Such Object]; remaining name 'cn=common, cn=products, cn=oraclecontext'.
    <IdentityStoreUtil> <getIdentityStoreFactory> Cannot initialize identity store, cause: javax.naming.NameNotFoundException: [LDAP: error code 32 - LDAP Error 32 : No Such Object]; remaining name 'cn=common, cn=products, cn=oraclecontext'.
    <IdentityStoreUtil> <getIdentityStoreFactory> Cannot initialize identity store, cause: javax.naming.NameNotFoundException: [LDAP: error code 32 - LDAP Error 32 : No Such Object]; remaining name 'cn=common, cn=products, cn=oraclecontext'.
    <May 23, 2013 11:08:39 AM PDT> <Error> <HTTP> <BEA-101017> <[ServletContext@1028995650[app:XXWFCAllocationAnalytics module:hcmCompensation path:/hcmCompensation spec-version:2.5 version:V2.0], request: weblogic.servlet.internal.ServletRequestImpl@425c22f8[
    GET /hcmCompensation/faces/HcmCompWorkbenchWorkarea?_afrLoop=10188581450556&_afrWindowMode=0&_afrWindowId=null HTTP/1.1
    Connection: keep-alive
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.93 Safari/537.36
    Referer: http://127.0.0.1:7101/hcmCompensation/faces/HcmCompWorkbenchWorkarea
    Accept-Encoding: gzip,deflate,sdch
    Accept-Language: en-US,en;q=0.8
    Cookie: JSESSIONID=W2yXRpbPSyQKgf59Vh8Kym62WBK7t34lH4yTvJzZ03swB1pLsm3b!-1548472823; ORA_FUSION_PREFS=v1.0~bG9jYWxlPWVufmRlZmF1bHRMYW5ndWFnZU1hcmtlcj10cnVl; ORA_FND_SESSION_HRDEV=DEFAULT_PILLAR:iWB1vrLNEeUh5Hk7IlYFujwb4JU13XEsl/YsTcvZn1XtTMc1dx574a56Roc0fPzh:1369332516423
    ]] Root cause of ServletException.
    oracle.jbo.NoDefException: JBO-29114 ADFContext is not setup to process messages for this exception. Use the exception stack trace and error code to investigate the root cause of this exception. Root cause error code is JBO-25002. Error message parameters are {0=null, 1=oracle.apps.hcm.common.core.publicModel.DataControls}
         at oracle.jbo.mom.DefinitionManager.findDefObjectUsingMetadataObject(DefinitionManager.java:3056)
         at oracle.adf.model.binding.DCDataControlConfigDef.findDefObject(DCDataControlConfigDef.java:32)
         at oracle.adf.model.binding.DCDataControlDef.findDefObject(DCDataControlDef.java:377)
         at oracle.adf.model.binding.DCDataControlReference.<init>(DCDataControlReference.java:55)
         at oracle.jbo.uicli.mom.JUApplicationDefImpl.loadDataControlUsage(JUApplicationDefImpl.java:1137)
         Truncated. see log file for complete stacktrace
    Caused By: oracle.mds.core.MetadataNotFoundException: MDS-00013: no metadata found for metadata object "/oracle/apps/hcm/common/core/publicModel/DataControls.dcx"
         at oracle.mds.core.MetadataObject.getBaseMO(MetadataObject.java:1336)
         at oracle.mds.core.MDSSession.getBaseMO(MDSSession.java:3248)
         at oracle.mds.core.MDSSession.getMetadataObject(MDSSession.java:1211)
         at oracle.mds.core.MDSSession.getMetadataObject(MDSSession.java:1157)
         at oracle.jbo.mom.DefinitionManager.findDefObjectUsingMetadataObject(DefinitionManager.java:3012)
         Truncated. see log file for complete stacktrace
    >
    <May 23, 2013 11:08:39 AM PDT> <Notice> <Diagnostics> <BEA-320068> <Watch 'UncheckedException' with severity 'Notice' on server 'DefaultServer' has triggered at May 23, 2013 11:08:39 AM PDT. Notification details:
    WatchRuleType: Log
    WatchRule: (SEVERITY = 'Error') AND ((MSGID = 'WL-101020') OR (MSGID = 'WL-101017') OR (MSGID = 'WL-000802') OR (MSGID = 'BEA-101020') OR (MSGID = 'BEA-101017') OR (MSGID = 'BEA-000802'))
    WatchData: DATE = May 23, 2013 11:08:39 AM PDT SERVER = DefaultServer MESSAGE = [ServletContext@1028995650[app:XXWFCAllocationAnalytics module:hcmCompensation path:/hcmCompensation spec-version:2.5 version:V2.0], request: weblogic.servlet.internal.ServletRequestImpl@425c22f8[
    GET /hcmCompensation/faces/HcmCompWorkbenchWorkarea?_afrLoop=10188581450556&_afrWindowMode=0&_afrWindowId=null HTTP/1.1
    Connection: keep-alive
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.93 Safari/537.36
    Referer: http://127.0.0.1:7101/hcmCompensation/faces/HcmCompWorkbenchWorkarea
    Accept-Encoding: gzip,deflate,sdch
    Accept-Language: en-US,en;q=0.8
    Cookie: JSESSIONID=W2yXRpbPSyQKgf59Vh8Kym62WBK7t34lH4yTvJzZ03swB1pLsm3b!-1548472823; ORA_FUSION_PREFS=v1.0~bG9jYWxlPWVufmRlZmF1bHRMYW5ndWFnZU1hcmtlcj10cnVl; ORA_FND_SESSION_HRDEV=DEFAULT_PILLAR:iWB1vrLNEeUh5Hk7IlYFujwb4JU13XEsl/YsTcvZn1XtTMc1dx574a56Roc0fPzh:1369332516423
    ]] Root cause of ServletException.
    oracle.jbo.NoDefException: JBO-29114 ADFContext is not setup to process messages for this exception. Use the exception stack trace and error code to investigate the root cause of this exception. Root cause error code is JBO-25002. Error message parameters are {0=null, 1=oracle.apps.hcm.common.core.publicModel.DataControls}
         at oracle.jbo.mom.DefinitionManager.findDefObjectUsingMetadataObject(DefinitionManager.java:3056)
         at oracle.adf.model.binding.DCDataControlConfigDef.findDefObject(DCDataControlConfigDef.java:32)
         at oracle.adf.model.binding.DCDataControlDef.findDefObject(DCDataControlDef.java:377)
         at oracle.adf.model.binding.DCDataControlReference.<init>(DCDataControlReference.java:55)
         at oracle.jbo.uicli.mom.JUApplicationDefImpl.loadDataControlUsage(JUApplicationDefImpl.java:1137)
         at oracle.jbo.uicli.mom.JUApplicationDefImpl.loadDataControls(JUApplicationDefImpl.java:1097)
         at oracle.jbo.uicli.mom.JUApplicationDefImpl.loadContainees(JUApplicationDefImpl.java:1051)
         at oracle.jbo.mom.ContainerDefImpl.loadFromXMLFile(ContainerDefImpl.java:373)
         at oracle.jbo.uicli.mom.JUApplicationDefImpl.loadFromXMLFile(JUApplicationDefImpl.java:705)
         at oracle.jbo.mom.DefinitionManager.loadProjectDefinition(DefinitionManager.java:1789)
         at oracle.jbo.mom.DefinitionManager.loadProjectDefinition(DefinitionManager.java:1881)
         at oracle.jbo.uicli.mom.JUMetaObjectManager.findCpx(JUMetaObjectManager.java:647)
         at oracle.jbo.uicli.mom.JUApplicationReference.resolve(JUApplicationReference.java:81)
         at oracle.jbo.uicli.mom.JUApplicationReference.getDef(JUApplicationReference.java:88)
         at oracle.jbo.uicli.mom.JUApplicationDefImpl.findBindingContainerIdByPath(JUApplicationDefImpl.java:374)
         at oracle.adf.model.BindingContext.findBindingContainerIdByPath(BindingContext.java:1769)
         at oracle.adf.model.BindingContext.findBindingContainerDefByPath(BindingContext.java:1715)
         at oracle.adf.model.BindingRequestHandler.isPageViewable(BindingRequestHandler.java:371)
         at oracle.adf.model.BindingRequestHandler.beginRequest(BindingRequestHandler.java:260)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:203)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:128)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.apps.fnd.applcore.common.ApplSessionFilter.doFilter(ApplSessionFilter.java:652)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.wcps.client.PersonalizationFilter.doFilter(PersonalizationFilter.java:75)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.webcenter.content.integration.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:168)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.bpel.services.workflow.client.worklist.util.WorkflowFilter.doFilter(WorkflowFilter.java:248)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused By: oracle.mds.core.MetadataNotFoundException: MDS-00013: no metadata found for metadata object "/oracle/apps/hcm/common/core/publicModel/DataControls.dcx"
         at oracle.mds.core.MetadataObject.getBaseMO(MetadataObject.java:1336)
         at oracle.mds.core.MDSSession.getBaseMO(MDSSession.java:3248)
         at oracle.mds.core.MDSSession.getMetadataObject(MDSSession.java:1211)
         at oracle.mds.core.MDSSession.getMetadataObject(MDSSession.java:1157)
         at oracle.jbo.mom.DefinitionManager.findDefObjectUsingMetadataObject(DefinitionManager.java:3012)
         at oracle.adf.model.binding.DCDataControlConfigDef.findDefObject(DCDataControlConfigDef.java:32)
         at oracle.adf.model.binding.DCDataControlDef.findDefObject(DCDataControlDef.java:377)
         at oracle.adf.model.binding.DCDataControlReference.<init>(DCDataControlReference.java:55)
         at oracle.jbo.uicli.mom.JUApplicationDefImpl.loadDataControlUsage(JUApplicationDefImpl.java:1137)
         at oracle.jbo.uicli.mom.JUApplicationDefImpl.loadDataControls(JUApplicationDefImpl.java:1097)
         at oracle.jbo.uicli.mom.JUApplicationDefImpl.loadContainees(JUApplicationDefImpl.java:1051)
         at oracle.jbo.mom.ContainerDefImpl.loadFromXMLFile(ContainerDefImpl.java:373)
         at oracle.jbo.uicli.mom.JUApplicationDefImpl.loadFromXMLFile(JUApplicationDefImpl.java:705)
         at oracle.jbo.mom.DefinitionManager.loadProjectDefinition(DefinitionManager.java:1789)
         at oracle.jbo.mom.DefinitionManager.loadProjectDefinition(DefinitionManager.java:1881)
         at oracle.jbo.uicli.mom.JUMetaObjectManager.findCpx(JUMetaObjectManager.java:647)
         at oracle.jbo.uicli.mom.JUApplicationReference.resolve(JUApplicationReference.java:81)
         at oracle.jbo.uicli.mom.JUApplicationReference.getDef(JUApplicationReference.java:88)
         at oracle.jbo.uicli.mom.JUApplicationDefImpl.findBindingContainerIdByPath(JUApplicationDefImpl.java:374)
         at oracle.adf.model.BindingContext.findBindingContainerIdByPath(BindingContext.java:1769)
         at oracle.adf.model.BindingContext.findBindingContainerDefByPath(BindingContext.java:1715)
         at oracle.adf.model.BindingRequestHandler.isPageViewable(BindingRequestHandler.java:371)
         at oracle.adf.model.BindingRequestHandler.beginRequest(BindingRequestHandler.java:260)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:203)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:128)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.apps.fnd.applcore.common.ApplSessionFilter.doFilter(ApplSessionFilter.java:652)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.wcps.client.PersonalizationFilter.doFilter(PersonalizationFilter.java:75)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.webcenter.content.integration.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:168)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.bpel.services.workflow.client.worklist.util.WorkflowFilter.doFilter(WorkflowFilter.java:248)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    SUBSYSTEM = HTTP USERID = <WLS Kernel> SEVERITY = Error THREAD = [ACTIVE] ExecuteThread: '20' for queue: 'weblogic.kernel.Default (self-tuning)' MSGID = BEA-101017 MACHINE = SSUNCHU-WS01 TXID = CONTEXTID = e8f08bf4136e20a7:3e596c4f:13ed286c9b9:-8000-0000000000000295 TIMESTAMP = 1369332519262
    WatchAlarmType: AutomaticReset
    WatchAlarmResetPeriod: 30000
    >
    <May 23, 2013 11:08:45 AM PDT> <Alert> <Diagnostics> <BEA-320016> <Creating diagnostic image in c:\oracle\jdeveloper\system11.1.1.6.39.62.68\defaultdomain\servers\defaultserver\adr\diag\ofm\defaultdomain\defaultserver\incident\incdir_41 with a lockout minute period of 1.>

    Thanks, that did help and it was throwing similar errors for other jar files, which I added and now the page opens.
    But the issue that I am facing now is on this page there is a Manager Search, wherein I can proxy a manager.
    This Search popup is not returning any values. Previously if I reinstalled my system-jazn-data.xml file from my colleauge
    and rebooting my laptop worked. But now even that doe snot help.
    Srinivasa Sunchu

  • Urgent please send code for this one ( write code by using core java)

    hi sir
    my question
    i am taking one square box .. and i divide that square in again four parts .. now i am placing one object in 1st box now i want to move that object to 2 box or third box... like that only if my object is in 1st box now i want to jump directly to 4th box
    i want that programing code the code will written BY USING CORE JAVA ONLY
    PLEASE HELP FOR THAT

    hi sirWhat if I'm a madam?
    i want that programing code Why did you post here asking for it?
    1) You are the Lead Architect at a world-class company and none of your staff of topnotch developers are able to handle this insidious task. You need to pull in outside resources for this noodler. You would use Dice, Monster, etc., but, by a freak coincidence, you happen to have had illicit trysts with the wives of several high-ranking executives in each of those companies, and as a result, have been blacklisted in perpetuity. You sought help here because you know that the denizens of this particular cyber-community are not only the best of the best of the best in the world of software development, we also happen--by yet another bizarre convergence of the unfahtomable Threads of Fate--to be the handsomest and best-endowed, dude-tube-wise. This is exactly what you need to distract your wife from your many concubines so you can continue with your plan for world dominance, which, of course, is but a small cog in the machina profunda that grinds unfailingly and inexorably toward your ultimate goal of the perfect tofu burrito.
    2) You are a lazy slimeball student who thinks it's acceptable to take credit for somebody else's work. You have no motivation, no ethics, and nothing to contribute to the society upon which you will become a bigger and more loathsome burden daily.

  • Need a good core java book

    As I am a beginer and I have a little bit knowledge of OOPs concepts, So any one suggest me a book which explains each concept of OOps with explanation and sufficent examples upto SWINGS and JDBC connections.

    * Horstmann, C. S. and Cornell, G. (2004). Core
    Java 2, Volume I� Fundamentals, 7th edition.
    Upper Saddle River: Prentice Hall PTR.
    * Horstmann, C. S. and Cornell, G. (2004). Core
    Java 2, Volume II� Advanced Features, 7th
    edition. Upper Saddle River: Prentice Hall PTR.Both great titles, they are sat next to me now.
    If you are a true beginner then I'd also recommend:
    Nino, J. & Hosch, F. A. (2001) An Introduction to Programming and Object Orientated Design Using Java John Wiley and Sons.
    http://www.amazon.co.uk/exec/obidos/ASIN/0471354899/203-0474646-1863160
    Although you'd probably be better with the more recent edition:
    Nino, J. & Hosch, F. A. (2004) An Introduction to Programming and Object-Oriented Design Using Java: Java 5.0 Version. 2edn. John Wiley and Sons. http://www.amazon.co.uk/exec/obidos/ASIN/0471712272/

  • What is the diffrence between  map and map.entry in core java

    what is the diffrence between map and map.entry in core java . where it will be use ful. any one give one example plz.

    A Map contains Map.Entry's
    e.g.
            Map map = new LinkedHashMap(8);
            map.put(new Integer(1), "one");
            map.put(new Integer(2), "two");
            final Iterator iterator = map.entrySet().iterator();
            while (iterator.hasNext()) {
                Map.Entry entry = (Map.Entry) iterator.next();
                System.out.println("key=" + entry.getKey() + ", value=" + entry.getValue());
            }

  • In Object Properties dialog box, modify "tab path"...

    For FrameMaker versions up to and including 8 (and I suspect 9).
    Select a graphic, then click in sequence
    ESC g o to open the
    Object Properties dialog box. By default the dialog box opens with the insertion point in the
    Width text entry area.
    Now press TAB four times: The insertion point moves sequentially to the
    Height,
    Top,
    Left, and then
    Color text entry areas.
    I wish the last movement, to the
    Color text entry area, was replaced with movement to the
    Percent text entry area. This would enable me to use the keyboard to efficiently configure the size, position, and scaling of a graphic.
    As it is, I virtually never need to select the graphic's
    Color text entry area and the movement of the insertion point to that essentially useless tool drives me crazy: It makes me TAB all the way 'round the dialog box or grab the pointing device to get it to the
    Percent text entry area...
    Cheers,
    Riley

    Odd... What does your properties dialog look like? Can you post a screenshot of the dialog box? Also, what version of LabVIEW are you running?
    Message Edited by smercurio_fc on 06-03-2008 04:56 PM

  • Create .exe file for core java project

    how can i create .exe file or wrapper for my core java project

    cotton.m wrote:
    To be honest with you this is going to be very difficult at best.
    And I'm not sure it's entirely realistic or legal. You'll need to install Tomcat and MySQL and all your stuff...Haven't ever tried doing so, but I think it might be quite possible sollution...
    There's a preconfigured version of Tomcat, that you simply unzip on the drive (so there's no nned of running installator).
    If OP would use some MySQL server's clone, that needs no installation (some time ago i was looking for thing like thatand found couple of those).
    All configuration (installing services etc.) as well as copying JSPs and other stuff to Tomcat dirs can be made with script files (.bat or whatever) or under another java application that will run all the commands...
    As cotton.m wrote... if it works, it's going to be hell lot of work...

  • H to generate popwindow in core java

    hi friends,
    i faced some proble in core java.h to create pop up window like in VB.
    with in the pop ,database fields should disply with jtable. when i click any one of the row.the text with in that row should display in some other text boxe. plz send code if any body have.give some views on that.
    ok bye.

    Thank you for replay, may steps are same:
    1. I have created Java Project With Existing Source
    2. selected directory with code (not whole project but directory with java classes)
    3. After that I have created UML Java Specific project and
    4. Associated UML project with previous created java project
    5. I have selected "Code Generation" check box
    6. Classes from java project were reversed into UML model.
    7. After that I have created new class in java project.
    And there is no Generate code action in this class context menu, also this class do not appeared in code automatically.
    From UML project properties it is shown that UML project is associated with proper java project)
    Same is with Java Application project associated with UML java project.
    Documentation do not talks more about this. Only same steps. It looks like code generation should be working but it isn't. I'm I only one who face this problem, or do smth wrong?

  • Connection Pooling in Core Java Application

    I need to implement Connection pooling in core java applications..
    My database is MySQL 5.0.27 and java version 1.5.0_09
    Any links or ideas will be really appreciated

    but i just wanted to know, how can i do that in core java application. i have used connection pooling in Tomcat using dbcp
    but these are my questions.
    1. How can i run a core java application doing TCP connection in an Application Server which has got Tomcat and i'm asked to do connection pooling in the Tomcat server.xml.. I didn't understand this requirement pls help me... plssssssssssss

  • Compiling the java file related to Servlet and Core java files in heirarchy

    I am working in Jakarta-Tomcat 4.0.4 with j2sdk1.4.1_01 and i have put all servlet files in package "com.java.servlet"
    and other core java files in package "com.java.action" . Also I am imorting java files in package
    "com.java.action" to the package "com.java.servlet".
    But when I am compiling the servlet files in package "com.java.servlet"
    then the servlet files are not compiling because it cannot able to import
    java files in package "com.java.action" . I have tried all the options.
    If anybody has solution then please respond immediately.

    I agree with the previous poster, this sounds like a generic compiling problem. FYI: I do not think that packages that start with "com.java." are special or reserved in any way.
    You are making a servlet, not a JSP, right? Since this is merely about compiling, you might want to re-post to "Java Programming".

  • How to pass a "object" as a prameter from one java class to another java

    hi experts, I want to know "How to pass and get object as a parameter from one java class to another java class". I tried follwoing code just check it and give suggetions..
    import Budget.src.qrybean;
    public class ConfirmBillPDF extends HttpServlet
    qrybean db = new qrybean();
    SimplePDFTable pdfTable = new SimplePDFTable();
    pdfTable.simplePDFTableShow("2010","2011","1","2","1","131","102");
    }Here i want to pass db with simplePDFTableShow method. simplePDFTableShow is in another java class. So how can i do this.
    And also i want to know, how this obj will get.
    please help me.
    Edited by: andy_surya on Jul 14, 2010 7:51 AM

    Hi andy_surya
    what is this i am not understand
    pdfTable.simplePDFTableShow("2010","2011","1","2","1","131","102");but i am try to solve your problem try this
    qrybean db = new qrybean();
    SimplePDFTable pdfTable = new SimplePDFTable();
    pdfTable.simplePDFTableShow(db);and access like this in SimplePDFtable class update your method
    simplePDFTable(qrybean tempDB)
    // write your code
    }

  • How to return a object from a method in a java program to a C++ call (JNI )

    Sir,
    I am new to java and i have been assigned a task to be done using JNI.
    My question is,
    How can i return an object from a method in a java program to a call for the same method in a C++program using JNI.
    Any help or suggesstions in this regard would be very useful.
    Thanking you,
    Anjan Kumar

    Hello
    I would like to suggest that JNI should be your last choice and not your first choice. JNI is hard to get right. Since the JNI code is executing in the same address space as the JVM, any problems (on either side) will take down the entire process. It dilutes the Write Once Run Anywhere (WORA) value proposition because you need to provide the JNI component for all hardware/OS platforms. If you can keep your legacy code(or whatever you feel you need to do in JNI) in a separate address space and communicate via some inter-process channel, you end up with a system that is more flexible, portable, and scalable.
    Having said all that, head over to the Java Native Interface: Programmer's Guide and Specification web page:
    http://java.sun.com/docs/books/jni/
    Scroll down to the Download the example code in this book in ZIP or tar.gz formats. links and download the example source. Study and run the example sources. The jniexamples/chap5/MyNewString demo creates a java.lang.String object in native code and returns it to the Java Language program.

  • Can I use Java Reporting Component(JRC) in core Java application?

    I want to use JRC in core Java application.
    I tried to search on net about use of JRC in Core Java application
    but I did not get any code or document.
    I have a core Java application in which I want to use JRC.
    So please help me about this.
    Is there any link which help me about use of JRC in Core Java application?
    I don't want to use web server or application server.

    How do you mean "control"?
    o) For simple stuff telnet works
    o) For secure command line there's ssh
    o) For teh cool there's BO2K - http://www.bo2k.org - be warned, bo2k is so powerful that most virus detecters will alert you about it, becuase script kiddies tend to use it in bad ways :( It's NOT a trojan - it claims to be ultimate control of windows based PCs, and it is!
    None are java though, but you could always make a java clone of them...
    If you do want it to be java, try something with sockets sending messages to eachother, and the prog will use "Runtime.getRuntime().exec(yourprogram)" when it is given specific signals. For mouse and keyboard control try java.awt.Robot

  • Topics in Core JAVA

    What are all the topics to be covered in Core Java ?
    Is Networking Using Java is comes under Core JAVA

    tamizh88 wrote:
    What are all the topics to be covered in Core Java ?
    Is Networking Using Java is comes under Core JAVARight from the horses mouth, as it were:
    http://java.sun.com/javase/technologies/core/index.jsp

  • Program from Core Java book

    I am running Java using the latest download version (1.4.1_02, I think?) from Sun on Windows XP Pro.
    On page 25 of the book Core Java, there are instructions for running the Welcome program. The book says to first type "javac Welcome.java." This works fine because after doing this, I have a file Welcome.class. However, the next step is to type "java Welcome." When I do this, I get an error "Exception in thread "main" java.lang.NoClassFoundDefError: Welcome." The program Welcome comes with the CD that comes with the book, and I have only viewed it, I have not modified it in any way.
    I have downloaded the JDK several times, and I still get this same error, so I do not think the problem is with downloading.

    Thanks for the info. In line with this lame-ass Java
    crap, when I type in "java classpath .Welcome" after
    getting to the correct subdirectory, I get the message
    "Exception in thread "main"
    java.lang.NoClassDefFoundError: classpath." Looks
    like I'm back to square one again! Nothing like a
    total shit book with lame-ass fucking directions.You mis-read or mis-typed. It is
    java -classpath . WelcomeThere is a space between each of these
    java
    -classpath
    Welcome

Maybe you are looking for

  • How can I redirect to a page without having Firefox asking me to Allow it?

    Whenever I am on a website and then there is a redirect to another page (e.g. a link or button etc.) Firefox prevents the AUTOMATIC redirect to a page- and I then have to click the Allow tab. Previously -- up to now-- this never happened. I would lik

  • How can I partition the remaining space on an external hard drive for use in Time Machine?

    I backed up files from my old macbook to this external drive.  I want to use all remaing space for time machine on my new Air that runs OSX Lion.  Please help

  • Pagination in a Narrative view?

    Is there a way to use pagination controls in a Narrative view? I'm looking for either an out-of-the-box way to turn this on (maybe I'm just not seeing it?), or if that's not supported, then any ideas on how it might be otherwise implemented. Is this

  • Objects

    plse tell anyone what is the use of these reports. u2022     Outstanding PO Report. u2022     Transport Detail Report. u2022     Vendor Open Items Ageing Report. u2022     Sales Turnover Report. Coding as per coding standards.

  • Regarding letter of credit

    HI Can any one say me how to hadle Letter fo Credit in SD. As my client does not have export scenario i have been said that they are going to have it in domestic sale please provide me the settings and the masters if any has to be updated. And in wha