[OIM] Migrate from WebSphere to WebLogic

Hi people,
I would like to migrate our OIM implementation from WAS to WLS, is that possible? Is there some documentatition to achieve this goal?

If you only transfer configuration the chances of something breaking are minimal.
On the other hand if you need transactions as well things get a bit more complex.
In either case a full regression test is always a must as there always is the risk that a supporting jar or even dll (if one windows) in the app server is of slightly different version which introduces a change of behavior.
Best regards
/Martin

Similar Messages

  • Migration from WebSphere - Weblogic: RAS logger

    What would be easy way or strategy to handle ibm ras logger when we migrate to weblogic?

    Guys:
    The link provided caters to Websphere Studio to WebLogic 8.1. My requirement is migration from WebSphere 5.x to WebLogic. My current architecture is as follows:
    1. Front End: JSP (Ver 1.2), XSL, XML
    2. Middle Layer: EJB (EJB Ver 2.0) (Stateless Session Beans) (Deployed in IBM WebSphere 5.0)
    3. RDBMS: Oracle 9i Enterprise Edition - Release 2.
    4. Modal View Controller architecture (MVC)
    5. Number of JAR files: 137
    6. One WAR File
    7. Appserver OS: W2K.
    All the files needs to be migrated to WebLogic 8.1 including the deployment descriptor.
    Is there any tool for this conversion? Any white paper, proof of concept, document on steps, approach, risks, mitigation,etc will be helpful.
    Thanks in anticipation
    Best Regards
    Pichu
    [email protected]
    Refer to
    http://www-106.ibm.com/developerworks/websphere/librar
    y/techarticles/0311_chaland/chaland.html
    "Stephen New" <[email protected]> wrote:
    Hi,
    Does anyone know of any articles/papers aboutmigrating a J2EE application
    from
    IBM's WebSphere to BEA WebLogic Server?
    I am currently doing a migration from WebSphere 4.xto WebLogic Server
    8.1 and
    am hoping to learn from other people's experiences.
    Thanks,
    Stephen.

  • What is the best Connection option from WebSphere to Weblogic?

    What is the best Connection option from WebSphere to Weblogic?
              We are trying to send XML messages from Websphere to WLS to active some
              services....
              any pointers, suggestions?
              Thx
              VJ
              

    Hi,
    One of my clients has an environment similar to yours with an internal pair of F5s and a pair used for the access from the internet. 
    I am only going to focus on the method using an F5 Load Balancer and SSL Offloading. the setup of the F5 will not be covered in detail but a reference to the documentation to support SharePoint and SSL Offloading will be provided
    Since you arte going to be using SSL Offloading you do not need to extend your WebApps to use separate IIS WebSites with Unique IP Addresses
    Configure the F5 with SSL Offloading
    Configure a Internal AAM for SSL (HTTPS) for each WebApp that maps to the Public HTTP FQDN AAM Setting for each WebApp
    Our environment has an additional component we require RSA Authentication for all internet facing Sites. So we have the extra step of extending the WebApp to a separate IIS WebSite and configuring RSA for each extended WebSite.Reference:
    Reference SharePoint F5 Configuration:
    http://www.f5.com/featured/video/ssl-offloading/
    -Ivan

  • Porting portlets from WebSphere to Weblogic Portal Server

    How to Porting portlets from WebSphere to Weblogic Portal Server can any one help
    me by providing the suitable steps , or material to know how to go about it.
    Thanks in advance

    To be in same page, iam running the client program using the IBM jre and using all the websphere client jars set in classpath. This program conatins intial context factory as "com.ibm.websphere.naming.WsnInitialContextFactory" and provider url as "iiop://hostname:portnumber" it contacts the EJB bean method which is hosted on the weblogic server on the "hostname" machine. When it tries to contact i get the errror as
         "javax.naming.NameNotFoundException: Context: , name: java.iecc.env.ejb.elf.client_new(My JNDI name): First component in name java.iecc.env.ejb.elf.client_new not found. [Root exception is org.omg.CosNaming.NamingContextPackage.NotFound: IDL:omg.org/CosNaming/NamingContext/NotFound:1.0]"

  • OIM 9102 BP12 Migration from WebSphere 6.1 to Weblogic 10.3

    Hello,
    We're planning to move(9102BP12) from WebSphere6.1 to Weblogic10.3.
    I found Oracle metalink which says -
    ================================================
    JDK Migration restriction:
    You can only migrate to JDKs that falls with in the same groupings.
    Group 1: Sun JDK, Oracle JRockit, HP JDK
    Group 2: IBM JDK.
    Example: If you are running OC4J using Sun JDK then you can migrate to Oracle WebLogic Server using Sun JDK, Oracle JRockit or HP JDK. However, you can't migrate to IBM JDK.
    ==============================================
    This is because the data in the OIM schema is encrypted using the IBM's encryption libraries which are not available for Sun JDK. What i understand is that the IT resource configuration details are encrypted with installed JDK. However, if we re-configure the IT resource with Weblogic setup (after installing oim on Weblogic poining to the existing database), we could proceed with this migration.
    Has anyone executed Websphere to Weblogic migration before for OIM? Any input will help.
    Thanks,

    Sorry for the delay as I got busy with my current project. Here are the answers to your questions.
    1) If i install WLS point to existing OIMDB, do i necessarily need to copy old .databasekey from WAS environment?
    <Abhi>: Yes, you will have to copy these files to the WLS environment.
    2) During WLS install, it'll ask for xelsysadm password. Will this password overrides to existing one in OIM DB? And later on when i'll try to login to OIM-WLS using this password, will that work?
    <Abhi>: Yes, but are you planning to have different passwords. The xelsysadm password is stored in OIM database. So if you update it, it will reflect in all the OIM middle-tier instances attached to this database.
    How about handling the encrypted values in WLS environment:
    (1) IT resource params - reconfigure them after migration - through design console in Weblogic environment
    <Abhi>: Yes. you may have to review the values in the IT resource params and the other atrifacts as RO, process forms etc. But most of the work will be done by the deployment manager export/import functionality.
    (2) User password and security Q&A - We're using SSO to login to OIM, so not a concern
    <Abhi>: You are good with this.
    (3) UDF encrypted attribute - After doing the migration, if we run the user trusted recon 1 more time.. then all the user attrs values would be overriden (including encrytped UDF).
    <Abhi>: If there is an encrypted UDF field, you will have to take care of this manually. BTW, is this field encrypted on the OIM side as well as the application side.
    (4) Encrypted object/process forms - i've pending task to analyze if we've any such attrs(process form encrypted 'password' to target(e.g. AD) - i could think of such cases)
    <Abhi>: If there is something like this, you will have to take care of this manually. Check the possibility of writing a custom code to go thru the OIM users and dump the decrypted data in some file. Later you can update the selective user data in the new environment
    Did you follow the similar process? What issues did you face because of the IBM to SUN JDK use?
    <Abhi>: Yes, I followed the same steps and did not faced much issues. It was pretty straight-forward. Just make sure that the export/import using Deployment manager is successful.
    Please let me know if you have more questions.

  • Migrating from WebSphere 5.1 OR WebLogic 5.1 SP1 To SunOne App server 7

    Hi all,
    I have an application which is compatable with WebSphere 5.1 or WebLogic 5.1 SP1 and i want to move it to SunOne Application Server 7.
    the migration tool don't support these Versions, so can anyone tell me how to migrate or When the updated version of the Migrator Tool will be available?

    The migration too supports migration from SunOne Application Server 7 to weblogic 5.1 (http://wwws.sun.com/software/download/products/3f577172.html). Please check.

  • Problem with servlet after migrating from OC4J to WebLogic 10.3

    I come across a problem when I was migrating from jDev 11g TP4 to production version in that step also server got changed from OC4J to webLogic.
    I am running java http servlet along other jspx pages. When everything was on OC4J there was no problem whit security on this servlet ( servlet was under same authorization automatically, and I was able to create new application module on this servlet by createRootApplicationModule
    ) but when I changed to WebLogic 10.3 I come across a numerous problems. First one is solved i managed to put the servlet under same authorization as jspx pages by
    *&lt;servlet&gt;*
    *&lt;servlet-name&gt;report&lt;/servlet-name&gt;*
    *&lt;servlet-class&gt;path.to.class&lt;/servlet-class&gt;*
    *&lt;security-role-ref&gt;*
    *&lt;role-name&gt;name&lt;/role-name&gt;*
    *&lt;role-link&gt;valid-users&lt;/role-link&gt;*
    *&lt;/security-role-ref&gt;*
    *&lt;/servlet&gt;*
    but when I trying to create new application module I get JBO-30003 error which is Caused by:
    oracle.adf.share.security.ADFSecurityAuthenticationException: JAAS login error.
    Invalid null input: name
    Has anybody any idea what I am doing wrong?
    Thank you for your help, Rok Kogov&scaron;ek

    for example:
    web.xml
    <security-role>
    <role-name>yourrole</role-name>
    </security-role>
    weblogic.xml
    <security-role-assignment>
    <role-name>yourrole</role-name>
    <principal-name>wlsuser</principal-name > <!-- wlsuser is define at wls console-->
    </security-role-assignment>

  • Error in deploying entity beans - migration from JBoss to Weblogic 10.3.4

    Hi,
    I am migrating EJB2.x code from JBoss to Weblogic 10.3.4. As a first step, I am tyring to deploy just Entity beans. I get following error when deploying to server.
    'weblogic.application.ModuleException: Exception preparing module: EJBModule(myEJB.jar)
    Unable to deploy EJB: CollMetaData from myEJB.jar:
    [EJB:011017]Error while reading 'META-INF/weblogic-cmp-rdbms-jar.xml'. The error was:
    There are 1 nested errors:
    java.lang.NullPointerException
         at weblogic.ejb.container.cmp.rdbms.finders.EjbqlFinder.setMethods(EjbqlFinder.java:288)
         at weblogic.ejb.container.cmp.rdbms.Deployer.processFinders(Deployer.java:744)
         at weblogic.ejb.container.cmp.rdbms.Deployer.readTypeSpecificData(Deployer.java:446)
         at weblogic.ejb.container.persistence.PersistenceType.setTypeSpecificFile(PersistenceType.java:506)
         at weblogic.ejb.container.persistence.PersistenceType.setupDeployer(PersistenceType.java:455)
         at weblogic.ejb.container.deployer.CMPInfoImpl.setup(CMPInfoImpl.java:118)
         at weblogic.ejb.container.deployer.EJBDeployer.prepare(EJBDeployer.java:1214)
         at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:442)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
         at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
         at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
         at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    Can someone help me fixing the issue?
    I changed schema locations of descriptor files as suggested at http://download.oracle.com/docs/cd/E17904_01/web.1111/e13706/overview.htm#i1074199 (see the third category for '*Enterprise Bean 2.1*' in the listing Table 1-1). Alternatively, you may see the schema locations for EJB2.0 directly at http://download.oracle.com/docs/cd/E17904_01/web.1111/e13719/dd_reference.htm#EJBPG481

    JRE version in JBoss is 1.6.0_16. JVM in web logic is pointing to jrockit_160_22_D1.1.1-3 which is come in the package. It doesn't seem to be related to JVM version mismatch.
    I think it is an issue with definitions in weblogic-cmp-rdbms-jar.xml file. How should be the definition of entity-descriptor appear for entity bean which has finder methods in ejb-jar.xml?
    Please see the snippets from corresponding descriptor files below.
    ejb-jar.xml
    =========
    <entity>
    <display-name>EmpBean</display-name>
    <ejb-name>EmpBean</ejb-name>
    <local-home>LocalEmpBeanHome</local-home>
    <local>LocalEmpBean</local>
    <ejb-class>EmpBeanBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.String</prim-key-class>
    <reentrant>False</reentrant>
    <cmp-version>2.x</cmp-version>
    <abstract-schema-name>EmpBean</abstract-schema-name>
    <cmp-field>
    <field-name>firstName</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>lastName</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>phone</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>address</field-name>
    </cmp-field>
    <primkey-field>lastName</primkey-field>
    <query>
    <query-method>
              <method-name>findByPrimaryKey</method-name>
                   <method-params>
                   <method-param>java.lang.String</method-param>
                   </method-params>
              </query-method>
              <ejb-ql>SELECT Object(o) FROM EmpBean o WHERE o.lastName= ?1</ejb-ql>
         </query>
    </entity>
    weblogic-jar.xml
    ============
    <weblogic-enterprise-bean>
    <ejb-name>EmpBean</ejb-name>
    <entity-descriptor>
         <pool>
              <max-beans-in-free-pool>20</max-beans-in-free-pool>
              <initial-beans-in-free-pool>5</initial-beans-in-free-pool>
         </pool>
    <persistence>
    <persistence-use>
    <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
    <type-version>6.0</type-version>
    <type-storage>meta-inf/weblogic-cmp-rdbms-jar.xml</type-storage>
    </persistence-use>
    <finders-load-bean>true</finders-load-bean>
    </persistence>
    </entity-descriptor>
    <local-jndi-name>ejb/EmpBean</local-jndi-name>
    </weblogic-enterprise-bean>
    weblogic-cmp-rdbms-jar.xml
    ====================
    <weblogic-rdbms-bean>
    <ejb-name>EmpBean</ejb-name>
    <data-source-jndi-name>mysqlDS</data-source-jndi-name>
    <table-map>
    <table-name>emp</table-name>
    <field-map>
    <cmp-field>firstName</cmp-field>
    <dbms-column>first_namel</dbms-column>
    </field-map>
    <field-map>
    <cmp-field>lastName</cmp-field>
    <dbms-column>last_name</dbms-column>
    </field-map>
    <field-map>
    <cmp-field>phone</cmp-field>
    <dbms-column>phone</dbms-column>
    </field-map>
    <field-map>
    <cmp-field>address</cmp-field>
    <dbms-column>address</dbms-column>
    </field-map>
    </table-map>
    <weblogic-rdbms-bean>
    Please ignore any typos that you may notice in above sample descriptions (because I just typed it here changing original names).
    When I try to deploy the application, I get error message as posted in my first post above in this thread. Please correct me if I am making any erros in descriptor files.
    Edited by: 839281 on Feb 25, 2011 10:55 AM
    Edited by: venkatp on Mar 1, 2011 9:31 AM

  • OIM Migration from version 9.1.0 to 9.1.0.2

    Hello Everybody,
    I'm working in a migration process of Oracle Identity Manager from 9.1.0 to 9.1.0.1 and them to 9.1.0.2.
    The process works Ok with the core of OIM but we having a problem with the migration of the AD connector.
    At the first time, we applied the process directly (according to the oracle documentation) and the object "user" looks corrupt.
    We call Oracle and they told us that the correct way to install a new version of the connector is importing it from a OIM new instalation (with the new connector), but this process corrupt the object "user".
    Did somebody work in a OIM migration process? Does somebody know the correct way to migrate OIM?
    Thanks.
    Regards.
    Walter.

    First you need to determine the Upgrade Path and methods available to the New Oracle Database 10g Release.
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14238/preup.htm#i1007814
    Refer the Oracle Upgrade Documentations on more information.
    Oracle® Database Upgrade Guide 10g Release 2 (10.2)
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14238/toc.htm
    Regards,
    Sabdar Syed.

  • Deploying ear application - migrating from OC4j to Weblogic

    I am trying to migrate application from OC4J to weblogic server. Apart from usual differences in descriptors, structure of EAR etc. I came across unusual error:
    "both the remote home and remote component interface must be specified. Currently, only one of them is specified"
    It is about deploying session bean. Usual EJB3 stateless session bean with local and remote interface, deployed without any problem on OC4J and JBoss. Of course, I know home interfaces are something to do with EJB 2.1, but this is EJB3 application and, I guess, Weblogic has full support for it. Does it? :)
    Anyway, is there workaround? Or am I missing something? I don't have to tell you what problems we will be facing if I have to restructure whole application with dozens and hundreds of session beans.
    Thanks a lot!

    OK. I just want to make sure that there are no problems with the deployment descriptors.
    To pin point the problem do the following in JDeveloper:
    1. Create a simple EJB 3.0 session bean
    2. On that session bean create a Sample Java Client.
    3. Run the Session Bean
    4. Run the Client
    5. If both are running fine, compare the deployment descriptors from the sample and your real application.
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Migration from tomcat to weblogic 10.3.2

    Hi,
    I am developing a web application, its a servlet which basically acts as a front end for a web service,
    and I use CXF for the web service client, tested under a development tomcat instance and worked fine.
    I have the spring framework and the rest jars in the lib:
    wsdl4j-1.6.1.jar
    wss4j-1.5.8.jar
    jaxb-api-2.0.jar
    cxf-2.2.3.jar
    while I try to migrate to weblogic 10.3.2 follow the change as in
    http://cxf.apache.org/docs/application-server-specific-configuration-guide.html#ApplicationServerSpecificConfigurationGuide-WebLogic
    Then I got the exception:
    java.lang.IncompatibleClassChangeError: Class com.ibm.wsdl.DefinitionImpl does not implement the requested interface javax.wsdl.extensions.AttributeExtensible
    at org.apache.cxf.wsdl11.WSDLServiceBuilder.copyExtensionAttributes(WSDLServiceBuilder.java:137)
    at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLServiceBuilder.java:277)
    I have been research on this problem for a while, found some posts from experts like Dan on Nable...
    but I still didn't get it, could anyone help on this.
    Joelking

    can u let us know how did you resolve this?

  • WebService migration from Websphere to Adobe LiveCycle ES 2.5

    Hi,
    I want to migrate the WebService from existing Websphere server to the LiveCycle ES 2.5
    Requirement is that I need to make sure that client application will require least number of changes. In other words, I should be able to recreate the webservice in LiveCycle ES 2.5 using the WSDL of the existing webservice (that is deployed in WebSphere). But whenever I create a process in workbench it creates a WSDL automatically (it creates webservice endpoint) for that process. In that case I am unable to use my older WSDL (the one which is being used in websphere app). Is there any way that I can use an existing WSDL in LiveCycle ES 2.5 and create a webservice in ES 2.5?
    If I try to use the WebService component of Foundation pack of LiveCycle ES then that won't work in my case because I am not calling any webservice from LiveCycle ES 2.5. Infact I am migrating an external or existing webservice into the LiveCycle without any major change in the WSDL and the client app.
    I have couple of approaches in mind but want to know what is the right, easier and cleaner way to do. Please advise!!
    Thanks in advance!

    I'm not sure I completely understand the question.  Is the existing webshere based web service a LiveCycle service?  If so  then the service should have very few changes when you move it to  LiveCycle running on a different application server.
    Yes, web service end points are automatically created for LiveCycle services by the LiveCycle software.  The contents are based on the applicaton setup, input/output variables, type of process (short or long lived) and a few other factors.  It is not controllable by the developer.
    The web service component in Foundation is for consuming web services as part of a LiveCycle process.  It doesn't control the web service end point.

  • Migrating from WebSphere 5.1

    Does the tool support WebSphere 5.1? I tried running it anyway over a J2EE application in WebSphere 5.1 and it worked fine except it did not create the EJB jar file in the EAR file at all. Are there any recommendations on a work around?
    Thanks.

    Hi Kristy:
    The migration tool does not work for WAS 5.1. Since the migration tool ignores DDs that have unrecognizable DOCTYPE inside them, it will leave them untouched, and not generate the equivalent Sun Appserver DDs.
    There is a way to handle this migration though. Try using the Assembly Tool available at http://wwws.sun.com/software/download/products/3ec10b05.html. It takes a assembled archive as input and creates Sun specific DDs after taking inputs from the user. Please try it.
    Sanjeev

  • Migrating from Websphere Application Developer 5.0 to 7.0

    Hello,
    I have my code in Websphere Application Developer v5.0. I need to migrate it to v7.0. We use hibernate framework in our code. I have never tried migrating the code before, so can anyone please guide me on how to do it.

    Hi Bharadwaj,
    This is not webspehere forum it weblogic workshop or OEPE forum.
    Please check with WASD forum in online and update there.
    But As it is also part of the eclipse I would say it would be normal way to upgrade the application by importing the application.
    Please check further in WASD forum on this issue.
    Regards,
    Kal

  • Deployment changes from websphere to weblogic

    Hi gurus,
    I am trying to deploy a sample application written for websphere V5.1 to weblogic8.1, what are the changes i need to do to the code and as well deployment descriptors.
    I have lot of CMPs and a common ejb-jar.xml, ibm-ejb-jar-bnd.xmi and ibm-ejb-jar-ext.xmi. How can i convert these into weblogic's ejb-jar.xml ( i guess it is same for both), weblogic-cmp-rdbms-jar.xml and weblogic-ejb-jar.xml.
    And for session beans and jsps what are the changes i need to focus...and any at code level also ?
    It is highly appreciated if anyone could show some light on this...thanks in advance.
    cheers,
    kuru

    hiya,
    thanks for the reply, i figured that "ibm-ejb-jar-bnd.xmi" is used for JNDI binding just like "weblogic-ejb-jar.xml" does, where as what is this xmi will do "ibm-ejb-jar-ext.xmi". Yes, am really glad am not using EJB1.1 spec of old websphere. What paremeters from the Webshpere's CMP i can provide in weblogic-cmp-rdbms-jar.xml.
    thanks,
    kuru
    ibm-ejb-jar-ext.xmi :
    <?xml version="1.0" encoding="UTF-8"?>
    <ejbext:EJBJarExtension xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ejbext="ejbext.xmi" xmlns:ejb="ejb.xmi" xmi:id="EJBJarExtension_1047304095329">
    <ejbExtensions xmi:type="ejbext:ContainerManagedEntityExtension" xmi:id="ContainerManagedEntityExtension_1047304095345" name="Accountspayable">
    <enterpriseBean xmi:type="ejb:ContainerManagedEntity" href="META-INF/ejb-jar.xml#ContainerManagedEntity_1047304094642"/>
    </ejbExtensions>
    <ejbExtensions xmi:type="ejbext:ContainerManagedEntityExtension" xmi:id="ContainerManagedEntityExtension_1047304095346" name="Registration">
    <enterpriseBean xmi:type="ejb:ContainerManagedEntity" href="META-INF/ejb-jar.xml#ContainerManagedEntity_1047304094704"/>
    </ejbExtensions>
    <ejbExtensions xmi:type="ejbext:ContainerManagedEntityExtension" xmi:id="ContainerManagedEntityExtension_1047304095347" name="Address">
    <enterpriseBean xmi:type="ejb:ContainerManagedEntity" href="META-INF/ejb-jar.xml#ContainerManagedEntity_1047304094767"/>
    </ejbExtensions>
    <ejbExtensions xmi:type="ejbext:ContainerManagedEntityExtension" xmi:id="ContainerManagedEntityExtension_1047304095348" name="Bid">
    <enterpriseBean xmi:type="ejb:ContainerManagedEntity" href="META-INF/ejb-jar.xml#ContainerManagedEntity_1047304094814"/>
    </ejbExtensions>
    <ejbExtensions xmi:type="ejbext:ContainerManagedEntityExtension" xmi:id="ContainerManagedEntityExtension_1047304095349" name="Onlineitem">
    <enterpriseBean xmi:type="ejb:ContainerManagedEntity" href="META-INF/ejb-jar.xml#ContainerManagedEntity_1047304094892"/>
    </ejbExtensions>
    <ejbExtensions xmi:type="ejbext:ContainerManagedEntityExtension" xmi:id="ContainerManagedEntityExtension_1047304095350" name="Sale">
    <enterpriseBean xmi:type="ejb:ContainerManagedEntity" href="META-INF/ejb-jar.xml#ContainerManagedEntity_1047304094939"/>
    </ejbExtensions>
    <ejbJar href="META-INF/ejb-jar.xml#ejb-jar_ID"/>
    </ejbext:EJBJarExtension>
    ibm-ejb-jar-bnd.xmi:
    <?xml version="1.0" encoding="UTF-8"?>
    <ejbbnd:EJBJarBinding xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ejbbnd="ejbbnd.xmi" xmlns:ejb="ejb.xmi" xmlns:commonbnd="commonbnd.xmi" xmlns:common="common.xmi" xmi:id="EJBJarBinding_1047304095079" currentBackendId="DB2UDBNT_V72_1">
    <ejbJar href="META-INF/ejb-jar.xml#ejb-jar_ID"/>
    <ejbBindings xmi:id="EnterpriseBeanBinding_1047304095079" jndiName="ejb/com/acme/ejb/AccountspayableLocalHome">
    <enterpriseBean xmi:type="ejb:ContainerManagedEntity" href="META-INF/ejb-jar.xml#ContainerManagedEntity_1047304094642"/>
    <ejbRefBindings xmi:id="EjbRefBinding_1047304095079" jndiName="ejb/com/acme/ejb/RegistrationLocalHome">
    <bindingEjbRef xmi:type="common:EJBLocalRef" href="META-INF/ejb-jar.xml#EJBLocalRef_1047304095079"/>
    </ejbRefBindings>
    </ejbBindings>
    <ejbBindings xmi:id="EnterpriseBeanBinding_1047304095080" jndiName="ejb/com/acme/ejb/RegistrationLocalHome">
    <enterpriseBean xmi:type="ejb:ContainerManagedEntity" href="META-INF/ejb-jar.xml#ContainerManagedEntity_1047304094704"/>
    <ejbRefBindings xmi:id="EjbRefBinding_1047304095080" jndiName="ejb/com/acme/ejb/AccountspayableLocalHome">
    <bindingEjbRef xmi:type="common:EJBLocalRef" href="META-INF/ejb-jar.xml#EJBLocalRef_1047304095080"/>
    </ejbRefBindings>
    <ejbRefBindings xmi:id="EjbRefBinding_1047304095111" jndiName="ejb/com/acme/ejb/AddressLocalHome">
    <bindingEjbRef xmi:type="common:EJBLocalRef" href="META-INF/ejb-jar.xml#EJBLocalRef_1047304095111"/>
    </ejbRefBindings>
    <ejbRefBindings xmi:id="EjbRefBinding_1047304095142" jndiName="ejb/com/acme/ejb/BidLocalHome">
    <bindingEjbRef xmi:type="common:EJBLocalRef" href="META-INF/ejb-jar.xml#EJBLocalRef_1047304095142"/>
    </ejbRefBindings>
    <ejbRefBindings xmi:id="EjbRefBinding_1047304095189" jndiName="ejb/com/acme/ejb/SaleLocalHome">
    <bindingEjbRef xmi:type="common:EJBLocalRef" href="META-INF/ejb-jar.xml#EJBLocalRef_1047304095189"/>
    </ejbRefBindings>
    </ejbBindings>
    <ejbBindings xmi:id="EnterpriseBeanBinding_1047304095220" jndiName="ejb/com/acme/ejb/AddressLocalHome">
    <enterpriseBean xmi:type="ejb:ContainerManagedEntity" href="META-INF/ejb-jar.xml#ContainerManagedEntity_1047304094767"/>
    <ejbRefBindings xmi:id="EjbRefBinding_1047304095220" jndiName="ejb/com/acme/ejb/RegistrationLocalHome">
    <bindingEjbRef xmi:type="common:EJBLocalRef" href="META-INF/ejb-jar.xml#EJBLocalRef_1047304095220"/>
    </ejbRefBindings>
    </ejbBindings>
    <ejbBindings xmi:id="EnterpriseBeanBinding_1047304095221" jndiName="ejb/com/acme/ejb/BidLocalHome">
    <enterpriseBean xmi:type="ejb:ContainerManagedEntity" href="META-INF/ejb-jar.xml#ContainerManagedEntity_1047304094814"/>
    <ejbRefBindings xmi:id="EjbRefBinding_1047304095221" jndiName="ejb/com/acme/ejb/RegistrationLocalHome">
    <bindingEjbRef xmi:type="common:EJBLocalRef" href="META-INF/ejb-jar.xml#EJBLocalRef_1047304095221"/>
    </ejbRefBindings>
    <ejbRefBindings xmi:id="EjbRefBinding_1047304095283" jndiName="ejb/com/acme/ejb/OnlineitemLocalHome">
    <bindingEjbRef xmi:type="common:EJBLocalRef" href="META-INF/ejb-jar.xml#EJBLocalRef_1047304095283"/>
    </ejbRefBindings>
    </ejbBindings>
    <ejbBindings xmi:id="EnterpriseBeanBinding_1047304095298" jndiName="ejb/com/acme/ejb/OnlineitemLocalHome">
    <enterpriseBean xmi:type="ejb:ContainerManagedEntity" href="META-INF/ejb-jar.xml#ContainerManagedEntity_1047304094892"/>
    <ejbRefBindings xmi:id="EjbRefBinding_1047304095298" jndiName="ejb/com/acme/ejb/BidLocalHome">
    <bindingEjbRef xmi:type="common:EJBLocalRef" href="META-INF/ejb-jar.xml#EJBLocalRef_1047304095298"/>
    </ejbRefBindings>
    <ejbRefBindings xmi:id="EjbRefBinding_1047304095299" jndiName="ejb/com/acme/ejb/SaleLocalHome">
    <bindingEjbRef xmi:type="common:EJBLocalRef" href="META-INF/ejb-jar.xml#EJBLocalRef_1047304095299"/>
    </ejbRefBindings>
    </ejbBindings>
    <ejbBindings xmi:id="EnterpriseBeanBinding_1047304095299" jndiName="ejb/com/acme/ejb/SaleLocalHome">
    <enterpriseBean xmi:type="ejb:ContainerManagedEntity" href="META-INF/ejb-jar.xml#ContainerManagedEntity_1047304094939"/>
    <ejbRefBindings xmi:id="EjbRefBinding_1047304095300" jndiName="ejb/com/acme/ejb/OnlineitemLocalHome">
    <bindingEjbRef xmi:type="common:EJBLocalRef" href="META-INF/ejb-jar.xml#EJBLocalRef_1047304095300"/>
    </ejbRefBindings>
    <ejbRefBindings xmi:id="EjbRefBinding_1047304095314" jndiName="ejb/com/acme/ejb/RegistrationLocalHome">
    <bindingEjbRef xmi:type="common:EJBLocalRef" href="META-INF/ejb-jar.xml#EJBLocalRef_1047304095314"/>
    </ejbRefBindings>
    </ejbBindings>
    <defaultCMPConnectionFactory xmi:id="CMPConnectionFactoryBinding_1047393457625" jndiName="jdbc/dreamauc" resAuth="Per_Connection_Factory"/>
    </ejbbnd:EJBJarBinding>
    ejb-jar.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
    <ejb-jar id="ejb-jar_ID">
         <display-name>AuctionEJB</display-name>
         <enterprise-beans>
              <entity id="ContainerManagedEntity_1047304094642">
                   <ejb-name>Accountspayable</ejb-name>
                   <local-home>com.acme.ejb.AccountspayableLocalHome</local-home>
                   <local>com.acme.ejb.AccountspayableLocal</local>
                   <ejb-class>com.acme.ejb.AccountspayableBean</ejb-class>
                   <persistence-type>Container</persistence-type>
                   <prim-key-class>com.acme.ejb.AccountspayableKey</prim-key-class>
                   <reentrant>False</reentrant>
                   <cmp-version>2.x</cmp-version>
                   <abstract-schema-name>Accountspayable</abstract-schema-name>
                   <cmp-field id="CMPAttribute_1047304094548">
                        <field-name>recordid</field-name>
                   </cmp-field>
                   <cmp-field id="CMPAttribute_1047304094549">
                        <field-name>transactionid</field-name>
                   </cmp-field>
                   <cmp-field id="CMPAttribute_1047304094595">
                        <field-name>chequenumber</field-name>
                   </cmp-field>
                   <cmp-field id="CMPAttribute_1047304094596">
                        <field-name>amount</field-name>
                   </cmp-field>
                   <ejb-local-ref id="EJBLocalRef_1047304095079">
                        <ejb-ref-name>ejb/Registration</ejb-ref-name>
                        <ejb-ref-type>Entity</ejb-ref-type>
                        <local-home>com.acme.ejb.RegistrationLocalHome</local-home>
                        <local>com.acme.ejb.RegistrationLocal</local>
                        <ejb-link>Registration</ejb-link>
                   </ejb-local-ref>
              </entity>
              <entity id="ContainerManagedEntity_1047304094704">
                   <ejb-name>Registration</ejb-name>
                   <local-home>com.acme.ejb.RegistrationLocalHome</local-home>
                   <local>com.acme.ejb.RegistrationLocal</local>
                   <ejb-class>com.acme.ejb.RegistrationBean</ejb-class>
                   <persistence-type>Container</persistence-type>
                   <prim-key-class>com.acme.ejb.RegistrationKey</prim-key-class>
                   <reentrant>False</reentrant>
                   <cmp-version>2.x</cmp-version>
                   <abstract-schema-name>Registration</abstract-schema-name>
                   <cmp-field id="CMPAttribute_1047304094642">
                        <field-name>userid</field-name>
                   </cmp-field>
                   <cmp-field id="CMPAttribute_1047304094658">
                        <field-name>email</field-name>
                   </cmp-field>
                   <cmp-field id="CMPAttribute_1047304094659">
                        <field-name>passwd</field-name>
                   </cmp-field>
                   <cmp-field id="CMPAttribute_1047304094673">
                        <field-name>name</field-name>
                   </cmp-field>
                   <cmp-field id="CMPAttribute_1047304094674">
                        <field-name>cardtype</field-name>
                   </cmp-field>
                   <cmp-field id="CMPAttribute_1047304094675">
                        <field-name>acctnum</field-name>
                   </cmp-field>
                   <cmp-field id="CMPAttribute_1047304094689">
                        <field-name>expiry</field-name>
                   </cmp-field>
                   <ejb-local-ref id="EJBLocalRef_1047304095080">
                        <ejb-ref-name>ejb/Accountspayable</ejb-ref-name>
                        <ejb-ref-type>Entity</ejb-ref-type>
                        <local-home>com.acme.ejb.AccountspayableLocalHome</local-home>
                        <local>com.acme.ejb.AccountspayableLocal</local>
                        <ejb-link>Accountspayable</ejb-link>
                   </ejb-local-ref>
                   <ejb-local-ref id="EJBLocalRef_1047304095111">
                        <ejb-ref-name>ejb/Address</ejb-ref-name>
                        <ejb-ref-type>Entity</ejb-ref-type>
                        <local-home>com.acme.ejb.AddressLocalHome</local-home>
                        <local>com.acme.ejb.AddressLocal</local>
                        <ejb-link>Address</ejb-link>
                   </ejb-local-ref>
                   <ejb-local-ref id="EJBLocalRef_1047304095142">
                        <ejb-ref-name>ejb/Bid</ejb-ref-name>
                        <ejb-ref-type>Entity</ejb-ref-type>
                        <local-home>com.acme.ejb.BidLocalHome</local-home>
                        <local>com.acme.ejb.BidLocal</local>
                        <ejb-link>Bid</ejb-link>
                   </ejb-local-ref>
                   <ejb-local-ref id="EJBLocalRef_1047304095189">
                        <ejb-ref-name>ejb/Sale</ejb-ref-name>
                        <ejb-ref-type>Entity</ejb-ref-type>
                        <local-home>com.acme.ejb.SaleLocalHome</local-home>
                        <local>com.acme.ejb.SaleLocal</local>
                        <ejb-link>Sale</ejb-link>
                   </ejb-local-ref>
                   <query>
                        <description></description>
                        <query-method>
                             <method-name>findAll</method-name>
                             <method-params>
                             </method-params>
                        </query-method>
                        <ejb-ql>select object(r) from Registration r</ejb-ql>
                   </query>
              </entity>
              <entity id="ContainerManagedEntity_1047304094767">
                   <ejb-name>Address</ejb-name>
                   <local-home>com.acme.ejb.AddressLocalHome</local-home>
                   <local>com.acme.ejb.AddressLocal</local>
                   <ejb-class>com.acme.ejb.AddressBean</ejb-class>
                   <persistence-type>Container</persistence-type>
                   <prim-key-class>com.acme.ejb.AddressKey</prim-key-class>
                   <reentrant>False</reentrant>
                   <cmp-version>2.x</cmp-version>
                   <abstract-schema-name>Address</abstract-schema-name>
                   <cmp-field id="CMPAttribute_1047304094720">
                        <field-name>addressid</field-name>
                   </cmp-field>
                   <cmp-field id="CMPAttribute_1047304094736">
                        <field-name>street</field-name>
                   </cmp-field>
                   <cmp-field id="CMPAttribute_1047304094737">
                        <field-name>city</field-name>
                   </cmp-field>
                   <cmp-field id="CMPAttribute_1047304094738">
                        <field-name>state</field-name>
                   </cmp-field>
                   <cmp-field id="CMPAttribute_1047304094751">
                        <field-name>zip</field-name>
                   </cmp-field>
                   <cmp-field id="CMPAttribute_1047304094752">
                        <field-name>phonenum</field-name>
                   </cmp-field>
                   <ejb-local-ref id="EJBLocalRef_1047304095220">
                        <ejb-ref-name>ejb/Registration</ejb-ref-name>
                        <ejb-ref-type>Entity</ejb-ref-type>
                        <local-home>com.acme.ejb.RegistrationLocalHome</local-home>
                        <local>com.acme.ejb.RegistrationLocal</local>
                        <ejb-link>Registration</ejb-link>
                   </ejb-local-ref>
              </entity>
              <entity id="ContainerManagedEntity_1047304094814">
                   <ejb-name>Bid</ejb-name>
                   <local-home>com.acme.ejb.BidLocalHome</local-home>
                   <local>com.acme.ejb.BidLocal</local>
                   <ejb-class>com.acme.ejb.BidBean</ejb-class>
                   <persistence-type>Container</persistence-type>
                   <prim-key-class>com.acme.ejb.BidKey</prim-key-class>
                   <reentrant>False</reentrant>
                   <cmp-version>2.x</cmp-version>
                   <abstract-schema-name>Bid</abstract-schema-name>
                   <cmp-field id="CMPAttribute_1047304094767">
                        <field-name>bidid</field-name>
                   </cmp-field>
                   <cmp-field id="CMPAttribute_1047304094783">
                        <field-name>currentbid</field-name>
                   </cmp-field>
                   <cmp-field id="CMPAttribute_1047304094784">
                        <field-name>maximumbid</field-name>
                   </cmp-field>
                   <cmp-field id="CMPAttribute_1047304094785">
                        <field-name>bidincrement</field-name>
                   </cmp-field>
                   <ejb-local-ref id="EJBLocalRef_1047304095221">
                        <ejb-ref-name>ejb/Registration</ejb-ref-name>
                        <ejb-ref-type>Entity</ejb-ref-type>
                        <local-home>com.acme.ejb.RegistrationLocalHome</local-home>
                        <local>com.acme.ejb.RegistrationLocal</local>
                        <ejb-link>Registration</ejb-link>
                   </ejb-local-ref>
                   <ejb-local-ref id="EJBLocalRef_1047304095283">
                        <ejb-ref-name>ejb/Onlineitem</ejb-ref-name>
                        <ejb-ref-type>Entity</ejb-ref-type>
                        <local-home>com.acme.ejb.OnlineitemLocalHome</local-home>
                        <local>com.acme.ejb.OnlineitemLocal</local>
                        <ejb-link>Onlineitem</ejb-link>
                   </ejb-local-ref>
                   <query>
                        <description></description>
                        <query-method>
                             <method-name>findAutoBids</method-name>
                             <method-params>
                                  <method-param>java.lang.Integer</method-param>
                             </method-params>
                        </query-method>
                        <ejb-ql>select object(b) from Bid b where b.fk_itemtypeid.itemtypeid = ?1 and b.maximumbid >= b.fk_itemtypeid.lastbid + b.bidincrement</ejb-ql>
                   </query>
                   <query>
                        <description></description>
                        <query-method>
                             <method-name>findHighestBid</method-name>
                             <method-params>
                                  <method-param>java.lang.Integer</method-param>
                             </method-params>
                        </query-method>
                        <ejb-ql>select object(b) from Bid b where b.fk_itemtypeid.itemtypeid = ?1 and b.currentbid = (select max(b1.currentbid) from Bid b1 where b1.fk_itemtypeid.itemtypeid = ?1)</ejb-ql>
                   </query>
              </entity>
              <entity id="ContainerManagedEntity_1047304094892">
                   <ejb-name>Onlineitem</ejb-name>
                   <local-home>com.acme.ejb.OnlineitemLocalHome</local-home>
                   <local>com.acme.ejb.OnlineitemLocal</local>
                   <ejb-class>com.acme.ejb.OnlineitemBean</ejb-class>
                   <persistence-type>Container</persistence-type>
                   <prim-key-class>com.acme.ejb.OnlineitemKey</prim-key-class>
                   <reentrant>False</reentrant>
                   <cmp-version>2.x</cmp-version>
                   <abstract-schema-name>Onlineitem</abstract-schema-name>
                   <cmp-field id="CMPAttribute_1047304094814">
                        <field-name>itemtypeid</field-name>
                   </cmp-field>
                   <cmp-field id="CMPAttribute_1047304094815">
                        <field-name>catalognumber</field-name>
                   </cmp-field>
                   <cmp-field id="CMPAttribute_1047304094829">
                        <field-name>title</field-name>
                   </cmp-field>
                   <cmp-field id="CMPAttribute_1047304094830">
                        <field-name>description</field-name>
                   </cmp-field>
                   <cmp-field id="CMPAttribute_1047304094831">
                        <field-name>value</field-name>
                   </cmp-field>
                   <cmp-field id="CMPAttribute_1047304094845">
                        <field-name>startingbid</field-name>
                   </cmp-field>
                   <cmp-field id="CMPAttribute_1047304094846">
                        <field-name>imagelocn</field-name>
                   </cmp-field>
                   <cmp-field id="CMPAttribute_1047304094861">
                        <field-name>imagelocnsm</field-name>
                   </cmp-field>
                   <cmp-field id="CMPAttribute_1047304094862">
                        <field-name>lastbid</field-name>
                   </cmp-field>
                   <cmp-field id="CMPAttribute_1047304094863">
                        <field-name>lastbidder</field-name>
                   </cmp-field>
                   <cmp-field id="CMPAttribute_1047304094876">
                        <field-name>startbidding</field-name>
                   </cmp-field>
                   <cmp-field id="CMPAttribute_1047304094877">
                        <field-name>endbidding</field-name>
                   </cmp-field>
                   <cmp-field id="CMPAttribute_1047304094878">
                        <field-name>status</field-name>
                   </cmp-field>
                   <ejb-local-ref id="EJBLocalRef_1047304095298">
                        <ejb-ref-name>ejb/Bid</ejb-ref-name>
                        <ejb-ref-type>Entity</ejb-ref-type>
                        <local-home>com.acme.ejb.BidLocalHome</local-home>
                        <local>com.acme.ejb.BidLocal</local>
                        <ejb-link>Bid</ejb-link>
                   </ejb-local-ref>
                   <ejb-local-ref id="EJBLocalRef_1047304095299">
                        <ejb-ref-name>ejb/Sale</ejb-ref-name>
                        <ejb-ref-type>Entity</ejb-ref-type>
                        <local-home>com.acme.ejb.SaleLocalHome</local-home>
                        <local>com.acme.ejb.SaleLocal</local>
                        <ejb-link>Sale</ejb-link>
                   </ejb-local-ref>
                   <query>
                        <description></description>
                        <query-method>
                             <method-name>findByValue</method-name>
                             <method-params>
                                  <method-param>long</method-param>
                             </method-params>
                        </query-method>
                        <ejb-ql>select object(o) from Onlineitem as o where o.value <= ?1</ejb-ql>
                   </query>
              </entity>
              <entity id="ContainerManagedEntity_1047304094939">
                   <ejb-name>Sale</ejb-name>
                   <local-home>com.acme.ejb.SaleLocalHome</local-home>
                   <local>com.acme.ejb.SaleLocal</local>
                   <ejb-class>com.acme.ejb.SaleBean</ejb-class>
                   <persistence-type>Container</persistence-type>
                   <prim-key-class>com.acme.ejb.SaleKey</prim-key-class>
                   <reentrant>False</reentrant>
                   <cmp-version>2.x</cmp-version>
                   <abstract-schema-name>Sale</abstract-schema-name>
                   <cmp-field id="CMPAttribute_1047304094892">
                        <field-name>saleid</field-name>
                   </cmp-field>
                   <cmp-field id="CMPAttribute_1047304094893">
                        <field-name>amount</field-name>
                   </cmp-field>
                   <cmp-field id="CMPAttribute_1047304094908">
                        <field-name>credittrans</field-name>
                   </cmp-field>
                   <cmp-field id="CMPAttribute_1047304094909">
                        <field-name>deliveryorderid</field-name>
                   </cmp-field>
                   <cmp-field id="CMPAttribute_1047304094910">
                        <field-name>delivered</field-name>
                   </cmp-field>
                   <cmp-field id="CMPAttribute_1047304094923">
                        <field-name>paid</field-name>
                   </cmp-field>
                   <cmp-field id="CMPAttribute_1047304094924">
                        <field-name>datestarted</field-name>
                   </cmp-field>
                   <cmp-field id="CMPAttribute_1047304094925">
                        <field-name>state</field-name>
                   </cmp-field>
                   <ejb-local-ref id="EJBLocalRef_1047304095300">
                        <ejb-ref-name>ejb/Onlineitem</ejb-ref-name>
                        <ejb-ref-type>Entity</ejb-ref-type>
                        <local-home>com.acme.ejb.OnlineitemLocalHome</local-home>
                        <local>com.acme.ejb.OnlineitemLocal</local>
                        <ejb-link>Onlineitem</ejb-link>
                   </ejb-local-ref>
                   <ejb-local-ref id="EJBLocalRef_1047304095314">
                        <ejb-ref-name>ejb/Registration</ejb-ref-name>
                        <ejb-ref-type>Entity</ejb-ref-type>
                        <local-home>com.acme.ejb.RegistrationLocalHome</local-home>
                        <local>com.acme.ejb.RegistrationLocal</local>
                        <ejb-link>Registration</ejb-link>
                   </ejb-local-ref>
                   <query>
                        <description>Find all expired items that have not been processed (buyerid = null). the bidding time has ended (endbidding <= current time) and that there has been at least one bid (lastbid not null)
    -</description>
                        <query-method>
                             <method-name>findExpiredItems</method-name>
                             <method-params>
                                  <method-param>java.sql.Timestamp</method-param>
                             </method-params>
                        </query-method>
                        <ejb-ql>select DISTINCT object(o) from Sale as o where (o.fk_buyerid is null) and (o.fk_itemid.endbidding<=?1) and (o.fk_itemid.lastbid is not null)</ejb-ql>
                   </query>
              </entity>
         </enterprise-beans>
         <relationships>
              <ejb-relation>
                   <description></description>
                   <ejb-relation-name>Accountspayable_To_Registration</ejb-relation-name>
                   <ejb-relationship-role id="EJBRelationshipRole_1047304094611">
                        <ejb-relationship-role-name>fk_userid</ejb-relationship-role-name>
                        <multiplicity>Many</multiplicity>
                        <relationship-role-source>
                             <ejb-name>Accountspayable</ejb-name>
                        </relationship-role-source>
                        <cmr-field>
                             <cmr-field-name>fk_userid</cmr-field-name>
                        </cmr-field>
                   </ejb-relationship-role>
                   <ejb-relationship-role id="EJBRelationshipRole_1047304094626">
                        <ejb-relationship-role-name>accountspayable</ejb-relationship-role-name>
                        <multiplicity>One</multiplicity>
                        <relationship-role-source>
                             <ejb-name>Registration</ejb-name>
                        </relationship-role-source>
                        <cmr-field>
                             <cmr-field-name>accountspayable</cmr-field-name>
                             <cmr-field-type>java.util.Collection</cmr-field-type>
                        </cmr-field>
                   </ejb-relationship-role>
              </ejb-relation>
              <ejb-relation>
                   <description></description>
                   <ejb-relation-name>Bid_To_Registration</ejb-relation-name>
                   <ejb-relationship-role id="EJBRelationshipRole_1047304094798">
                        <ejb-relationship-role-name>fk_bidderid</ejb-relationship-role-name>
                        <multiplicity>Many</multiplicity>
                        <relationship-role-source>
                             <ejb-name>Bid</ejb-name>
                        </relationship-role-source>
                        <cmr-field>
                             <cmr-field-name>fk_bidderid</cmr-field-name>
                        </cmr-field>
                   </ejb-relationship-role>
                   <ejb-relationship-role id="EJBRelationshipRole_1047304094799">
                        <ejb-relationship-role-name>bid</ejb-relationship-role-name>
                        <multiplicity>One</multiplicity>
                        <relationship-role-source>
                             <ejb-name>Registration</ejb-name>
                        </relationship-role-source>
                        <cmr-field>
                             <cmr-field-name>bid</cmr-field-name>
                             <cmr-field-type>java.util.Collection</cmr-field-type>
                        </cmr-field>
                   </ejb-relationship-role>
              </ejb-relation>
              <ejb-relation>
                   <description></description>
                   <ejb-relation-name>Sale_To_Registration</ejb-relation-name>
                   <ejb-relationship-role id="EJBRelationshipRole_1047304094923">
                        <ejb-relationship-role-name>fk_buyerid</ejb-relationship-role-name>
                        <multiplicity>Many</multiplicity>
                        <relationship-role-source>
                             <ejb-name>Sale</ejb-name>
                        </relationship-role-source>
                        <cmr-field>
                             <cmr-field-name>fk_buyerid</cmr-field-name>
                        </cmr-field>
                   </ejb-relationship-role>
                   <ejb-relationship-role id="EJBRelationshipRole_1047304094939">
                        <ejb-relationship-role-name>sale</ejb-relationship-role-name>
                        <multiplicity>One</multiplicity>
                        <relationship-role-source>
                             <ejb-name>Registration</ejb-name>
                        </relationship-role-source>
                        <cmr-field>
                             <cmr-field-name>sale</cmr-field-name>
                             <cmr-field-type>java.util.Collection</cmr-field-type>
                        </cmr-field>
                   </ejb-relationship-role>
              </ejb-relation>
              <ejb-relation>
                   <description></description>
                   <ejb-relation-name>Sale_To_Registration4</ejb-relation-name>
                   <ejb-relationship-role id="EJBRelationshipRole_1047304094940">
                        <ejb-relationship-role-name>fk_sellerid</ejb-relationship-role-name>
                        <multiplicity>Many</multiplicity>
                        <relationship-role-source>
                             <ejb-name>Sale</ejb-name>
                        </relationship-role-source>
                        <cmr-field>
                             <cmr-field-name>fk_sellerid</cmr-field-name>
                        </cmr-field>
                   </ejb-relationship-role>
                   <ejb-relationship-role id="EJBRelationshipRole_1047304094941">
                        <ejb-relationship-role-name>sale1</ejb-relationship-role-name>
                        <multiplicity>One</multiplicity>
                        <relationship-role-source>
                             <ejb-name>Registration</ejb-name>
                        </relationship-role-source>
                        <cmr-field>
                             <cmr-field-name>sale1</cmr-field-name>
                             <cmr-field-type>java.util.Collection</cmr-field-type>
                        </cmr-field>
                   </ejb-relationship-role>
              </ejb-relation>
              <ejb-relation>
                   <description></description>
                   <ejb-relation-name>Registration_To_Address</ejb-relation-name>
                   <ejb-relationship-role id="EJBRelationshipRole_1047304094704">
                        <ejb-relationship-role-name>fk_billingaddress</ejb-relationship-role-name>
                        <multiplicity>Many</multiplicity>
                        <relationship-role-source>
                             <ejb-name>Registration</ejb-name>
                        </relationship-role-source>
                        <cmr-field>
                             <cmr-field-name>fk_billingaddress</cmr-field-name>
                        </cmr-field>
                   </ejb-relationship-role>
                   <ejb-relationship-role id="EJBRelationshipRole_1047304094705">
                        <ejb-relationship-role-name>registration</ejb-relationship-role-name>
                        <multiplicity>One</multiplicity>
                        <relationship-role-source>
                             <ejb-name>Address</ejb-name>
                        </relationship-role-source>
                        <cmr-field>
                             <cmr-field-name>registration</cmr-field-name>
                             <cmr-field-type>java.util.Collection</cmr-field-type>
                        </cmr-field>
                   </ejb-relationship-role>
              </ejb-relation>
              <ejb-relation>
                   <description></description>
                   <ejb-relation-name>Registration_To_Address3</ejb-relation-name>
                   <ejb-relationship-role id="EJBRelationshipRole_1047304094706">
                        <ejb-relationship-role-name>fk_shipaddress</ejb-relationship-role-name>
                        <multiplicity>Many</multiplicity>
                        <relationship-role-source>
                             <ejb-name>Registration</ejb-name>
                        </relationship-role-source>
                        <cmr-field>
                             <cmr-field-name>fk_shipaddress</cmr-field-name>
                        </cmr-field>
                   </ejb-relationship-role>
                   <ejb-relationship-role id="EJBRelationshipRole_1047304094707">
                        <ejb-relationship-role-name>registration2</ejb-relationship-role-name>
                        <multiplicity>One</multiplicity>
                        <relationship-role-source>
                             <ejb-name>Address</ejb-name>
                        </relationship-role-source>
                        <cmr-field>
                             <cmr-field-name>registration2</cmr-field-name>
                             <cmr-field-type>java.util.Collection</cmr-field-type>
                        </cmr-field>
                   </ejb-relationship-role>
              </ejb-relation>
              <ejb-relation>
                   <description></description>
                   <ejb-relation-name>Bid_To_Onlineitem</ejb-relation-name>
                   <ejb-relationship-role id="EJBRelationshipRole_1047304094800">
                        <ejb-relationship-role-name>fk_itemtypeid</ejb-relationship-role-name>
                        <multiplicity>Many</multiplicity>
                        <relationship-role-source>
                             <ejb-name>Bid</ejb-name>
                        </relationship-role-source>
                        <cmr-field>
                             <cmr-field-name>fk_itemtypeid</cmr-field-name>
                        </cmr-field>
                   </ejb-relationship-role>
                   <ejb-relationship-role id="EJBRelationshipRole_1047304094801">
                        <ejb-relationship-role-name>bid</ejb-relationship-role-name>
                        <multiplicity>One</multiplicity>
                        <relationship-role-source>
                             <ejb-name>Onlineitem</ejb-name>
                        </relationship-role-source>
                        <cmr-field>
                             <cmr-field-name>bid</cmr-field-name>
                             <cmr-field-type>java.util.Collection</cmr-field-type>
                        </cmr-field>
                   </ejb-relationship-role>
              </ejb-relation>
              <ejb-relation>
                   <description></description>
                   <ejb-relation-name>Sale_To_Onlineitem</ejb-relation-name>
                   <ejb-relationship-role id="EJBRelationshipRole_1047304094942">
                        <ejb-relationship-role-name>fk_itemid</ejb-relationship-role-name>
                        <multiplicity>Many</multiplicity>
                        <relationship-role-source>
                             <ejb-name>Sale</ejb-name>
                        </relationship-role-source>
                        <cmr-field>
                             <cmr-field-name>fk_itemid</cmr-field-name>
                        </cmr-field>
                   </ejb-relationship-role>
                   <ejb-relationship-role id="EJBRelationshipRole_1047304094943">
                        <ejb-relationship-role-name>sale</ejb-relationship-role-name>
                        <multiplicity>One</multiplicity>
                        <relationship-role-source>
                             <ejb-name>Onlineitem</ejb-name>
                        </relationship-role-source>
                        <cmr-field>
                             <cmr-field-name>sale</cmr-field-name>
                             <cmr-field-type>java.util.Collection</cmr-field-type>
                        </cmr-field>
                   </ejb-relationship-role>
              </ejb-relation>
         </relationships>
    </ejb-jar>

Maybe you are looking for

  • Automatic date update in Pages for iPad

    I want the date (date feild?) in a Pages for iPad letter template to update automatically (using the system date, like other word process application) but cannot see how to do this. This automatic date update appears to work in the Pages for iPad tem

  • Flash detection kit

    I try to use, I runs ok but I don�t know where I put information to go after installation. Where? And where I can put a image during installation? <head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <meta http-equiv="Cont

  • Installed, but stuck at GRUB prompt

    After 4 tries, I have managed to install 0.8.  On the reboot, however, I only get as far as a "GRUB>" prompt.  If I put the install disk in the drive, enter "reboot" at the GRUB prompt, and choose the option "Run installed system (/boot on a separate

  • HT4753 Do I need to turn time machine on to use versions?

    My versions is not working. I tried a simple thing like creating a simple text file and saving a couple versions. Then clicking to browse all versions which then get the spinning wheel for a while, then when versions opens, it only shows black boxes

  • HDCP error, on my MacBook Pro with no connected device.

    I am having the HDCP error, on my MacBook Pro with no connected device. I tried the alt-shift-option power button trick and no luck. Any other ideas?