How do you implement printing in an addon?

How does anyone add print functionality to addons?
Do you create a Crystal Report? Embed it in the addon as a strongly typed report? Call an external RPT with the Crystal runtime which uses default parameter screen?
Do you make any reports completely outside of the addon?
Is there an exposed method in a dll for printing layouts?
Is there a way to implement the standard functionality that ties layouts to forms?
Any information is appreciated.
Thanks,
Bill Faulk

Bill,
    We are a reseller based in Elmwood Park,NJ and we have developed an addon named CrystalWave that integrates SBO with BusinessOne. Please take a look at the link below:
http://www.twbs.com/CrystalWave.html
You can also download a demo version of our program at the following link:
http://www.twbs.com/selectcwversion.html
Let me know if you have any questions.
Thanks,
Gopal

Similar Messages

  • How do you connect printer to the iPad?

    How do you connect printer to ur I pad?

    You need a airprint enabled printer to print documents directly but there is also an app on the app store called print central pro which lets you connect to any printer over wifi or over google cloud print.
    Hope this helps :)

  • HT3771 how do you delete printer in last use when you try to add new printer again

    how do you delete printer in last use when you try to add new printer again?

    System Preferences > Print & Scan (Print & Fax on older versions of OS X)
    Select the printer and click the "–" (minus) button.

  • In parallel Accounting of NewGL, how do you implement PS&CO?

    Hello,
    Could you tell me a hint of this;
    In parallel Accounting of NewGL, how do you implement PS&CO?
    For example, there is some difference between IFRS/GAPP,
    parallel value of asset should be handled in CO-OM or PS?
    I know the combination of modules as follows;
    asset depreciation cost(FI-AA) => cost accounting(CO-OM) + project accounting(PS) => general ledger(FI-NewGL)
    regards,
    Katsumi Makabe

    HI,
    if you are using New GL ledger functionality Controlling area covers only the values of the leading ledger (to keep CO data comperable for the whole company, no matter what local differences may occur). I am not totally sure but doesn't PS also cover only the leading ledger values.
    Best regards, Christian

  • How do you "Air Print" an email on ios7?

    how do you "Air Print" and email from iPhone 4s on ios7?

    Open the email, click on the backwards swirling repy arrow at the bottom, tap on print, select your printer and print.

  • How would you implement equals ()

    For complex classes with many data members, my dilema is:
    1. equals should return true only if all fields of the two objects are
    equals.
    2. equals should return true if the key(s) of the two objets are equal.
    For instance, we have the Class Person, that contains dozens of
    data: ID, name, age, job, salary, children, more 1000 items.
    Person is like a record in a DB table. There can not be two persons
    with the same ID.
    In this case, how would you implement equals, and why?
    thanks

    What I'm trying to say is: what is equality foryou?
    Two objects are equal if all there contents areequals
    or is it enough
    to compare their keys?
    In the latter case, there can happen, by somereason,
    that we can end
    up with two objects with the same keys, but all the
    rest of
    the contents different.i think you meant to say that:
    In the latter case, there can happen, by somereason,
    that we can end
    up with two objects with different keys, but
    all the rest of the contents the same.and the answer is, and listen carefully, it totally
    depends on the application you are writing. there
    is no hard definition of equality where custom classes
    are concerned... that is the answer.If this question arises, you should revisit your design.
    If two entities have equal keys, they should be considered to be equal. Otherwise the attributes you call keys are in the fact normal attributes and no keys.

  • How do you delete printer software?

    how do you delete printer software?

    I don't believe you need more than 500Mb of free space if you perform the update through itunes. As all operations are done on the computer, and then the files are simply replaced with the newer versions.
    As to your other questions:
    Tormund0123 wrote:
    After you download a software update, how do you delete it?
    You don't. As long as you don't install it it will be there. Once installation is complete, the system will delete it from the device.
    Tormund0123 wrote:
    Once you press the "Download and Install" button, what happens next? Does it do the former first, the latter first, or both?
    Obviously it can't install if it hasn't Downloaded first. So if you still have the "Download and Install" option as opposed to the "Install Now" option it will first download and then install.
    Tormund0123 wrote:
    If you try to download iOS 7 by syncing tyour device to iTunes, what happens if you press "Download only?" Will the software download AND install, or just download only?
    If you are using Itunes and choose to only Download, then it will simply download the update package and store it on your computer. When you are ready to install it you can then press the install button.

  • How do you export & print photos that have been cropped/rotated/angled?

    I have found that if I straighten a photo in Lightroom and then export it, it will not print correctly.  The photo will print with the edges of the photo not straight with the borders of the paper.  The angle the photo is printed askew is the same angle that I used to straighten the photo.
    This is only apparent on prints with borders, but I assume it is happening on borderless prints as well.

    Jay_Brennan wrote:
    I then applied the photo settings to the other two images.
    How did you so this? Did you use <Sync> in the Develop Module? Make sure when you press <Sync> that in the dialog that comes up <Lens Correction / Transform> is checked.
    Jay_Brennan wrote:
    On a related note, how do I discard all changes made to a photo in Lightroom and revert back to the original image?
    Hit <Reset> bottom right corner, just above the film strip in develop Module.

  • How do you install printer profiles in Lion?

    After Installing Lion , I cannot figure out how to install new printer profiles.  Any help greatly appreciated.
    Thanks

    Both Epson and HP have been playing a game of Hide-and-Seek for the last year or two. Instead of putting the profiles they install into one of the common Profiles folders, they are in the /Library/Printers/ folder. For Epson, drill down to /Library/Printers/Epson/InkjetPrinter2/ICCProfiles. At least, this is where the installer for the Stylus Pro 4900 puts them.
    It was much harder to find those installed for the Stylus Pro 4000. They are still in this general area, but were hidden inside one of the .plugin packages a bit deeper into the folder structure.
    Either way, the Epson print drivers know where these profiles are and show up in the print dialogue boxes. Trouble is, other apps, such as Adobe, Quark, can't see them, so you can't choose any of the profiles from those program's print option boxes.
    The only solution is to locate the profiles in the /Library/Printers/ folder and move all profiles to either the /Library/ColorSync/Profiles/ folder, or the Profiles folder in your user account. You want to move instead of copy so each profile isn't showing up twice in the Epson print dialogue box.

  • How do you stop printing test page everytime you turn on printer

    Have psc1350 all in one. How do I stop printing test page everytime I turn the printer on.

    The page that is printing is an alignment page.  It will be printed after a cartridge is changed, and will continue to print when the printer is turned on if the alignment is not successful.  After the alignment page prints you need to place the page face down on the scanner glass and press the "Scan" button to complete the alignment.  See your user manual for details.
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • How do you change print quality for eprinting?

    HP Photosmart 5515
    OS installed XP
    The driver does not give this option. I like to do Fast Draft sometimes.

    Hello mshantea,
    If you are sending print jobs to the printer's ePrint email, there is no way to adjust the quality.  Sorry.
    -------------How do I give Kudos? | How do I mark a post as Solved? --------------------------------------------------------

  • How do you find print center in iOS7 to check if a page is stuck in the queue?

    My iPads had been printing fine up until today. I had a glitch with my Air Print printer. It has been resolved and two out of my three iPads can't find the printer now. I've looked around on the internet and remembered in iOS 6 the ability to find Print Center was easy. But how do I find it in iOS 7 when my iPad can't find the Air Printer in the first place? I want to check to see if a job is stuck in the queue and that is causing the error message.

    This article says it better then I can.
    http://support.apple.com/kb/ht4356
    From the article.
    Viewing the Print Summary
    You can view the Print Summary by double-tapping the Home button and swiping to the right to reveal Printer Center. Then tap Print Center.
    Note: Print Center is available only while printing is in progress.

  • Printer CM3530 EWS Password required. How do you clear printer EWS password so its no longer needed?

    HP Community
       I have a problem trying to manage my printer using HP Web Jet Admin. Every time we try to push a policy it prompts us for a EWS password. Can I get some simple assistance or input on why this prompt arrives and how to get around it.  Our printers can still be managed directly through their web interface just perfectly. However when we use SNMPv3 to push a policy it fails sometimes. Anyone with Web Jet admin Experiences trying to standardize central administration. Can you help me get get of the EWS password so our Web Jet Admin server can manage our printers again.
    Bob Brain

    Hello RobertOrr
    The product you have is a commercial printer. I suggest posting in the forum for HP Business Support for a better chance at finding a solution.
    You may find the Commercial Laserjet board here.
    http://h30499.www3.hp.com/t5/Printers-LaserJet/bd-p/bsc-413
    Don't forgot to say thanks by giving "Kudos" to those that help solve your problems.
    When a solution is found please mark the post that solves your issue.

  • How do you implement 'Dirty Read/ Write' concept?

    Hi,
    I need to implement dirty read/ write concept into my procedure. I wanted to know how to go about it. Does Oracle have provide a way to do this or is this something to be worked out with some logic manually?
    Can someone suggest the exact logic I should follow or chalk out a simple algorithm.
    Any kind of information on this would be much appreciated.
    Thanks,
    Amrita.

    Sorry for this late reply.<br>
    My first reply should have contained an example on how to implement it for the kicks. Don't use this code for anything else but a test. It's absolutely worthless application-wise. But it proves that some dirty read/write functionality can be obtained if one twists everything that is good. Here goes. First I create two java classes and two PL/SQL "wrappers". Then - simply connect with session 1 and invoke exec dirty_write<br>
    make no commit ... and let session 2 select dirty_read from dual. You'll notice that the data written by session 1 is read by session 2.<br>
    create or replace and compile
    java source named "FileAppendTest"
    as
    import java.io.File;
    import java.io.FileOutputStream;
    public class FileAppendTest {
    static public void append() {
      try {
        int vSomethingToWrite = 9;
       File vFile = new File("c:\\db_out.txt");
       FileOutputStream vAppendFile = new FileOutputStream(vFile, true);
       vAppendFile.write ( vSomethingToWrite );
      vAppendFile.close();
      } catch (Exception e) {
       // let this test hide all errors
    create or replace and compile
    java source named "DirtyReadTest"
    as
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.File;
    import java.io.FileInputStream;
    public class DirtyReadTest {
    static public int read() {
      int vError = 0;
      try {
       File vFile = new File("c:\\db_out.txt");
       FileInputStream vReadFile = new FileInputStream(vFile);
       return vReadFile.read();
      } catch (Exception e) {
       return vError;
    create or replace procedure dirty_write as
    language java
    name 'FileAppendTest.append()';
    create or replace function dirty_read return number as
    language java
    name 'DirtyReadTest.read() return integer';
    -- as I mentioned earlier. Only try this code for the fun of it. Don't consider it for anything remotely usable in an application.

  • How do you implement orderby in weblogic 6.1?

    I am trying to use the orderby function in weblogic and the method in which
    I have implemented I have shown in ejb-jar.xml and
    weblogic-cmp-rdbms-jar.xml file shown below. Please do let me know if have
    implemented it in the right way.
    Thank you
    Ronak Parekh
    I am getthing the error:
    Unable to deploy EJB: sempire_bc.jar from sempire_bc.jar:
    Error while reading 'META-INF/weblogic-cmp-rdbms-jar.xml'. The error
    was:
    The finder method findAllOrderByRoleName of ejb RolesEJB cannot have
    a null ejb ql value.
    The finder method findAllOrderByUserName of ejb UsersEJB cannot have
    a null ejb ql value.
    This is my weblogic-cmp-rdbms-jar.xml file:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE weblogic-rdbms-jar PUBLIC
    '-//BEA Systems, Inc.//DTD WebLogic 6.0.0 EJB RDBMS Persistence//EN'
    'http://www.bea.com/servers/wls600/dtd/weblogic-rdbms20-persistence-600.dtd'
    >
    <weblogic-rdbms-jar>
    <weblogic-rdbms-bean>
    <ejb-name>UsersEJB</ejb-name>
    <data-source-name>UsersDB</data-source-name>
    <table-name>USERS</table-name>
    <field-map>
    <cmp-field>iD</cmp-field>
    <dbms-column>ID</dbms-column>
    </field-map>
    <field-map>
    <cmp-field>userName</cmp-field>
    <dbms-column>USER_NAME</dbms-column>
    </field-map>
    <field-map>
    <cmp-field>userPass</cmp-field>
    <dbms-column>USER_PASS</dbms-column>
    </field-map>
    <weblogic-query>
    <query-method>
    <method-name>findAllOrderByUserName</method-name>
    <method-params>
    <method-param>double</method-param>
    </method-params>
    </query-method>
    <weblogic-ql>SELECT OBJECT(o) FROM o for UsersBean ORDERBY
    o.userName</weblogic-ql>
    </weblogic-query>
    <weblogic-query>
    <query-method>
    <method-name>findAllOrderByUserPass</method-name>
    <method-params>
    <method-param>double</method-param>
    </method-params>
    </query-method>
    <weblogic-ql>SELECT OBJECT(o) FROM o for UsersBean ORDERBY
    o.userPass</weblogic-ql>
    </weblogic-query>
    </weblogic-rdbms-bean>
    <weblogic-rdbms-bean>
    <ejb-name>RolesEJB</ejb-name>
    <data-source-name>RolesDB</data-source-name>
    <table-name>ROLES</table-name>
    <field-map>
    <cmp-field>iD</cmp-field>
    <dbms-column>ID</dbms-column>
    </field-map>
    <field-map>
    <cmp-field>roleName</cmp-field>
    <dbms-column>ROLE_NAME</dbms-column>
    </field-map>
    <field-map>
    <cmp-field>roleDesc</cmp-field>
    <dbms-column>ROLE_DESC</dbms-column>
    </field-map>
    <weblogic-query>
    <query-method>
    <method-name>findAllOrderByRoleName</method-name>
    <method-params>
    <method-param>double</method-param>
    </method-params>
    </query-method>
    <weblogic-ql>SELECT OBJECT(o) FROM o for RolesBean ORDERBY
    o.roleName</weblogic-ql>
    </weblogic-query>
    <weblogic-query>
    <query-method>
    <method-name>findAllOrderByRoleDesc</method-name>
    <method-params>
    <method-param>double</method-param>
    </method-params>
    </query-method>
    <weblogic-ql>SELECT OBJECT(o) FROM o for RolesBean ORDERBY
    o.roleDesc</weblogic-ql>
    </weblogic-query>
    </weblogic-rdbms-bean>
    <create-default-dbms-tables>True</create-default-dbms-tables>
    </weblogic-rdbms-jar>
    This is my ejb-jar.xml file:
    <?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>
    <display-name>Business Component CMP 2.0</display-name>
    <enterprise-beans>
    <entity>
    <display-name>Users Entity Bean</display-name>
    <ejb-name>UsersEJB</ejb-name>
    <local-home>com.sempire.builder.business_component.UsersHome</local-home>
    <local>com.sempire.builder.business_component.Users</local>
    <ejb-class>com.sempire.builder.business_component.UsersBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.Integer</prim-key-class>
    <reentrant>False</reentrant>
    <cmp-version>2.x</cmp-version>
    <abstract-schema-name>users</abstract-schema-name>
    <cmp-field><field-name>iD</field-name></cmp-field>
    <cmp-field><field-name>userName</field-name></cmp-field>
    <cmp-field><field-name>userPass</field-name></cmp-field>
    <primkey-field>iD</primkey-field>
    <ejb-local-ref>
    <ejb-ref-name>UsersEJB</ejb-ref-name>
    <ejb-ref-type>Entity</ejb-ref-type>
    <local-home>com.sempire.builder.business_component.UsersHome</local-home>
    <local>com.sempire.builder.business_component.Users</local>
    </ejb-local-ref>
    <resource-ref>
    <res-ref-name>jdbc/UsersDB</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    <query>
    <query-method>
    <method-name>findAllWithConstraint</method-name>
    <method-params />
    </query-method>
    <ejb-ql><![CDATA[SELECT OBJECT(o) FROM users AS o]]></ejb-ql>
    </query>
    <query>
    <query-method>
    <method-name>findAllOrderByUserName</method-name>
    <method-params />
    </query-method>
    <ejb-ql></ejb-ql>
    </query>
    <query>
    <query-method>
    <method-name>findAllOrderByUserPass</method-name>
    <method-params />
    </query-method>
    <ejb-ql></ejb-ql>
    </query>
    </entity>
    <entity>
    <display-name>Roles Entity Bean</display-name>
    <ejb-name>RolesEJB</ejb-name>
    <local-home>com.sempire.builder.business_component.RolesHome</local-home>
    <local>com.sempire.builder.business_component.Roles</local>
    <ejb-class>com.sempire.builder.business_component.RolesBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.Integer</prim-key-class>
    <reentrant>False</reentrant>
    <cmp-version>2.x</cmp-version>
    <abstract-schema-name>roles</abstract-schema-name>
    <cmp-field><field-name>iD</field-name></cmp-field>
    <cmp-field><field-name>roleName</field-name></cmp-field>
    <cmp-field><field-name>roleDesc</field-name></cmp-field>
    <primkey-field>iD</primkey-field>
    <ejb-local-ref>
    <ejb-ref-name>RolesEJB</ejb-ref-name>
    <ejb-ref-type>Entity</ejb-ref-type>
    <local-home>com.sempire.builder.business_component.RolesHome</local-home>
    <local>com.sempire.builder.business_component.Roles</local>
    </ejb-local-ref>
    <resource-ref>
    <res-ref-name>jdbc/RolesDB</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    <query>
    <query-method>
    <method-name>findAllWithConstraint</method-name>
    <method-params />
    </query-method>
    <ejb-ql><![CDATA[SELECT OBJECT(o) FROM roles AS o]]></ejb-ql>
    </query>
    <query>
    <query-method>
    <method-name>findAllOrderByRoleName</method-name>
    <method-params />
    </query-method>
    <ejb-ql></ejb-ql>
    </query>
    <query>
    <query-method>
    <method-name>findAllOrderByRoleDesc</method-name>
    <method-params />
    </query-method>
    <ejb-ql></ejb-ql>
    </query>
    </entity>
    </enterprise-beans>
    <assembly-descriptor>
    <container-transaction>
    <method>
    <ejb-name>UsersEJB</ejb-name>
    <method-name>*</method-name>
    </method>
    <method>
    <ejb-name>RolesEJB</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    </assembly-descriptor>
    </ejb-jar>

    I am trying to use the orderby function in weblogic and the method in which
    I have implemented I have shown in ejb-jar.xml and
    weblogic-cmp-rdbms-jar.xml file shown below. Please do let me know if have
    implemented it in the right way.
    Thank you
    Ronak Parekh
    I am getthing the error:
    Unable to deploy EJB: sempire_bc.jar from sempire_bc.jar:
    Error while reading 'META-INF/weblogic-cmp-rdbms-jar.xml'. The error
    was:
    The finder method findAllOrderByRoleName of ejb RolesEJB cannot have
    a null ejb ql value.
    The finder method findAllOrderByUserName of ejb UsersEJB cannot have
    a null ejb ql value.
    This is my weblogic-cmp-rdbms-jar.xml file:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE weblogic-rdbms-jar PUBLIC
    '-//BEA Systems, Inc.//DTD WebLogic 6.0.0 EJB RDBMS Persistence//EN'
    'http://www.bea.com/servers/wls600/dtd/weblogic-rdbms20-persistence-600.dtd'
    >
    <weblogic-rdbms-jar>
    <weblogic-rdbms-bean>
    <ejb-name>UsersEJB</ejb-name>
    <data-source-name>UsersDB</data-source-name>
    <table-name>USERS</table-name>
    <field-map>
    <cmp-field>iD</cmp-field>
    <dbms-column>ID</dbms-column>
    </field-map>
    <field-map>
    <cmp-field>userName</cmp-field>
    <dbms-column>USER_NAME</dbms-column>
    </field-map>
    <field-map>
    <cmp-field>userPass</cmp-field>
    <dbms-column>USER_PASS</dbms-column>
    </field-map>
    <weblogic-query>
    <query-method>
    <method-name>findAllOrderByUserName</method-name>
    <method-params>
    <method-param>double</method-param>
    </method-params>
    </query-method>
    <weblogic-ql>SELECT OBJECT(o) FROM o for UsersBean ORDERBY
    o.userName</weblogic-ql>
    </weblogic-query>
    <weblogic-query>
    <query-method>
    <method-name>findAllOrderByUserPass</method-name>
    <method-params>
    <method-param>double</method-param>
    </method-params>
    </query-method>
    <weblogic-ql>SELECT OBJECT(o) FROM o for UsersBean ORDERBY
    o.userPass</weblogic-ql>
    </weblogic-query>
    </weblogic-rdbms-bean>
    <weblogic-rdbms-bean>
    <ejb-name>RolesEJB</ejb-name>
    <data-source-name>RolesDB</data-source-name>
    <table-name>ROLES</table-name>
    <field-map>
    <cmp-field>iD</cmp-field>
    <dbms-column>ID</dbms-column>
    </field-map>
    <field-map>
    <cmp-field>roleName</cmp-field>
    <dbms-column>ROLE_NAME</dbms-column>
    </field-map>
    <field-map>
    <cmp-field>roleDesc</cmp-field>
    <dbms-column>ROLE_DESC</dbms-column>
    </field-map>
    <weblogic-query>
    <query-method>
    <method-name>findAllOrderByRoleName</method-name>
    <method-params>
    <method-param>double</method-param>
    </method-params>
    </query-method>
    <weblogic-ql>SELECT OBJECT(o) FROM o for RolesBean ORDERBY
    o.roleName</weblogic-ql>
    </weblogic-query>
    <weblogic-query>
    <query-method>
    <method-name>findAllOrderByRoleDesc</method-name>
    <method-params>
    <method-param>double</method-param>
    </method-params>
    </query-method>
    <weblogic-ql>SELECT OBJECT(o) FROM o for RolesBean ORDERBY
    o.roleDesc</weblogic-ql>
    </weblogic-query>
    </weblogic-rdbms-bean>
    <create-default-dbms-tables>True</create-default-dbms-tables>
    </weblogic-rdbms-jar>
    This is my ejb-jar.xml file:
    <?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>
    <display-name>Business Component CMP 2.0</display-name>
    <enterprise-beans>
    <entity>
    <display-name>Users Entity Bean</display-name>
    <ejb-name>UsersEJB</ejb-name>
    <local-home>com.sempire.builder.business_component.UsersHome</local-home>
    <local>com.sempire.builder.business_component.Users</local>
    <ejb-class>com.sempire.builder.business_component.UsersBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.Integer</prim-key-class>
    <reentrant>False</reentrant>
    <cmp-version>2.x</cmp-version>
    <abstract-schema-name>users</abstract-schema-name>
    <cmp-field><field-name>iD</field-name></cmp-field>
    <cmp-field><field-name>userName</field-name></cmp-field>
    <cmp-field><field-name>userPass</field-name></cmp-field>
    <primkey-field>iD</primkey-field>
    <ejb-local-ref>
    <ejb-ref-name>UsersEJB</ejb-ref-name>
    <ejb-ref-type>Entity</ejb-ref-type>
    <local-home>com.sempire.builder.business_component.UsersHome</local-home>
    <local>com.sempire.builder.business_component.Users</local>
    </ejb-local-ref>
    <resource-ref>
    <res-ref-name>jdbc/UsersDB</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    <query>
    <query-method>
    <method-name>findAllWithConstraint</method-name>
    <method-params />
    </query-method>
    <ejb-ql><![CDATA[SELECT OBJECT(o) FROM users AS o]]></ejb-ql>
    </query>
    <query>
    <query-method>
    <method-name>findAllOrderByUserName</method-name>
    <method-params />
    </query-method>
    <ejb-ql></ejb-ql>
    </query>
    <query>
    <query-method>
    <method-name>findAllOrderByUserPass</method-name>
    <method-params />
    </query-method>
    <ejb-ql></ejb-ql>
    </query>
    </entity>
    <entity>
    <display-name>Roles Entity Bean</display-name>
    <ejb-name>RolesEJB</ejb-name>
    <local-home>com.sempire.builder.business_component.RolesHome</local-home>
    <local>com.sempire.builder.business_component.Roles</local>
    <ejb-class>com.sempire.builder.business_component.RolesBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.Integer</prim-key-class>
    <reentrant>False</reentrant>
    <cmp-version>2.x</cmp-version>
    <abstract-schema-name>roles</abstract-schema-name>
    <cmp-field><field-name>iD</field-name></cmp-field>
    <cmp-field><field-name>roleName</field-name></cmp-field>
    <cmp-field><field-name>roleDesc</field-name></cmp-field>
    <primkey-field>iD</primkey-field>
    <ejb-local-ref>
    <ejb-ref-name>RolesEJB</ejb-ref-name>
    <ejb-ref-type>Entity</ejb-ref-type>
    <local-home>com.sempire.builder.business_component.RolesHome</local-home>
    <local>com.sempire.builder.business_component.Roles</local>
    </ejb-local-ref>
    <resource-ref>
    <res-ref-name>jdbc/RolesDB</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    <query>
    <query-method>
    <method-name>findAllWithConstraint</method-name>
    <method-params />
    </query-method>
    <ejb-ql><![CDATA[SELECT OBJECT(o) FROM roles AS o]]></ejb-ql>
    </query>
    <query>
    <query-method>
    <method-name>findAllOrderByRoleName</method-name>
    <method-params />
    </query-method>
    <ejb-ql></ejb-ql>
    </query>
    <query>
    <query-method>
    <method-name>findAllOrderByRoleDesc</method-name>
    <method-params />
    </query-method>
    <ejb-ql></ejb-ql>
    </query>
    </entity>
    </enterprise-beans>
    <assembly-descriptor>
    <container-transaction>
    <method>
    <ejb-name>UsersEJB</ejb-name>
    <method-name>*</method-name>
    </method>
    <method>
    <ejb-name>RolesEJB</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    </assembly-descriptor>
    </ejb-jar>

Maybe you are looking for