BC4J "common" package

Can someone explain what Java packages get generated automatically by BC4J and why?
I created a new business components package, added a domain to it, and was surprised to see that a new subpackage called "common" had been created containing the domain. Why did JDev create a subpackage instead of using the package I had specified? (I had thought there was a 1-to-1 correspondence between business component packages and Java packages.)
I can't find information about this in the documentation.
Thanks.

We put the following four artifacts in the ".common" subpackage of your BC4J package:
1. bc4j.xcfg configuration file for application modules in your package
2. custom interfaces for view objects, view object rows, or application modules for which you've published client-accessible methods.
3. message bundle classes that BC4J creates for your components
4. domain classes
These are precisely the things that end up getting packaged into the "Common" jar file when you deploy your BC4J application (everything else goes into the "MiddleTier" jar file.
BC4J encourages a logical three-tier design, and when you choose to deploy this logical three-tier application as a physical three tier application, the "Common" Jar file and all of your BC4J components implementations stay on the server.
It's just the "Common" jar file that is required on the remote client tier.
Actually, the things in the "Common" jar file are required on both tiers, thus that are common to both the middle tier and the client tier, hence the choice of the name "common".

Similar Messages

  • BC4J/ADF-BC:  Use of the commons package

    I use extended DataAction classes to access the ADF Business Components. The Oracle9i JDeveloper Handbook encourages accessing the application module class and view object class through the "common" package level. This is discussed in Chapter 14 (p. 465).
    For example, in my 10G client:
    import com.test.common.UserAM;
    import com.test.common.UserByIDVO;
    import com.test.common.UserByIDVORow;
    (as opposed to:)
    import com.test.UserAMImpl; ....
    BindingContext myctx = actionContext.getBindingContext();
    DCDataControl mydc = myctx.findDataControl("com_test_UserAMDataControl");
    UserAM myAM = (UserAM)mydc.getApplicationModule();
    myAM.prepareModelGetBUFbyID(Integer.parseInt(id));
    UserByIDVO buVO = (UserByidVO) myAM.findViewObject("UserByIDVO");
    I have found that I cannot get access to the "common" package without doing the following:
    (1) Create a custom Java method for the *Impl.java class that I want to see in the "common" package.  (I have gone as far as to create an empty method just to force visibility of the "common" package.)
    (2) Generate java files for the object through the editor for either the application module or view object.
    If I don't do this I will have access to only the level above "common" and I believe that could force me into the scenario of only being able to do local deploys.
    This works okay but ... am I handling this as it is intended to be used? What if I wanted to access the application module/view object programmatically but it does not have any custom methods?

    I use extended DataAction classes to access the ADF Business Components. The Oracle9i JDeveloper Handbook encourages accessing the application module class and view object class through the "common" package level. This is discussed in Chapter 14 (p. 465).
    For example, in my 10G client:
    import com.test.common.UserAM;
    import com.test.common.UserByIDVO;
    import com.test.common.UserByIDVORow;
    (as opposed to:)
    import com.test.UserAMImpl; ....
    BindingContext myctx = actionContext.getBindingContext();
    DCDataControl mydc = myctx.findDataControl("com_test_UserAMDataControl");
    UserAM myAM = (UserAM)mydc.getApplicationModule();
    myAM.prepareModelGetBUFbyID(Integer.parseInt(id));
    UserByIDVO buVO = (UserByidVO) myAM.findViewObject("UserByIDVO");
    I have found that I cannot get access to the "common" package without doing the following:
    (1) Create a custom Java method for the *Impl.java class that I want to see in the "common" package.  (I have gone as far as to create an empty method just to force visibility of the "common" package.)
    (2) Generate java files for the object through the editor for either the application module or view object.
    If I don't do this I will have access to only the level above "common" and I believe that could force me into the scenario of only being able to do local deploys.
    This works okay but ... am I handling this as it is intended to be used? What if I wanted to access the application module/view object programmatically but it does not have any custom methods?

  • Common Package

    I want to create a common package which will be used in my other application.
    Like " import com.tst.myPackage "
    How can i do it?

    Create your code, then go into the project properties->deployment and create a new JAR deployment profile and deploy your project. Then add that JAR into the libraries entry of the other projects.

  • Common bc4j.xcfg

    Hi
    I'm using BC4J. I have a number of ApplicationModule in different packages. Each package have a common package with a bc4j.xcfg file containing connectionDefinition.
    I need the same connection definition for All my App modules, but my application runs on different costumers. When running at these custumers I have to edit each of these bc4j.xcfg files - Is there a way so that I can let all my appplicationModule share a bc4j.xcfg file (or property file)?
    Johnny
    Denmark

    If you're trying to change the connection, I'd suggest using datasources instead of JDBC connect strings. Take a look at the howto on datasources at
    http://otn.oracle.com/products/jdev/howtos/10g/usingdatasources/using_datasources.html
    This would allow you to use one static connection and allow your end-users to customize it just once.
    -SteveA

  • Bc4j.xcfg deployment problem

    Hi!
    Could anyone please let me know what exactly is giving me the following errors.
    I have one Application Module in my applicaiton. I want to deploy that business component through EJB. After running through the wizard and deploying the application. I get the following error.
    JBO-33001: Cannot find the configuration file /com/test/common/bc4j.xcfg in the classpath; nested exception is:
         oracle.jbo.ConfigException: JBO-33001: Cannot find the configuration file /com/test/common/bc4j.xcfg in the classpath
         at com.evermind.server.ejb.EJBUtils.getUserException(EJBUtils.java:338)
         at com.evermind.server.ejb.interceptor.system.AbstractTxInterceptor.convertAndHandleMethodException(AbstractTxInterceptor.java:69)
         at com.evermind.server.ejb.interceptor.system.TxBeanManagedInterceptor.invoke(TxBeanManagedInterceptor.java:55)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    My bc4j.xcg file is in /com/test/appmod/common package.
    Could you plesae let me know what shall I do so that the AS looks for the bc4j.xcg file in the package i have the file.
    Regards,
    Jay

    Add a dependency from the View project to the Model project.
    JBO-33001: Cannot find the configuration file /model/common/bc4j.xcfg

  • How to use BeanUtils.copyProperties() when using BC4J

    Hi
    jakarata commons package provides the ability to transfer data from Data Transfer Object to Form bean using BeanUtils.copyProperties().
    How can this be achieved when we are using BC4J where we have Entity and ViewObjects which are DTO's.
    Thanks

    repost

  • "bc4j.xcfg" file not in classpath  (and not in JAR file)

    Hi, this is a very similar problem to one reported today. I have created a JClient application that connects to a DB and displays some info in a JFrame. Running the application through JDeveloper, all is fine. But, if I create a jar file and run it directly through the jar file, I get this error message:
    C:\Work\Client\View\deploy>java -jar my_client.jar
    oracle.jbo.JboException: JBO-33001: Cannot find the configuration file /combit/common/bc4j.xcfg in the classpath
    at oracle.jbo.client.Configuration.loadFromClassPath(Configuration.java: 344)
    at oracle.jbo.common.ampool.PoolMgr.createPool(PoolMgr.java:331)
    at oracle.jbo.common.ampool.PoolMgr.findPool(PoolMgr.java:532)
    at oracle.jbo.client.Configuration.createRootApplicationModule(Configura tion.java:1320)
    at
    oracle.jbo.client.Configuration.createRootApplicationModule(Configura tion.java:1298)
    at view.Login.jbInit(Login.java:81)
    at view.Login.<init>(Login.java:39)
    at view.MainFrame.<clinit>(MainFrame.java:26)
    at view.Combit.<init>(Combit.java:13)
    at view.Combit.main(Combit.java:50)
    In fact, the bc4j.xcfg file is not inside my JAR file (it belongs to the BC4J project, so when I created the JAR file for my "View" project, it never came into.
    How should I create the JAR file to have this file inside and fix my problem??
    Thanks a lot,
    David

    I'm having a similar problem -- but I am just trying to run the BC4J project -- not a project dependent on the BC4J components... where is the classpath being incorrectly set?
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-33001: Cannot find the configuration file infra\mainmenu\bc4j\common\bc4j.xcfg in the classpath
         void oracle.jbo.JboException.<init>(java.lang.Throwable)
              JboException.java:344
         oracle.jbo.common.ampool.ApplicationPool oracle.jbo.common.ampool.PoolMgr.findPool(java.lang.String, java.lang.String, java.lang.String, java.util.Properties)
              PoolMgr.java:481
         oracle.jbo.common.ampool.ApplicationPool oracle.jbo.common.ampool.ContextPoolManager.findPool(java.lang.String, java.lang.String, java.lang.String, java.util.Properties)
              ContextPoolManager.java:166
         oracle.jbo.common.ampool.ApplicationPool oracle.jbo.uicli.mom.JUMetaObjectManager.createPool(java.lang.String, java.util.Properties)
              JUMetaObjectManager.java:471
         oracle.jbo.common.ampool.SessionCookie oracle.jbo.http.HttpContainer.findSessionCookie(javax.servlet.http.HttpSession, java.lang.String, java.lang.String, java.util.Properties)
              HttpContainer.java:638
         oracle.jbo.common.ampool.SessionCookie oracle.cabo.data.jbo.servlet.RootAppModuleRegistryImpl.getSessionCookie(oracle.cabo.servlet.BajaContext, oracle.cabo.data.jbo.def.RootAppModuleDef)
         oracle.jbo.ApplicationModule oracle.cabo.data.jbo.servlet.RootAppModuleRegistryImpl.useRootAppModule(oracle.cabo.servlet.BajaContext, oracle.cabo.data.jbo.def.RootAppModuleDef)
         oracle.jbo.ApplicationModule oracle.cabo.data.jbo.servlet.RootAppModuleRegistryImpl.useRootAppModule(oracle.cabo.servlet.BajaContext, java.lang.String)
         void oracle.cabo.data.jbo.servlet.RootAppModuleRegistryImpl.useAll(oracle.cabo.servlet.BajaContext)
         void oracle.cabo.data.jbo.xml.parse.JboParserExtensionImpl$JboPageDescription.renderStarted(oracle.cabo.servlet.BajaContext, oracle.cabo.servlet.Page, oracle.cabo.ui.RenderingContext)
         void oracle.cabo.servlet.ui.UINodePageRenderer.renderPage(oracle.cabo.servlet.BajaContext, oracle.cabo.servlet.Page)
         void oracle.cabo.servlet.AbstractPageBroker.renderPage(oracle.cabo.servlet.BajaContext, oracle.cabo.servlet.Page)
         oracle.cabo.servlet.Page oracle.cabo.servlet.PageBrokerHandler.handleRequest(oracle.cabo.servlet.BajaContext)
         void oracle.cabo.servlet.UIXServlet.doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
         void javax.servlet.http.HttpServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
              HttpServlet.java:740
         void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
              HttpServlet.java:853
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
              ServletRequestDispatcher.java:721
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(javax.servlet.ServletRequest, javax.servlet.http.HttpServletResponse)
              ServletRequestDispatcher.java:306
         boolean com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.ApplicationServerThread, com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.EvermindHttpServletRequest, com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.EvermindHttpServletResponse, java.io.InputStream, java.io.OutputStream, boolean)
              HttpRequestHandler.java:767
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(java.lang.Thread)
              HttpRequestHandler.java:259
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run()
              HttpRequestHandler.java:106
         void EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run()
              PooledExecutor.java:803
         void java.lang.Thread.run()
              Thread.java:484
    ## Detail 0 ##
    oracle.jbo.JboException: JBO-33001: Cannot find the configuration file infra\mainmenu\bc4j\common\bc4j.xcfg in the classpath
         void oracle.jbo.client.Configuration.loadFromClassPath(java.lang.String)
              Configuration.java:314
         oracle.jbo.common.ampool.ApplicationPool oracle.jbo.common.ampool.PoolMgr.createPool(java.lang.String, java.lang.String, java.lang.String, java.util.Properties)
              PoolMgr.java:272
         oracle.jbo.common.ampool.ApplicationPool oracle.jbo.common.ampool.PoolMgr.findPool(java.lang.String, java.lang.String, java.lang.String, java.util.Properties)
              PoolMgr.java:457
         oracle.jbo.common.ampool.ApplicationPool oracle.jbo.common.ampool.ContextPoolManager.findPool(java.lang.String, java.lang.String, java.lang.String, java.util.Properties)
              ContextPoolManager.java:166
         oracle.jbo.common.ampool.ApplicationPool oracle.jbo.uicli.mom.JUMetaObjectManager.createPool(java.lang.String, java.util.Properties)
              JUMetaObjectManager.java:471
         oracle.jbo.common.ampool.SessionCookie oracle.jbo.http.HttpContainer.findSessionCookie(javax.servlet.http.HttpSession, java.lang.String, java.lang.String, java.util.Properties)
              HttpContainer.java:638
         oracle.jbo.common.ampool.SessionCookie oracle.cabo.data.jbo.servlet.RootAppModuleRegistryImpl.getSessionCookie(oracle.cabo.servlet.BajaContext, oracle.cabo.data.jbo.def.RootAppModuleDef)
         oracle.jbo.ApplicationModule oracle.cabo.data.jbo.servlet.RootAppModuleRegistryImpl.useRootAppModule(oracle.cabo.servlet.BajaContext, oracle.cabo.data.jbo.def.RootAppModuleDef)
         oracle.jbo.ApplicationModule oracle.cabo.data.jbo.servlet.RootAppModuleRegistryImpl.useRootAppModule(oracle.cabo.servlet.BajaContext, java.lang.String)
         void oracle.cabo.data.jbo.servlet.RootAppModuleRegistryImpl.useAll(oracle.cabo.servlet.BajaContext)
         void oracle.cabo.data.jbo.xml.parse.JboParserExtensionImpl$JboPageDescription.renderStarted(oracle.cabo.servlet.BajaContext, oracle.cabo.servlet.Page, oracle.cabo.ui.RenderingContext)
         void oracle.cabo.servlet.ui.UINodePageRenderer.renderPage(oracle.cabo.servlet.BajaContext, oracle.cabo.servlet.Page)
         void oracle.cabo.servlet.AbstractPageBroker.renderPage(oracle.cabo.servlet.BajaContext, oracle.cabo.servlet.Page)
         oracle.cabo.servlet.Page oracle.cabo.servlet.PageBrokerHandler.handleRequest(oracle.cabo.servlet.BajaContext)
         void oracle.cabo.servlet.UIXServlet.doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
         void javax.servlet.http.HttpServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
              HttpServlet.java:740
         void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
              HttpServlet.java:853
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
              ServletRequestDispatcher.java:721
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(javax.servlet.ServletRequest, javax.servlet.http.HttpServletResponse)
              ServletRequestDispatcher.java:306
         boolean com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.ApplicationServerThread, com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.EvermindHttpServletRequest, com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.EvermindHttpServletResponse, java.io.InputStream, java.io.OutputStream, boolean)
              HttpRequestHandler.java:767
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(java.lang.Thread)
              HttpRequestHandler.java:259
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run()
              HttpRequestHandler.java:106
         void EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run()
              PooledExecutor.java:803
         void java.lang.Thread.run()
              Thread.java:484
    ## Detail 0 ##
    oracle.jbo.JboException: JBO-33000: Cannot find the configuration file registerConnectionsFromDocument
         void oracle.jbo.client.Configuration.registerConnectionsFromDocument()
              Configuration.java:871
         void oracle.jbo.client.Configuration.loadFromStream(java.io.InputStream)
              Configuration.java:248
         void oracle.jbo.client.Configuration.loadFromClassPath(java.lang.String)
              Configuration.java:308
         oracle.jbo.common.ampool.ApplicationPool oracle.jbo.common.ampool.PoolMgr.createPool(java.lang.String, java.lang.String, java.lang.String, java.util.Properties)
              PoolMgr.java:272
         oracle.jbo.common.ampool.ApplicationPool oracle.jbo.common.ampool.PoolMgr.findPool(java.lang.String, java.lang.String, java.lang.String, java.util.Properties)
              PoolMgr.java:457
         oracle.jbo.common.ampool.ApplicationPool oracle.jbo.common.ampool.ContextPoolManager.findPool(java.lang.String, java.lang.String, java.lang.String, java.util.Properties)
              ContextPoolManager.java:166
         oracle.jbo.common.ampool.ApplicationPool oracle.jbo.uicli.mom.JUMetaObjectManager.createPool(java.lang.String, java.util.Properties)
              JUMetaObjectManager.java:471
         oracle.jbo.common.ampool.SessionCookie oracle.jbo.http.HttpContainer.findSessionCookie(javax.servlet.http.HttpSession, java.lang.String, java.lang.String, java.util.Properties)
              HttpContainer.java:638
         oracle.jbo.common.ampool.SessionCookie oracle.cabo.data.jbo.servlet.RootAppModuleRegistryImpl.getSessionCookie(oracle.cabo.servlet.BajaContext, oracle.cabo.data.jbo.def.RootAppModuleDef)
         oracle.jbo.ApplicationModule oracle.cabo.data.jbo.servlet.RootAppModuleRegistryImpl.useRootAppModule(oracle.cabo.servlet.BajaContext, oracle.cabo.data.jbo.def.RootAppModuleDef)
         oracle.jbo.ApplicationModule oracle.cabo.data.jbo.servlet.RootAppModuleRegistryImpl.useRootAppModule(oracle.cabo.servlet.BajaContext, java.lang.String)
         void oracle.cabo.data.jbo.servlet.RootAppModuleRegistryImpl.useAll(oracle.cabo.servlet.BajaContext)
         void oracle.cabo.data.jbo.xml.parse.JboParserExtensionImpl$JboPageDescription.renderStarted(oracle.cabo.servlet.BajaContext, oracle.cabo.servlet.Page, oracle.cabo.ui.RenderingContext)
         void oracle.cabo.servlet.ui.UINodePageRenderer.renderPage(oracle.cabo.servlet.BajaContext, oracle.cabo.servlet.Page)
         void oracle.cabo.servlet.AbstractPageBroker.renderPage(oracle.cabo.servlet.BajaContext, oracle.cabo.servlet.Page)
         oracle.cabo.servlet.Page oracle.cabo.servlet.PageBrokerHandler.handleRequest(oracle.cabo.servlet.BajaContext)
         void oracle.cabo.servlet.UIXServlet.doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
         void javax.servlet.http.HttpServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
              HttpServlet.java:740
         void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
              HttpServlet.java:853
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
              ServletRequestDispatcher.java:721
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(javax.servlet.ServletRequest, javax.servlet.http.HttpServletResponse)
              ServletRequestDispatcher.java:306
         boolean com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.ApplicationServerThread, com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.EvermindHttpServletRequest, com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.EvermindHttpServletResponse, java.io.InputStream, java.io.OutputStream, boolean)
              HttpRequestHandler.java:767
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(java.lang.Thread)
              HttpRequestHandler.java:259
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run()
              HttpRequestHandler.java:106
         void EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run()
              PooledExecutor.java:803
         void java.lang.Thread.run()
              Thread.java:484
    ## Detail 0 ##
    java.lang.NullPointerException
         void oracle.jbo.client.Configuration.registerConnectionsFromDocument()
              Configuration.java:860
         void oracle.jbo.client.Configuration.loadFromStream(java.io.InputStream)
              Configuration.java:248
         void oracle.jbo.client.Configuration.loadFromClassPath(java.lang.String)
              Configuration.java:308
         oracle.jbo.common.ampool.ApplicationPool oracle.jbo.common.ampool.PoolMgr.createPool(java.lang.String, java.lang.String, java.lang.String, java.util.Properties)
              PoolMgr.java:272
         oracle.jbo.common.ampool.ApplicationPool oracle.jbo.common.ampool.PoolMgr.findPool(java.lang.String, java.lang.String, java.lang.String, java.util.Properties)
              PoolMgr.java:457
         oracle.jbo.common.ampool.ApplicationPool oracle.jbo.common.ampool.ContextPoolManager.findPool(java.lang.String, java.lang.String, java.lang.String, java.util.Properties)
              ContextPoolManager.java:166
         oracle.jbo.common.ampool.ApplicationPool oracle.jbo.uicli.mom.JUMetaObjectManager.createPool(java.lang.String, java.util.Properties)
              JUMetaObjectManager.java:471
         oracle.jbo.common.ampool.SessionCookie oracle.jbo.http.HttpContainer.findSessionCookie(javax.servlet.http.HttpSession, java.lang.String, java.lang.String, java.util.Properties)
              HttpContainer.java:638
         oracle.jbo.common.ampool.SessionCookie oracle.cabo.data.jbo.servlet.RootAppModuleRegistryImpl.getSessionCookie(oracle.cabo.servlet.BajaContext, oracle.cabo.data.jbo.def.RootAppModuleDef)
         oracle.jbo.ApplicationModule oracle.cabo.data.jbo.servlet.RootAppModuleRegistryImpl.useRootAppModule(oracle.cabo.servlet.BajaContext, oracle.cabo.data.jbo.def.RootAppModuleDef)
         oracle.jbo.ApplicationModule oracle.cabo.data.jbo.servlet.RootAppModuleRegistryImpl.useRootAppModule(oracle.cabo.servlet.BajaContext, java.lang.String)
         void oracle.cabo.data.jbo.servlet.RootAppModuleRegistryImpl.useAll(oracle.cabo.servlet.BajaContext)
         void oracle.cabo.data.jbo.xml.parse.JboParserExtensionImpl$JboPageDescription.renderStarted(oracle.cabo.servlet.BajaContext, oracle.cabo.servlet.Page, oracle.cabo.ui.RenderingContext)
         void oracle.cabo.servlet.ui.UINodePageRenderer.renderPage(oracle.cabo.servlet.BajaContext, oracle.cabo.servlet.Page)
         void oracle.cabo.servlet.AbstractPageBroker.renderPage(oracle.cabo.servlet.BajaContext, oracle.cabo.servlet.Page)
         oracle.cabo.servlet.Page oracle.cabo.servlet.PageBrokerHandler.handleRequest(oracle.cabo.servlet.BajaContext)
         void oracle.cabo.servlet.UIXServlet.doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
         void javax.servlet.http.HttpServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
              HttpServlet.java:740
         void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
              HttpServlet.java:853
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
              ServletRequestDispatcher.java:721
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(javax.servlet.ServletRequest, javax.servlet.http.HttpServletResponse)
              ServletRequestDispatcher.java:306
         boolean com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.ApplicationServerThread, com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.EvermindHttpServletRequest, com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.EvermindHttpServletResponse, java.io.InputStream, java.io.OutputStream, boolean)
              HttpRequestHandler.java:767
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(java.lang.Thread)
              HttpRequestHandler.java:259
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run()
              HttpRequestHandler.java:106
         void EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run()
              PooledExecutor.java:803
         void java.lang.Thread.run()
              Thread.java:484

  • Import package with .* in jsp

    If i want to use HashMap in jsp page i need to have HashMap of util package in import statment in
    page directive.
    What is difference in Using
    a) <%@ page import="java.util.HashMap"%>
    b) <%@ page import="java.util.*"%>
    Is there any performance issue using importing package with .*

    Ofcourse there will be a performance issue. In the
    second case (<%@ page import="java.util.*"%>
    ) , you are loading all the classes in java.util
    package into your JSP, where as in the first case you
    are getting only HashMap. So the second option will
    affect the performance. Always import only the
    required classes.
    rgdsThen you have no idea how import works. The only difference at all would come at compile time. After the page is compiled, there would be no performance issue whatsoever.
    The main reason for doing one or the other way (same for any Java class) is clarity for those reading the code. Meaning if you use the full import, when they see "HashMap" in the code, they can look at the import statements and be sure that it's in java.util package. But generally, most people are going to be familiar with the classes in the common packages, like java.util. So I wouldn't generally list the specific classes if you are using more then one from the same package. There are other considerations where packages have classes of the same name (java.sql.Date & java.util.Date) but generally, I would always just put the full class name in the code.

  • Commons FileUpload utility

    Dear Fellow Java Developers:
    I need to upload files from my pc using JSP and was told that using the FileUpload utility from the Jakarta Commons package is the way to go. What I would like to know is if someone has some sample code that demonstrates how to use it step by step, as I don't have any tutorials that show me how to use this utility.
    Any help is greatly appreciated.
    Thanks to everyone that replies in advance.
    Sincerely;
    Fayyaz

    Whats up? Is google broken?
    http://www.google.com/search?hl=en&ie=UTF-8&q=commons+file+upload+example+tutorial
    First result returned:
    http://www.onjava.com/pub/a/onjava/2003/06/25/commons.html?page=3

  • Aperture version of a picture package

    Would like to print four 4x5 or three 6x4 0n an 8.5 x11 sheet of paper. I have come from windows and Photoshop how can this be done in apertre

    I don't do packages myself, but I've read about several users who do use the book function to do this.
    If you create a book that has a "page" for each of your most common package configurations, it seems like most of the added complication would only hit you once. "Set it and forget it".
    Once you have the book template designed, it's just a matter of laying out the photos on the specific page(s) you need for that order, and printing it out.
    And the addition of custom page sizes for books in Aperture 2 means you ought to now be able to print a package print to any size paper you desire (not just the ones supported by Apple's system). That should be sufficiently flexible for you to do any layout you can dream up.

  • Trying a comprehensive jakarta-commons PKGBUILD....

    Hey there!
    I would like to build a PKGBUILD for a nice java banking program. On the way to a Arch-conform PKGBUILD I stumbled over the Java Package Guidelines and investigated the libs which are shipped with the program a bit further.
    There I found that some jars from the jakarta commons package were used but not yet packaged in AUR or the official repos. So first I wanted to build them separately, but then I found that it would make more sense to have one comprehensive package of (currently) 30MB instead of 33 single packages.
    What do you think about the idea? I am willing to support this meta package as well as the single ones if I just knew how the implementation would be more sensible.
    Since it would be a huge amount of work to pack every packag on its own, I wrote a PKGBUILD for all packages that are in Jakarta Commons.
    I hope, if it is generally desired to have any package in a single file, that I at least learnt a bit from writing this PKGBUILD
    # Contributor: jakob
    pkgname=jakarta-commons-all
    pkgver=1.0
    pkgrel=1
    pkgdesc="This packag includes all Jakarta Commons Proper packages."
    url="http://jakarta.apache.org/commons/"
    license="APACHE"
    depends=()
    makedepends=()
    conflicts=()
    source=(http://www.apache.org/dist/jakarta/commons/attributes/binaries/commons-attributes-2.2.tar.gz
    http://www.apache.org/dist/jakarta/commons/beanutils/binaries/commons-beanutils-1.7.0.tar.gz
    http://www.apache.org/dist/jakarta/commons/betwixt/binaries/commons-betwixt-0.7.tar.gz
    http://www.apache.org/dist/jakarta/commons/chain/binaries/commons-chain-1.1.tar.gz
    http://www.apache.org/dist/jakarta/commons/cli/binaries/cli-1.0.tar.gz
    http://www.apache.org/dist/jakarta/commons/codec/binaries/commons-codec-1.3.tar.gz
    http://www.apache.org/dist/jakarta/commons/collections/binaries/commons-collections-3.2.tar.gz
    http://www.apache.org/dist/jakarta/commons/configuration/binaries/commons-configuration-1.2.tar.gz
    http://www.apache.org/dist/jakarta/commons/daemon/binaries/commons-daemon-1.0.1.tar.gz
    http://www.apache.org/dist/jakarta/commons/dbcp/binaries/commons-dbcp-1.2.1.tar.gz
    http://www.apache.org/dist/jakarta/commons/dbutils/binaries/commons-dbutils-1.0.tar.gz
    http://www.apache.org/dist/jakarta/commons/digester/binaries/commons-digester-1.7.tar.gz
    http://www.apache.org/dist/jakarta/commons/discovery/binaries/commons-discovery-0.2.tar.gz
    http://www.apache.org/dist/jakarta/commons/el/binaries/commons-el-1.0.tar.gz
    http://www.apache.org/dist/jakarta/commons/email/binaries/commons-email-1.0.tar.gz
    http://www.apache.org/dist/jakarta/commons/fileupload/binaries/commons-fileupload-1.1.1.tar.gz
    http://www.apache.org/dist/jakarta/commons/httpclient/binary/commons-httpclient-3.0.1.tar.gz
    http://www.apache.org/dist/jakarta/commons/io/binaries/commons-io-1.2.tar.gz
    http://www.apache.org/dist/jakarta/commons/jelly/binaries/commons-jelly-1.0.tar.gz
    http://www.apache.org/dist/jakarta/commons/jexl/binaries/commons-jexl-1.1.tar.gz
    http://www.apache.org/dist/jakarta/commons/jxpath/binaries/commons-jxpath-1.2.tar.gz
    http://www.apache.org/dist/jakarta/commons/lang/binaries/commons-lang-2.2.tar.gz
    http://www.apache.org/dist/jakarta/commons/latka/binaries/latka-1.0-alpha1.zip
    http://www.apache.org/dist/jakarta/commons/launcher/binaries/commons-launcher-1.1.tar.gz
    http://www.apache.org/dist/jakarta/commons/logging/binaries/commons-logging-1.1.tar.gz
    http://www.apache.org/dist/jakarta/commons/math/binaries/commons-math-1.1.tar.gz
    http://www.apache.org/dist/jakarta/commons/modeler/binaries/commons-modeler-2.0.tar.gz
    http://www.apache.org/dist/jakarta/commons/net/binaries/commons-net-1.4.1.tar.gz
    http://www.apache.org/dist/jakarta/commons/pool/binaries/commons-pool-1.3.tar.gz
    http://www.apache.org/dist/jakarta/commons/primitives/binaries/commons-primitives-1.0.tar.gz
    http://www.apache.org/dist/jakarta/commons/scxml/binaries/commons-scxml-0.5.tar.gz
    http://www.apache.org/dist/jakarta/commons/transaction/binaries/commons-transaction-1.1.tgz
    http://www.apache.org/dist/jakarta/commons/validator/binaries/commons-validator-1.3.0.tar.gz)
    md5sums=('47d037449aa38b6c8e181abcfaf36b2b' 'd1571ce9d6ec3d1795364cc44f3d116e'
    '707af78be5ed2518dd2eada9afefb238' 'e688f648a5fd324f591669ca70ebe96d'
    '6c28bdee998fe4d9e76c7cf40e7f4691' 'aad3948be13476d9599cadaf146bc92a'
    '030a1c1d08f47a6c9be000fc611714b4' '6c8bc440de20b7c9b5b3b5315d50316b'
    '591fceeb4feab1094a78c9c5decd8cca' 'd333fc11abb532be2487338cb452b583'
    'b437ea809d320378fc05af9f29e2636f' '717239578dfcd05bde0dfd1d3e8f319f'
    '2273f5f83a477f4f18fccf3a00e2b48c' 'fb856b9689bdc4c52f8ae999057f89fc'
    '4fb252cd4bcee57b573937e3c88974cc' '3b851898d3347cd4d6890b79c9a8a0f0'
    '58167f247e8f8ad8fb1def97c1de8f07' '52b42b61593def482dc968ffdd27f113'
    'e9e3ba84a214d2bcf96aa31b24f3bb5f' '9bdf02d9b659a70b7f327c923c1f4d80'
    '1730dae5f0ef0594a47ead5d1a4ac41b' '4f683f7b6970babb8c9f09bb12b7c1a6'
    'fbf479099aa252989fe4c81511abf4bf' '7ed65e08e8c952c4d9f6db0d73ef5426'
    'c2bd7cc1fa08d78ec5aa80632c21152b' '37c43d1d0c08c1b753a7bf952c763eb3'
    'ba74fdf4aca98f01579eca11acc6d882' '577e90cc40328c287acc921dae344c12'
    '1bdae6c015689349b704daebda924a5b' '2ce92656204f2fa63dad6dfa88e1458b'
    '091e2dc0efcb9155c2b4a05792d49a77' 'fe946d1775d58ded6050dec6af648f38'
    '221d924fb85f3597d8be0708d45f0f5a')
    build() {
    mkdir -p $startdir/pkg/usr/share/java/jakarta-commons
    cd $startdir/src/
    rm -rf *gz docs LICENSE*
    mv *.txt doc
    mv * $startdir/pkg/usr/share/java/jakarta-commons
    Since there are sometimes when copy&pasting PKGBUILDS (especially the ""s, IIRC), here a link to a pastebin
    My questions are: Are the jars to be put in /usr/share/java/jakarta-commons/$package/*.jar or plainly under jakarta-commons?
    Is it ok to delete all the docs, licenses + readmes?
    Sorry but it's very late now so I'll stop here and wait for your suggestions and tips, which will come hopefully..
    Greetings and good night,
    jakob

    Your absolutely right saying that never all commons packages would be used by just one program.
    I read the Java Packaging Guidelines again and it says that only commoly used and major libs should be sourced out to single packages. So the question is: Do any other packages in AUR or the official repos use some of the jakarta-commons projects so it would eventually pay to make single packages for them, or isn't it worth the hussle?
    I for my part now will leave the libs that are bundled with the package I wanted to upload at first in the package and use them.
    Thanks for your reply

  • [svn:fx-trunk] 15669: * Package and class level javadoc for the flex2. compiler.css,

    Revision: 15669
    Revision: 15669
    Author:   [email protected]
    Date:     2010-04-23 10:12:53 -0700 (Fri, 23 Apr 2010)
    Log Message:
    Package and class level javadoc for the flex2.compiler.css,
      flex2.compiler.common, and flex2.compiler.config packages.
    QE notes:
    Doc notes:
    Bugs:
    Reviewer: Corey (post-commit)
    Tests run: checkintests
    Is noteworthy for integration: NO
    Modified Paths:
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/CompilerConfiguration.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/Configuration.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/ConfigurationPathResolver. java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/DefaultsConfigurator.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/FontsConfiguration.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/FramesConfiguration.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/LocalFilePathResolver.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/MetadataConfiguration.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/MxmlConfiguration.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/NamespacesConfiguration.ja va
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/PathResolver.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/SinglePathResolver.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/config/AdvancedConfigurationInfo. java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/config/CommandLineConfigurator.ja va
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/config/ConfigurationException.jav a
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/config/ConfigurationFilter.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/config/ConfigurationInfo.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/config/ConfigurationValue.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/config/FileConfigurator.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/config/SystemPropertyConfigurator .java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/ConditionTypeNotSupported.jav a
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/CssCompiler.java
    Added Paths:
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/package.html
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/config/package.html
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/package.html

  • More package advice...

    Hi there,
    I'm having a bit of a conceptual problem with packages. At the moment, I am using a bunch of common classes that will be used throughout my desktop swing applications. As I see it right now, if I compile my application and distribute it to users, I also have to re-create the directory structure to the packages on their local machine or point to it via the CLASSPATH over the network.
    Now, I don't know whether to just include all common classes in the current program directory, thus losing the explicit dependancy via the "import" keyword, but minimising the links to outside resources for the application or stick with the packages and have to set the CLASSPATH to somewhere public where all users can get at the common packages.
    Advice, alternatives and suggestions?

    If it helps here is the class that I want to use to call a couple of the classes in the commonfiles package...
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.ResultSet;
    import java.sql.Statement;
    import commonfiles.*;
    public class OracleDataConnection {
        private Connection conn;
        private boolean bConnectionActive = false;
        public OracleDataConnection(String Host, int Port, String SID, String Username, String Password) {
            if (((Host.length() < 1) || (Host == null)) || ((SID.length() < 1) || (SID == null)) || ((Username.length() < 1) || (Username == null)) || ((Password.length() < 1) || (Password == null)) || ((Port < 1))) {
                return;
            } else {
                try {
                    Class.forName("oracle.jdbc.driver.OracleDriver");
                    conn = DriverManager.getConnection("jdbc:oracle:thin:@PIMSDS20:1525:TEST", "jbaker", "nipples8");
                    conn = DriverManager.getConnection("jdbc:oracle:thin:@" + Host + ":" + Port + ":" + SID, Username, Password);
                    if (conn != null) {
                        bConnectionActive = true;
                } catch (Exception e) {
                    bConnectionActive = false;
                    return;
        public ResultSet returnRecords(String sQuery) {
            if ((sQuery.length() < 1) || (sQuery == null)) {
                ErrorList.addError(new Error(ErrorList.DATABASE_QUERY_FAILED, ErrorList.INTERNAL_GUI_NONE, "OracleDataConnection::returnRecords()", "SQL query string is blank"));
                return null;
    }....and here are the ErrorList and Error classes in the "H:\Java\commonfiles" directory.
    // Error class.
    package commonfiles;
    public class Error {
        private String sErrorCode;
        private int iErrorScreen;
        private String sErrorLocation;
        private String sUserMessage;
        // Constructor.
        public Error(String sErrorCode, int iErrorScreen, String sErrorLocation, String sUserMessage) {
            this.sErrorCode = sErrorCode;
            this.iErrorScreen = iErrorScreen;
            this.sErrorLocation = sErrorLocation;
            this.sUserMessage = sUserMessage;
        public String toString() {
            return ("Error: " + sErrorCode + " on screen: " + Integer.toString(iErrorScreen) + " at code location: " + sErrorLocation + " with user message: " + sUserMessage);
        public String getErrorCode() {
            return sErrorCode;
        public String getErrorScreen() {
            return Integer.toString(iErrorScreen);
        public String getErrorLocation() {
            return sErrorLocation;
        public String getUserMessage() {
            return sUserMessage;
    // ErrorList static class.
    package commonfiles;
    import java.util.Vector;
    public class ErrorList {
        private static Vector vErrorList = new Vector(20,10);
        public static final int INTERNAL_GUI_NONE = 40001;
        public static final int DATABASE_CONNECTION_FAILED = 50001;
        public static final int DATABASE_QUERY_FAILED = 50002;
        public static void addError(Error newError) {
            vErrorList.add(newError);
        public static Error[] getAllErrors(boolean clearErrors) {
            Error[] objErrorList = (Error[]) vErrorList.toArray(new Error[vErrorList.size()]);
            if (clearErrors) {
                vErrorList.clear();
            return objErrorList;
        public static boolean hasErrors() {
            if (vErrorList.isEmpty()) {
                return false;
            } else {
                return true;
    }

  • Solaris X window packages for AS 7.0?

    I learned from the exercise the hard way that AS 7.0 doesn't install on "harden" system (see my post under "installation fail") and was told it's worth while to have the X window installed since manually installation might create future problem (see my post under "manual installation ?"). I look at the software requirement here:
    http://docs.sun.com/source/816-7161-10/rn.html#1000684
    It has no mention of X window is a must requirement. Now that I am in the process of getting the security exemption to have X window installed, the ITops told me they need the list of all the specific X window package names. They said there're hundreds of files and tons of X window package so they must know which package to be specific that App Server 7.0 needs.
    Could someone help me with the list -- if not, it looks like they'll dig their heels and I won't get the App Server 7.0 installed and deployed at all.

    Can someone verify if these packages will be sufficient for the App Server 7.0 to install. I am sure we are not the only one that has "harden" system. How are other users deal with this?
    system SUNWcg6 GX (cg6) Device Driver
    system SUNWcg6h GX (cg6) Header Files
    system SUNWcg6x GX (cg6) Device Driver (64-bit)
    system SUNWeuxwe UTF-8 X Window Environment
    system SUNWi13rf X11 ISO-8859-13 required fonts
    system SUNWi15rf X11 ISO-8859-15 required fonts
    system SUNWi2rf X11 ISO-8859-2 required fonts
    system SUNWi4rf X11 ISO-8859-4 required fonts
    system SUNWi5rf X11 ISO-8859-5 required fonts
    system SUNWi7rf X11 ISO-8859-7 required fonts
    system SUNWi8rf X11 iso8859-8 required fonts
    system SUNWi9rf X11 ISO-8859-9 required fonts
    system SUNWuxlcf UTF-8 X Locale Environment Common Files
    system SUNWuxlcx UTF-8 X Locale Environment Common Files (64-bit)
    system SUNWxi18n X Window System Internationalization Common Package
    system SUNWxi18x X Window System Internationalization Common Package (64-bit)
    system SUNWxim X Window System X Input Method Server Package
    system SUNWximx X Window System X Input Method Server Package (64-bit)
    system SUNWxwdv X Windows System Window Drivers
    system SUNWxwdvx X Windows System Window Drivers (64-bit)
    system SUNWxwfnt X Window System platform required fonts
    system SUNWxwhl X Window System & Graphics Header links in /usr/include
    system SUNWxwicx X Window System ICE library (64-bit)
    system SUNWxwinc X Window System include files
    system SUNWxwkey X Windows software, PC keytables
    system SUNWxwmox X Window System kernel modules (64-bit)
    system SUNWxwoft X Window System optional fonts
    system SUNWxwplt X Window System platform software
    system SUNWxwplx X Window System library software (64-bit)
    system SUNWxwpsr Sun4u-platform specific X server auxiliary filter modules
    system SUNWxwrtl X Window System & Graphics Runtime Library Links in /usr/lib
    system SUNWxwrtx X Window System Runtime Compatibility Package (64-bit)
    system SUNWxwslb X Window System static/lint libraries
    system SUNWxwslx X Window System lint libraries (64-bit)

  • Reuse Regions as a Component like Packages?

    Is there are way of making a region a single collection that can be treated like a reusable component, like that of a SQL Package? (Sort of Object Oriented Programming)
    For example, I want to have a Region that display's a record's "CREATED_BY", "CREATE_DATE", "MODIFY_BY" and "MODIFY_DATE" fields. The region also has Buttons and Items inside it, to be included into the component.
    These are used in different tables in the schema, so I was to reuse this Region (also, it uses a common package, that contain its different PL/SQL Code, that could manage the 'properties' and 'methods') in different pages that I nominate, preferably refering to a single definition. Should this definition change, it would be instantly changed in all associated pages as well.
    I am not sure of the correct way of doing this. It does not seem Shorcuts in Shared Components will achieve this. Is there any Tutorial for this situation?
    Thank you for your comments.

    Ou, as I see such question is a common problem, I just start another topic with the same problem. I`ve tried to resolve problem by creating my own event that dispatch to listeners, and I`ve tried to add Listener to main app. Just in case it will such:
    1. You create event: LoginCorrectEvent.
    2. dispacth it.
    3. main app listen to LoginCorrectEvent and make something.
    You can check code in this topic http://forums.adobe.com/thread/700947?tstart=0
    But I have problem that I haven`t instance to listen to, but you will have I suppose, so you can make event driven communication. Something like this:
    var loginComp:LoginComponent = new LoginComponent();
    loginComp.addEventListener(LoginCorrectEvent.LOGIN_CORRECT_EVENT, loginCorrectHandler);
    it will be in you main app, and there you should define loginCorrectHandler - it will handle event.

Maybe you are looking for

  • Acrobat Pro XI isn't detecting a scanner

    I'm running Adobe Acrobat Pro XI on Windows 7 Enterprise SP1 machine.  When I go to File, Create, PDF from Scanner and choose either Color Image or Custom Scan it's not showing any scanners available (custom scan shows "Please Select a Device") if I

  • IPhoto "Unexpectedly Quit". When I went back in, about the past month's worth of uploaded photos was missing. What happened, and how can I retrieve them?

    IPhoto was open, but "unexpectedly quit".  When I opened it again a couple days later, my most recent photo uploads (for the past month or so) were missing, with dated Events folders saying "no photos". This had happened another time about a year ago

  • Setting up email won't work.

    Since I mistakenly wiped my phone a week ago  I cannot set up my email accounts again. I seem to remember having to use a blackberry address and then got to key up my live mail account but now i cant seem to do it. THe email account icon doesnt lead

  • Newbie Technical Issues

    Hi, guys. I just signed up a few minutes ago and I am the proud owner of an 8320 Curve, my very first Blackberry. Being new to all this, I have run in to some technical difficulties and I hope you experts can help me. 1. I downloaded a third party ap

  • Weblogic 8.1 SP4 slow down

    The server gets slow down once a week I log I found following Cause:HttpSession is invalid Class:java.lang.IllegalStateException StackTrace:weblogic.servlet.internal.session.SessionData.getAttribute(SessionData.java:418) This error is getting called