Shared classes between webapplication and ejb

Hello,
If I have some java classes that are used by both WebApplication and EJB, do
I have to include those classes into both war and jar files?
Regards,
Peter

Yes accorinding to WLS Documentation
--Naggi
"Programming today is a race between software engineers
striving to build bigger and better idiot-proof programs, and the universe
trying to build bigger and better idiots.
So far, the universe is winning."
"Peter Tsang" <[email protected]> wrote in message
news:[email protected]..
>
Hello,
If I have some java classes that are used by both WebApplication and EJB,do
I have to include those classes into both war and jar files?
Regards,
Peter

Similar Messages

  • Hello there - how can I share my iTunes library between two users on the same computer? I put the library in a shared folder between both and have selected this library on both as well, but when I update iTunes with music etc it only appears on one?

    Hello there - how can I share my iTunes library between two users on the same computer? I put the library in a shared folder between both and have selected this library on both as well, but when I update iTunes with music etc it only appears on one?

    Thank you Joe - I tried this but it's only showing a teensy amount of music - the stuff on the second users account as opposed to the giagntic library on the 'main' account. I actually went to a Genius Bar and they said that apple doesn't really want you to share music between accounts - parents don't want to hear their kids music etc. Which seemed strange, but it might be the case sadly   Thanks anyway!

  • Sharing files between users and macs

    My husband and I share an iMac. I have a MBA for traveling and my husband a PC laptop (though he rarely uses for private stuff). We both have iPhones.
    We are looking for a way to:
    - Share our photos (we don't use iPhoto) and some files. We would like to have this in one shared folder, that we can access from both accounts in the iMac, the MBA and ideally (though not a must) the PC and iPhones. We would both need to have admin rights to edit documents, etc.
    - Have access to all the information in my account on the iMac from the MBA. Ideally, same thing for his and the PC.
    - Have access to all the data remotely when traveling.
    - Have all the data backed up locally (we already have a cloud backup, but we'd like to have a local backup too as it's easier and quicker to access)
    We have read a lot about configuration, NAS, time capsule... but we get more and more confused, as we are obviously no tech experts.
    Dropbox is not our preferred choice. We already have a cloud backup system. We'd rather have the files stored and accessed locally for everyday use.
    Using a NAS to store shared folders and backup the rest sounds good, but they either seem very complicated to set up, or they have mixed reviews in terms of stability, especially to access files remotely.
    Timecapsule seems easier and more straightforward, but I'm not sure it would solve the "sharing files between users and macs with admin rights"? It seems to be more focused on backing up the main drive and then providing access to the backed up files. (Though I might be completely mistaken!)
    We just can't manage to have one shared folder between both accounts in the iMac. We need to grant admin rights document by document. We don't manage to make it work automatically so we both have one folder to access with full rights for all the contents inside it. And this seems to me like something that should easily be done...?
    Any help, advice, proposals... would be greatly appreciated!!!

    Move any file you want to the other user to access to the Shared Folder. Anything you put in that folder is available to all users.
    The shared folder is here:
    Macintosh HD > Users > Shared

  • Sharing keywords between LR and PSE 9 Organiser? :-(

    OK, I've owned 3 photo products from Adobe (Photoshop Album, Lightroom and Photoshop Essentials) and have 3 keyword file formats! I use LR as my main photo organiser and have started using PSE and its Organiser but am frustrated by the lack of coherent design of keyword files. I have hundreds of keywords in LR. I had to write some Python code to convert my "Album" keywords to the LR format and it seems I have to do the same to get keywords from LR into PSE's organiser. But there's now a new problem...
    Unfortunately when I import keywords into PSE's Organiser any duplication of existing keywords results in duplication in the keyword list - i.e. when I add "From file.." PSE adds to the list rather than merging! PSE is clearly not designed to re-load keywords from file any extend the keywords. If I export all my keywords and re-import them I don't expect the number of keywords to double! Oh - I can;t delete keywords before importing because I'm told everything it's 'learned' (people etc. will be lost).  Keywords appear to be exportable but not importable.
    I clearly cannot import keywords into PSE's organiser as I can with LR.
    Is anyone sharing keywords between LR and PSE's Organiser?

    Thanks, I can see how that can work and the problems. It looks like the keywords themselves cannot be easily shared and I agree that having two organising programs is problematic but I wanted to 'export' the keywords I have created including their structure from Lightroom and import them into PSE organiser. You'd think you could do this with two similar products from the same company. The organisers in question are used for two purposes and the photos in each are different - i.e. I use lightroom for my pro stuff and PSE for family/casual stuff and no photo would be present in both. It looks like PSE really isn't designed to import keywords. I have Python code to create a PSE keyword file from a lightroom file so that will have to do as it's clear there's no interoperability.
    Thanks for your suggestions.

  • How to create shared folder between mac and windows

    how to create shared folder between mac and windows

    Us ean external drive formatted FAT32 or ExFat. Both OSx and Windows can read/write to the drive and both can use the same data files as long as you have a program that can open and save these files. For example, Word running both on OSx and on Windows will be able to work with the same document on the external drive.

  • Which better between Hibernate and EJB

    Hello i am a new begginer in J2EE, i have some question
    Which better between Hibernate and EJB ?
    i still confuse when must using Hibernate or EJB, because as i know in EJB it can use datasource which can i map to Entity bean.
    this function is same as Hibernate as i know.
    if my concept is wrong please correct my concept
    thx in advanced

    fbrayuki.darmanto wrote:
    Hello i am a new begginer in J2EE, i have some question
    Which better between Hibernate and EJB ?Just to clarify, you mean EJB3.x, not the earlier versions.
    Define "better".
    They're actually pretty similar.
    If you use Hibernate instead of EJB3 you don't need a full-blown Java EE app server. You can deploy apps on a servlet/JSP engine or on the desktop.
    i still confuse when must using Hibernate or EJB, because as i know in EJB it can use datasource which can i map to Entity bean.
    this function is same as Hibernate as i know.
    if my concept is wrong please correct my concept
    thx in advanced%

  • Problem setting up shared printer between PC and Mac with 10.6

    I am trying to setup a shared printer between my Mac and PC. I have a HP K80 attached to my PC (which has Vista Home Premium). I have a Macbook pro with 10.6. I have shared the printer on the PC side. From the Mac I have added the printer via Windows Printer sharing, but for some reason I cannot print to the printer. Everytime I try to print, the job just pauses. Is there something I am doing wrong?

    Thanks I installed the gutenprint drivers and tried this, and now all working:
    http://guides.macrumors.com/Printingto_a_Shared_PCPrinter
    Printing to a Shared PC Printer
    This article describes how to print from Mac OS X to a shared printer connected to a Windows XP machine. It assumes the computers are already networked and that you can access the PC's files. These instructions are relevant for Mac OS X 10.2 upwards. The instructions may work with Vista. I don't have the means to try it.
    1. Find the IP address of your PC - go on Start > Run. Type in cmd and click run. Now type in ipconfig /all and hit enter. This should give you the machine's IP address.
    2. Share the printer. Open up Printers and find the one you want to share. Right-click and choose Share. Now click the 'Share this printer' radio button. Now choose a sharing name. Keep it simple - e.g. HP, Office, PC etc.
    3. Open a web browser on your Mac and type localhost:631 in the address bar
    4. You should now have the Common UNIX Printing System web interface up. Click the 'Add Printer' link.
    5. Type a name for the printer, making sure you don't include /, # or space characters. Click continue.
    6. Select Windows Printer via SAMBA from the Device list and click continue.
    7. For the URI, you need to include a username and password for an account on your PC. You then need to enter a URI in the following format: smb://username:password@ipaddress/printer. So for example smb://johndoe:[email protected]/HP
    8. Choose your printer's make, or if you have a PPD file for the printer, choose that. Click continue and choose your printer's model. Now click Add Printer.
    9. Done! You now have a list of options for changing the various properties of the printer.
    You don't need to be on the same workgroup or domain as your PC, just the same subnet. If both your Mac and PC are connected to the same router, either wired or wirelessly, then you should be on the same subnet.
    Thanks guys

  • Home Sharing feature between Macs and PCs?

    Can I use the new Home Sharing between Macs and PCs?

    Yes, I do. The only bug I've found is this:
    My XP machine will not play video from the Mac.

  • Share Configuration Manager Entries between WebDynpro and EJB

    Hi there,
    I have an annoying problem: I would like to have a WebDynpro as full-blown configuration interface for my EJBs. As steted in the docu, it is not possible to share configurations between applications.
    With EJB and Web Modules I would just place them in the same Enterprise Application. But I cannot as WebDynpro projects to enterprise applications (as far as I know).
    Does anyone have a clou about I could manage this issue?
    Thanks!
    helge

    Hi Maksim,
    at the link you've provided it is described how to use the Configuration Manager within an EJB Module.
    My Problem is that I want to use it from an WebDynpro Application. But there I don't have a META-INF\application-j2ee-engine.xm to configure the dependency.
    This itself is not a problem since you can also access the Configuration Manager via JNDI.
    My problem now is that the EJB Module (more precise the enterprise application where the EJB Module is included) needs to share the configurtion with the Dynpro. But vi JNDI you only get the ApplicationConfigurationManager - which is application specific.
    So the question is how I could share the configuration between WebDynpro and EjbModule...
    Regards,
    helge

  • Co-location optimization between servlet and ejb?

    Find some similar posting in archive, but answers confused me.
    If I implement a sesion bean in WL6.1 with remote interfaces and call that session bean from the web tier (i.e. servlet) that is located in the same WL server, will co-location optimization occur.
    Some previous posting suggested optimization only occurs within the same classloader. My understanding is servlet have a different class loader than the EJB.
    So will co-location optimization still occur?
    Thanks
    Joe Wroblewski

    "Joe Wroblewski" <[email protected]> wrote in message news:32319370.1096294137900.JavaMail.root@jserv5...
    Find some similar posting in archive, but answers confused me.
    If I implement a sesion bean in WL6.1 with remote interfaces and call that session bean from the web tier (i.e.servlet) that is located in the same WL server, will co-location optimization occur.
    >
    Some previous posting suggested optimization only occurs within the same classloader. My understanding is servlethave a different class loader than the EJB.
    >
    So will co-location optimization still occur?In case of a servlet you will have co-location optimization if the ejb-jar and the war are in the same ear. Then was
    will inherit EJB classsloader. If it's not the case, pass-by-reference is not possble.
    Regards,
    Slava Imeshev

  • Sharing bookmarks between macbook and a toshiba pc

    how do share my bookmarks from my Macbook Pro and a P.C. ?

    See if one of the following articles will help guide you in the right direction:
    o Sharing files between a Windows XP PC and a Mac running OS 10.4.x
    o How Do I Network My Mac and PC?

  • Sharing calendars between 2010 and 2013

    Is there an incompatibility issue when sharing calendars from Office 2010 and Office 2013?

    Hi Dave,
    I'm not quite sure what kind of incompatibility issue you mean here. But as far as I know, there is not so much difference with the Calendar function between Outlook 2010 and Outlook 2013.
    Calendars that shared from Outlook 2010 should work well in Outlook 2013 and vice versa.
    If you have any specific issues regarding sharing calendars between Outlook 2010 and Outlook 2013, please feel free to post a question in our forum, we'll be happy to help you with it.
    Regards,
    Ethan Hua
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Sharing Files between Mac and Windows XP PC

    I have an small office with three computers. There is a new Mac that basically acts as the server. There is a shared folder on the computer. The other 2 computers are PCs. All permissions have been set on the Mac. The other 2 users are set as Administrators on the Mac and have the ability to Read and Write. The other 2 users can access the files, but they are not able to make any changes. The shared folder has may sub folders. Any ideas?

    huh, i used migration assistant to create a user with all my old data. now i have 2 users. anyway, i was putting the old data i wanted (i plan to wipe out the old user) into the shared folder...and it was working fine. all of a sudden, i put files into the shared folder, and when i log in as the new user, i can't use the file. won't give me access.
    i've enabled file sharing, the files and folders are marked as shared, and well...it seems like file sharing is broken.
    ...ideas?

  • Sharing photos between iphone and ipad2

    i wondering how to share photos between ipad2 and iphone4

    you will need to set up an icloud account on both devices and then enable photo stream.
    Icloud: photo stream FAQ  http:///support.apple.com/kb/HT4486

  • Login pattern between Web and EJB

    Hi everyone,
    I'm looking for the best pattern to setup my web login system.
    (Login page in JSP-JSF and then user right).
    I know the J2EE pattern for communication between presentation and business tier as such as Business Delegate, Session Facade, Application Service, ...
    But,
    How do i have to implement to login check in my session bean ?
    How is keept the information about the current user (webSession or statefull bean) ?
    Anyway, is anyone can give me an exmaple of a typical implementation.
    Thank.

    Check out the InterceptingFilter pattern.
    That's the way to check if the user is logged into the system.
    But, i also would like to know, the best way to login the user,
    The action to do when the user submit the login page.
    One current practice is to store an object in the sessionScope of the Web presentation tier (for web, in my case) .
    So, i think about one way :
    I've got an entity Bean which represent the User Access for the application so that any kind of client use the same User Access.
    Can i write a method in my SessionBean (SessionFacade pattern) to get the
    transfert object representing the User an store this transfert object into the sesionScope ?
    (So, if the return is null, that's wrong login ).
    My SessionFacade would have an method like the following :
       public UserTo loginUser (String login, String password) throws RemoteException {
    } Thank's

Maybe you are looking for

  • How can I verify the SSL service enabled in CSS and SCA ?

    I'm working for the OpenSSL vulnerability for CSS and SCA. How can I check if the device enabled the SSL service ? - https://x.x.x.x --> cannot access. - telnet x.x.x.x 443 --> I got a blank screen. I think this should be connection rejected if no SS

  • Dvd is jumpy

    I burned a dvd with images from imovie and the photos are fluttering slightly on the dvd. Otherwise, the photo quality is great with no pixilation. I had created the project in idvd and dragged in the movie. Previously, I had reduced the size of the

  • Is there a BAPI for Payment Vouchers?

    Hi, Is there a BAPI where I could get a List of Payment Voucher Details. This Payment Voucher contains Payments done against Vendor Invoices. The Parameters to the BAPI should be ideally "Company Code", "Fiscal Year" and "Transaction Number" this is

  • BAPI or FM for Transaction CO02 (Production Order Change)

    Hi I have to change fields(CHARG,LGORT,RGEKZ,MENGE,EWAHR) in sap transaction (CO02-Change Production Order) in COMPONENT LEVEL Can anyone suggest one BAPI or FM for this.

  • What versions of the SAP Enterprise Portal support Java 5

    What versions of the SAP Enterprise Portal support Java 5?  Example: If we were to use Java 5 code for an iView what versions of the portal would it run in? I have reviewed the Product Availability Matrix (PAM) and this is not clear. All I can find a