Is it possible to deploy two different EJBs in one single descriptor file?

Hi, I'm working with two EJBs I wanna deploy them in one single jar, so my question here is, is it possible to deploy two or more EJBs within the same xml descriptor file?, if so, could you please give me an example of it?, I'm working with Stateless session beans, thanks in advance.

You can have as many beans in an EJB deployment descriptor as you like - i think, i have not run into a limit yet...
<ejb-jar>
<enterprise-beans>
<session>
<description>Session Bean ( Stateless )</description>
<display-name>BEanOne</display-name>
etc...
</session>
<session>
<description>Session Bean ( Stateless )</description>
<display-name>BeanTwo</display-name>
etc...
</session>
</enterprise-beans>
</ejb-jar>
m

Similar Messages

  • HT1918 is it possible to have two different password within one iTunes account?  one to log in with and a different one to use when making a purchase?

    Is is possible to have two different passwords within itunes? one to log in with and a different one to make purchases with?

    The system is not setup to provide that kind of sservice.  If making certain purchases it does ask for an answer to one of your security questions, so that provides a little more security for some purchases, just not all.

  • Is it possible to merge two different FONT in one?

    Hi all,
    I am wondering if I could merge the glyphs from two different FONT and create a new embedded FONT out of it.
    Use case: Bilingual (Chinese-English) website http://www.mannerstoday.com/cn/aboutus
    On this page, I have the following text:
    "西方顾问联手国际经验丰富的西方合作伙伴,或特别礼仪专业领域高水平的专才,例如Eric Paris,法国知名专业美发化妆大师,Flo Prestige,将在中国设立机构的法国最著名餐厅。"
    Currently, the appearance of the English texts "Eric Paris" and "Flo Prestige" is really ugly. I would like to get the glyphs for the Chinese Characters from a first FONT and the English letters from a second one.
    Would that be possible?
    Thanks all for your kind help!
    Thierry DE DOBBELEER
    http://www.new-sense.org/

    You can have as many beans in an EJB deployment descriptor as you like - i think, i have not run into a limit yet...
    <ejb-jar>
    <enterprise-beans>
    <session>
    <description>Session Bean ( Stateless )</description>
    <display-name>BEanOne</display-name>
    etc...
    </session>
    <session>
    <description>Session Bean ( Stateless )</description>
    <display-name>BeanTwo</display-name>
    etc...
    </session>
    </enterprise-beans>
    </ejb-jar>
    m

  • It is possible to use two different accounts with a single Windows PC?

    My wife and I use two personal iPhone 5, with two different appleID. At home we only have a windows 7 PC connected via iCloud with my iPhone 5 and my iPad (with the same appleID). I wish I could also connected the iPhone 5 to my wife, but i can't do it! It is possible? If it is, how should I do? I installed the program iCloud accepts only one appleID...
    Thank you in advance who can help me!

    Setup 2 user accounts on your PC, one for your wife and one for you. Enter the relevant Apple ID into each user user account.

  • Is it possible to make two different backups for one device?

    So, here is the problem: i got an 8 gig 4, and since for now i didn't have enough money to buy, which i would like to have, a 64 5. I found out recently that social medias are wasting my memory, which also a problem that we can't delete caches. I'm just curious that if we can do more than one backup files from one device?

    You can back up to both iTunes and iCloud. The following link has a section on using the two methods together. http://support.apple.com/kb/HT5262
    Also, the following link gives the location of the iTunes backup and suggests including that in your regular computer backup -- which would effectively give you multiple backups via iTunes. http://support.apple.com/kb/ht4946

  • Is it possible to have two fonts apply to one string? or use symbols amongst normal font?

    Hi,
    Is it possible to apply two different fonts to one string, or use symbols amongst normal font? My purpose is to display an Omega symbol after some number.
    ".99982 Ω" or "-180 φ"
    I am using version 6.0,
    Thanks in advance!
    Solved!
    Go to Solution.

    It's not possible to use differnt fonts in the same text control (string, text message, text box, listbox...) or in the label for any control.
    An alternative solution can be to use a font that natively includes the letters / symbols you need. Within CVI 6 native fonts you can use NISystemMetaFont which includes uppercase omega letter together with other commonly used greek letters (and uppercase / lowercase alphabet and numbers, of course  ).
    In charmap the font is seen as NISYSTEM: with that program you can see all characters included in the font file and select / copy each of them to paste in CVI controls if you need it.
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • Is it possible to put two different colors in tree parent node background and child nodes background?

    Is it possible to put two different colors in tree parent
    node background and child nodes background?
    Any help will be very helpful.
    Thanks

    Hi PanosE,
    Yes, you can set up another Standard Edition Server in child domain and then deploy pool pairing.
    You need to deploy a new Front End Pool for the new Standard Edition Server.
    A similar case for your reference.
    https://social.technet.microsoft.com/Forums/office/en-US/eca4299c-8edb-481e-b328-c7deba2a79ba/lync-2013-standard-edition-lync-fe-pools-in-multiple-domain-single-forest-senario?forum=lyncdeploy
    Best regards,
    Eric
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Is it possible to sync two different iphones and an ipad on only one computer?

    Is it possible to sync two different iphones and an ipad on only one computer??
    My husband has an iphone 4 &amp; ipad. I have an iphone 4S. We both use the same  itunes account. We are having trouble w/ all of our contacts/calendars &amp; info getting all mixed up. We want to both use the same itunes account &amp; apple id so that we dont have to separatley repurchase everything. Can anyone help us w/ this issue? Are we obligated to buy another computer so that we each have one--or is there some way around it? Thanks!!

    http://support.apple.com/kb/HT1495

  • Is it possible to run two different versions of Apple operating system (for ex. 10.6.8 and 10.9) on a MacBook Pro, either on the same disk or from an external hard disk? If so, where would I find the details?

    Is it possible to run two different versions of Apple operating system (for ex. 10.6.8 and 10.9) on a MacBook Pro, either on the same disk or from an external hard disk? If so, where would I find the details? (In order to be able to use the older applications no longer supported in 10.9)

    If you want to add a second partition to the internal drive (in Disk Utility, select the drive, then open the partition tab and just click the + button), you should first be sure that you will have enough room to accommodate whatever the second volume will be. I am currently doing this for Snow and Mountain Lion.
    To get to whatever volume is not the startup disk, restart and hold down option/alt at the chime, which will bring up a selection of the two volumes. Use the left or right arrow keys to select it and then hit enter/return.

  • Is it possible to run two different version of jre simultanously ?

    My client is using two diffrent application those supports two different versions of jre(1.2 & 1.4). If he uses jre1.2 only one application works ,and if he uses jre1.4 then the other works but the 1st shows error messege And vice versa.
    Is there any solution to shortout this issue?

    Is it possible to run two different version of jre simultanously ?Yes. In different processes, of course.

  • Is it possible to have two iTunes programs on one computer to be used by two different users without songs, photos etc. being commingled?

    is it possible to have two iTunes programs on one computer to be used by two different users without songs, photos etc. being commingled?

    Yes.  See Here...
    How to Use Multiple iDevices with One Computer
    Create a New User Account for each User. Then Each user will have their own iTunes library..
    Also... Have a read here...
    https://discussions.apple.com/message/18409815?ac_cid=ha

  • Is it possible to build two different L2TP/IPSec tunnels per subnet or per user?

    Dear colleagues
    I wondered whether anyone could help with this one.
    Is it possible to build two different L2TP/IPSec tunnels per subnet or per user on a Cisco router or any other third party manufacturer?  The idea behind is to allow different access to resources to different support technicians.  Your help is much appreciated.

    Sure, the ASA can use LDAP/AD information to select what access list should be applied for that specific user or group of users logging into the VPN. You can use whats called DAP or just LDAP Attribute Maps.

  • Is it possible to have two different DIO such as DIO 0 and DIO 8 to control 1 LED provided both DIOs are both true?

    is it possible to have two different DIO such as DIO 0 and DIO 8 to control 1 LED provided both DIOs are both true? If so, how do we connect the 2 IOs tothe LED? 

    Why use two DIO lines?  If they aren't doing anything else, just AND the signals in software and just use 1 output.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Is it possible to run two different apple tv units on the same network and play two different movies off of my iTunes library

    Is it possible to play two different movies on two seperate apple tv units on two tvs at the same time using the same itunes library

    AC is corret you can do that.  It might work a bit better for you if you use a wired connection vs a wireless one for the ATV's.

  • Generally when creating a Word file from either a Mac or Win7 pc and opening it on two different machines (either one first) it always prompts that the file is open and will be opened as read only. However opening a CSS file does not prompt that it is alr

    Generally when creating a Word file from either a Mac or Win7 pc and opening it on two different machines (either one first) it always prompts that the file is open and will be opened as read only.
    However opening a CSS file does not prompt that it is already open on or from any machine which is causing code edits to be lost.
    What we found from out testing:
    - The file can be saved from one user to the server and WILL NOT PROMPT on other machines until the saving machine has the Dreamweaver program closed completely
    - The file can be closed and  Dreamweaver minimised to the launch bar but it still will not register on other machines that it has been changed.
    - Also, until the  Dreamweaver program is closed on the machines, it will continue to open it's saved version of the file. 
    Example Scenario:
    - User 1 opens test.css (which is 2000 lines) and adds some code to the end of the file to bring it up to 2500 lines
    - Meanwhile User 2 opens test.css as well (opens as 2000 lines as User 1’s edits have not yet been saved) and adds in code to bring it to 2300 lines
    - User 1 saves his file and closes it - but  Dreamweaver is still open.
    - User 2 also saves his file and leaves  Dreamweaver  open.
    - The server will report the size and last edit of the file the same as User 2 as he was the last person to save it (and if you open from the Win7 Machine it will show as User 2’s 2300 line version)
    - If User 1 then open's the file again (from either the 'recent' in Dreamweaver OR clicking on the file directly in Finder...which version opens.... The version that User 1 saved! Not the true version on the server, but the version that User 1 edited and saved with 2500 lines in it.
    - Same for User 2, he will open 'his' version with 2300 lines in.
    Other information:
    - Files are opened directly from the server
    - Sometimes the users will save incrementally and re-open
    - Most of the time users will save incrementally and keep the files open
    - The users will never not save incrementally and just save when closing the file once finished
    - The users are usually working on the files all day
    - It is always the bottom lines of code that are lost. It could be a case of the two versions being mixed up and cutting off the newly added lines based on the line count (possibly).
    It is as if Dreamweaver is holding a cache of the version locally and then only properly looking back to the server when it has been completely closed. It is very difficult to see how the server is causing such an impact on these files, there are very few logs which are giving any indication to the root cause of the problems.
    Anyone know if this is a known issue?
    Is there a way that there can be a featured implemented on the server that doesn't allow another user to open a file if it is already open on another machine?
    Thanks

    Your server file handling has nothing, and really nothing to do with Adobe software. If files don't get locked for (over-)writing and/or lose connection to the program opening them, then your server is misconfigured. It's as plain and simple and that. Anything from "known file types"/ file associations not being set correctly, MIME types being botched, crooked user privileges and file permissions, missing Mac server extensions, delayed file writing on the server, generic network timeout issues and what have you. Either way, you have written a longwinded post with no real value since you haven't bothered to provide any proper technical info, most notably about the alleged server. Either way, the only way you can "fix" it is by straightening out your server and network configuration, not some magic switch in Adobe's software.
    Mylenium

Maybe you are looking for