How should you deploy referenced libraries?

If I have an EJB which references classes from an outside package, how do I deploy this in a j2ee ear archive? The EJB is in it's own JAR but then there is this JAR for the class library... how will they find eachother in an ear archive?

You can put the third-party JARs in the EAR.

Similar Messages

  • How do you deploy Flex applications?

    Hi All.
    Flex is great! But...  how do you deploy apps, especially when the environment changes?
    I make use of "Import Web Service (WSDL)" to make the ActionScript framework for webservices which I consume. I have coded those web services in .asmx (c# web services for .NET) and run them locally. The framework Flex Builder creates is just fine, and I can run my app locally with no problem.
    My intention is to distribute the database, the .NET webservices, and the Flex app as a complete solution to my end customers.
    What's the best way to do this?
    1. Using "Import Web Service (WSDL)" creates a framework around a named webservice. Upon deployment the URL for these changes. SO: How can you make it easy to switch the site the webservices are consumed from? Can Flex apps be set up to use an environment variable, or even read a local file for the URL of the webservice I want it to point at? (i.e. something in web.config or elsewhere?)
    2. Should I NOT use "Import Web Service" at all? Am I stupid for using the built in generator and instead write the code by hand? Note: this is VERY time consuming for the number of services that are exposed in larger apps. My typical dev cycle consists of parallel updates/upgrades to web services as they are demanded by elements incorporated in the Flex app.. so it's very convenient to just re-import the WSDL as I make changes.
    Thanks so much for your input!
    Brian

    I have never really bothered with importing web services.  I generally point my apps in the direction of my webservice by specifiying the url in my HTTPService tags.  If the location changes , you can just load the values in xml , and it will dynamically change where the endpoint service is in your application.

  • How do you deploy FMS applications on the web?

    Hi
    I am new to Flash Media Server and I can't get my head around
    this software.
    How do you deploy the applications you build on your
    development pc, onto an external server?
    Do you have to have FMS running on the external server?
    Or does FMS supply you with files that can be used on any
    server?
    This is so confusing.
    Thank you for any help in advance.
    Jay

    The key thing to understand is that the Flash client (the
    flashplayer) is what makes the connection to FMS. FMS and the .swf
    don't need to be on the same server.
    What you need to do is change your RTMP string in your
    connect command. I"m guessing you're currently using localhost or a
    LAN IP. Once you move the .swf to another server, you have to use
    the WAN IP or domain name of the FMS server.
    Once you have that taken care of, you can serve the .swf from
    anywhere.

  • HT1751 I've read at least ten articles and I still have some unanswered questions.  1. How do you get several libraries on an external disk back into one spot on Itunes? Will it take up space on the Mac osx that I have very little space on?

    I have several itunes libraries after moving them and losing them, and recreating new ones.  How do I get them all back together?  I have a Macboook Pro OSX 10.6. My newest library is currently being directed to an external drive.  I have files that I moved around improperly and don't know where they all go now.  I'm pretty good with it all if someone can explain. Nothing I've read explains how to find your lost libraries on an external drive and put them into one place.
    If you have it on an external drive and do not have the space on the hard drive can you still do the library/organize/consolidate feature and have files available without the external drive attatched?  I just don't know how I will get all the files into itunes without taking up a bunch of space. 
    Thank you so much!

    I'm confused as to why you would need or even want multiple iTunes libraries... but that's not really relevant.
    It certainly is possible to have the iTunes library reside entirely on an external drive. 
    The organize/consolidate feature will work with an external drive but the drive must be connected.  How would you expect this to work without the drive connected?  iTunes cannot magically move files to consolodate them on a drive that's not connected.
    I"m not really certain what you mean by "get them all back together".  iTunes libraries are not "together".  If you've got multiple libraries they are seperate...there is simply no other way to make that happen.
    Realistically, if this hasn't helped, it's going to be up to you to explain why you have/need multiple iTunes libaries so that we can offer specific details on how to resolve the issue and possibly a better solution.

  • Basic question - how do you deploy a Logic app as SaaS?

    This is partially a broader question of how you deploy SaaS solutions on Azure, but wanting to know in relation to logic apps.
    So let's say I wish to create, for sake of argument, a service that allows contractors to log their hours (either via a phone or through their laptops)
    Each contractor is a separate client of mine, and I wish to develop an SaaS service that I can sell to hundreds of contractors.
    What is the blueprint for such a solution?
    Is it:
    - I create a web app to give me a web based interface they can use
    - A mobile app in which they can enter their data by mobile
    - A logic app to take data from both of these and process and store them into a SQL Server database
    And if so, would the only thing separating one contractor from the other be their logins? Or is there way of instantiating separate databases for each user (let's say I wanted to give each client their own database)? Just trying to get my head round how
    SaaS solutions would work. Any tutorials/good reads most welcome!

    Actually I came across a few articles talking about Single tenant vs Multi tenant architectures and that's opened up a whole new world for me, exactly what I was looking for. Will read up a bit more on how logic apps work in a single vs. multi-tenant environment.

  • How do you deploy a portal to a weblogic cluster?

    We're using WLServer 6.1 SP2 and WLPortal 4.0 SP2. Has anybody got any experience
    clustering a portal instance? We can see how to target EJB and WAR components to
    the cluster server (those components have "Target" tabs when we display them in the
    console), but how do you target an EAR (such as the portal) to a cluster? It seems
    awfully tedious to sit and deploy each individual ejb/war to the cluster to get started.
    Thanks!

    Joshua,
    You have to deply components individualy. Also, make sure you define a proper target
    for application-config.xml. You can only do this by editing config.xml.
    Also do not forget to deply all necessary J2EE services (JDBC etc) as well as startup
    classes.
    Regards,
    Michael Goldverg
    "Joshua Davies" <[email protected]> wrote:
    >
    We're using WLServer 6.1 SP2 and WLPortal 4.0 SP2. Has anybody got any
    experience
    clustering a portal instance? We can see how to target EJB and WAR components
    to
    the cluster server (those components have "Target" tabs when we display
    them in the
    console), but how do you target an EAR (such as the portal) to a cluster?
    It seems
    awfully tedious to sit and deploy each individual ejb/war to the cluster
    to get started.
    Thanks!

  • HT2905 how do you remove duplicate libraries from itunes

    I recently purchased a new window9.1 computer.  I tried to move the library to the new pc by using an external haddrive. The songs and other items all transfered, but the mudic remsined on the externalmedia informaiton files, I had to connect the drive to listen to music..  I worked with tech support and copied themusioc files to ITunes. When I reopened the media files and copied music were on the system.  ITunes recognzed there was missing information on the  media data file and corrected it, so oe I have 20,000 sonfs in a 10,000 song library.How do you delete massive duplicates without individually deleting10,000 songs?

    Apple's official advice is here... HT2905 - How to find and remove duplicate items in your iTunes library. It is a manual process and the article fails to explain some of the potential pitfalls.
    Use Shift > View > Show Exact Duplicate Items to display duplicates as this is normally a more useful selection. You need to manually select all but one of each group to remove. Sorting the list by Date Added may make it easier to select the appropriate tracks, however this works best when performed immediately after the dupes have been created.  If you have multiple entries in iTunes connected to the same file on the hard drive then don't send to the recycle bin.
    Use my DeDuper script if you're not sure, don't want to do it by hand, or want to preserve ratings, play counts and playlist membership. See this thread for background and please take note of the warning to backup your library before deduping.
    (If you don't see the menu bar press ALT to show it temporarily or CTRL+B to keep it displayed)
    tt2

  • How do you move iTunes libraries from once computer to another

    I'm in the process of purchasing a new Mac computer for my children. Up until now, they had their own iTunes accounts and libraries on my iMac How do I transfer their libraries and accounts to the new computer? Thanks.

    Click here and pick the option which best fits your situation.
    (116244)

  • How do you deploy a stand alone app/game in java

    I have a few questions regarding creating a stand alone app for java.
    1) What is the best way to deploy it? how would I create the exe, etc. I've read that you can create executable jars but this doesn't seem like something that would be user friendly
    2) Is there a way to deploy the game/app with it's own JVM so the hosts machine doesn't have to have it installed? How would I go about doing this?
    3) How would I run the app in full screen? What libraries are available?
    Any other advice/comments welcome.

    @morgair: There are plenty of good reasons for using Java to develop software, even when you only plan on targeting Windows. As good as Java distribution is there is no way to guarantee that they a) have Java installed and more likely b) have the version you target installed. Telling a user that they need to go to a second website in order to download and install more software is a huge turn off.
    Most PC users have no experience with a .jar so when they download it they just don't know what to do (even if all they need to do is double-click just like a .exe). Giving out an executable .jar is another turnoff.
    sarcasteak wrote:
    1) What is the best way to deploy it? how would I create the exe, etc. I've read that you can create executable jars but this doesn't seem like something that would be user friendlyIn terms of the .exe, Java does not create .exe's. There are some java to native compilers that will turn your java code into a natice .exe that will run on it's own or with a bundled library. However they are either old, buggy and badly supported, or extremely expensive (googling Java native compiler should give you some good results). There are also plenty 'java to exe' pieces of software. Rather then compiling the java code to native code they wrap the .jar up inside a .exe. When you run the .exe it unpacks the .jar and runs it. To the user it looks like a .exe, however it's still just an executable jar and still requires Java to be pre-installed on their machine in order to run (although some can offer custom error messages if Java is not found).
    If Java is setup, then executable jars are essentially act the same as exe's. For creating them, if you are using NetBeans then they are already available in the project/dist folder after you build. You can also do it on the command line but I never need to so I don't know how. However as a tutorial [this site looks promising|http://neptune.netcomp.monash.edu.au/javahelp/howto/jar.htm].
    I personally use a small .exe which I built using the D programming language. It reads from a text file in the same directory and executes each line in turn. Typically all the text file contains is 'java -jar MyProg.jar'. This way my .jars for the user looks like a .exe.
    Instead of a .exe you could also use a .bat. There are also some .bat to .exe converters online, although I haven't tried any of them so use at your own risk.
    sarcasteak wrote:
    2) Is there a way to deploy the game/app with it's own JVM so the hosts machine doesn't have to have it installed? How would I go about doing this?Yes, you are allowed to redistribute the Sun Java runtime. Just zip up the JRE on your machine and include it with the app/game. You'll also need to ensure that whatever starts the jar uses your unzipped JRE and not the JRE on their machine. The exe I described above also allows this by having the text file contain something like: './my_jre/bin/java -jar MyProg.jar'.
    But first you should also take a look at the license restrictions, they should be in the JREs directory. For example you must redistribute the complete JRE which is a problem if your app is just a few megabytes (when zipped the runtime is usually over 30mb). There are probably plenty of topics on this forum which already discuss redistribution of the JRE.
    sarcasteak wrote:
    3) How would I run the app in full screen? What libraries are available?If it's an app then it should be approximately:
    JFrame frame = new JFrame();
    frame.setExtendedState(JFrame.MAXIMIZED_BOTH);or;
    JFrame frame = new JFrame();
    frame.setExtendedState(frame.getExtendedState() | JFrame.MAXIMIZED_BOTH);However if you want a proper full screen then you need to use the [Full-Screen exclusive mode|http://java.sun.com/docs/books/tutorial/extra/fullscreen/exclusivemode.html], approximately:
    JFrame frame = new JFrame();
    GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice().setFullScreenWindow( frame );I've also heard plenty of people recommend using java web-start for desktop java apps. Personally I've never used it, but it's something you might want to research.
    Edited by: jl235 on Jun 22, 2009 3:03 AM

  • How do you deploy an Event view to a cluster using the RDBMS 1.0 adapter in WLI7?

    Hi ,
    We are trying to deploy an application view representing a database event in a
    table to a cluster consisting of 2 WLI servers.
    When you get the deploy screen in the wlai console it prompts you for a url for
    the event Router.
    On a single instance of WLI this is simply http://localhost:7001/BEA_RDBMS_1_0_EventRouter/EventRouter
    but what should this be in the case when the adapter is deployed to a cluster
    of 2 machines??
    We have tried replacing localhost:7001 with the ip and ports of either of the
    two WLI servers as well as trying the admin server ip and port but always get
    the error show below.
    has anyone succesfully done this?
    any ideas greatly appreciated
    Adam
    com.bea.wlai.client.DeploymentException: ConnectionFactoryDeployer on cscw00336440:
    Failed to upload weblogic-ra.xml descriptor for connection factory OrderDetails_connectionFactory
    due to a communication problem with the Admin server; Unexpected exception in
    com.bea.wlai.admin.RARUploadSessionBean.upload(): java.net.ConnectException: Tried
    all: '1' addresses, but could not connect over HTTP to server: 'www.bea.com',
    port: '80' at weblogic.net.http.HttpClient.openServer(HttpClient.java:222) at
    weblogic.net.http.HttpClient.openServer(HttpClient.java:274) at weblogic.net.http.HttpClient.(HttpClient.java:126)
    at weblogic.net.http.HttpClient.New(HttpClient.java:168) at weblogic.net.http.HttpURLConnection.connect(HttpURLConnection.java:111)
    at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:281)
    at java.net.URL.openStream(URL.java:793) at weblogic.apache.xerces.readers.DefaultReaderFactory.createReader(DefaultReaderFactory.java:149)
    at

    Try downloading the DTD from BEA to your filesystem and change the XML
    so it points to it.
    Ricardo
    Adam Finlayson wrote:
    Hi Chris,
    Thanks for that bit of info. We have pinned the eventgenerator to just one managed
    server now but are still getting the same error when trying to deploy an event
    application view.
    The admin server appears to be trying to contact the bea website for some reason
    as part of the deployment.
    I am guessing this must be trying to access some DTD or something but this system
    sits behind a firewall so any http requests would need to go through a proxy.
    Any idea why it may be contacting www.bea.com or how to set up WLS to use a proxy
    server?
    Chris Stead <[email protected]> wrote:
    Hi Adam,
    Due to the nature of the the event generator Web application (WAR) URL,
    you have to pin the war file to a single server in your cluster. Here
    is some information about deploying adapters in a cluster:
    http://e-docs.bea.com/wli/docs70/deploy/cluster.htm#1454929
    I hope this helps with your deployment.
    Cheers,
    Chris
    Adam Finlayson wrote:
    Hi ,
    We are trying to deploy an application view representing a database
    event in a
    table to a cluster consisting of 2 WLI servers.
    When you get the deploy screen in the wlai console it prompts you for
    a url for
    the event Router.
    On a single instance of WLI this is simply http://localhost:7001/BEA_RDBMS_1_0_EventRouter/EventRouter
    but what should this be in the case when the adapter is deployed to
    a cluster
    of 2 machines??
    We have tried replacing localhost:7001 with the ip and ports of either
    of the
    two WLI servers as well as trying the admin server ip and port but
    always get
    the error show below.
    has anyone succesfully done this?
    any ideas greatly appreciated
    Adam
    com.bea.wlai.client.DeploymentException: ConnectionFactoryDeployer
    on cscw00336440:
    Failed to upload weblogic-ra.xml descriptor for connection factory
    OrderDetails_connectionFactory
    due to a communication problem with the Admin server; Unexpected exception
    in
    com.bea.wlai.admin.RARUploadSessionBean.upload(): java.net.ConnectException:
    Tried
    all: '1' addresses, but could not connect over HTTP to server: 'www.bea.com',
    port: '80' at weblogic.net.http.HttpClient.openServer(HttpClient.java:222)
    at
    weblogic.net.http.HttpClient.openServer(HttpClient.java:274) at weblogic.net.http.HttpClient.(HttpClient.java:126)
    at weblogic.net.http.HttpClient.New(HttpClient.java:168) at weblogic.net.http.HttpURLConnection.connect(HttpURLConnection.java:111)
    at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:281)
    at java.net.URL.openStream(URL.java:793) at weblogic.apache.xerces.readers.DefaultReaderFactory.createReader(DefaultReaderFactory.java:149)
    at

  • How do you make multiple libraries WITHOUT replicating similar directories?

    I have two ipods and one ipad
    On each, I have some of the same music, and more importantly, many of the same movies AND podcasts.
    I can't figure out how to use multiple libraries that share files (on a SINGLE COMPUTER).
    For example, my three libraries ALL seem to want to create a directory for the exact same podcast, which then stores the files three seperate places, killing my hard drive space.
    How can I tell each seperate library to only look in one location for the podcast / movie / music files?
    Message was edited by: tvmaster

    For some reason, I could only add items IF the ipad was hooked up, is that correct?
    No.
    You don't need anything connected to create playlists.
    If you selected the iPad and created playlist directly on the iPad through iTunes, yes you would need it connected to edit those playlists.
    But don't do it that way.
    Just create them without the device connected.
    Also, you don't need playlists for everything. Mainly music.
    In iTunes, you can select the device (when connected) and click the Movies, Podcasts and *Music Videos* tabs and select what to sync. You can make different selections for each device.
    For music, create a playlist for each device to have differnt music on each device.
    Connect the device, click the Music tab, tick *Sync music*, then *Selected playlists* and tick the playlist you want on that specific device.

  • How do you deploy an application to a user?

    I want to setup SCCM so that IT can deploy applications to users. I know that SCCM allows the publishing of a library to allow users to accept and deploiy applicatiosn themseves but I don't want that. I just need to know how to deploy the application to
    them. I know it's a simple question but if someone could give me a general step by step that would be great.
    Much appreciated

    See here for information on the Application Catalog. Sounds like a good fit for you.
    http://gerryhampsoncm.blogspot.ie/2013/08/configmgr-2012-sccm-2012-sp1-step-by_26.html
    Gerry Hampson | Blog:
    www.gerryhampsoncm.blogspot.ie | LinkedIn:
    Gerry Hampson | Twitter:
    @gerryhampson

  • How do you merge iphoto libraries without duplicates and maintaining events?

    I have a few iphoto libraries on my computer that I need to merge, without duplicates, and maintaining the seperate events.  Does anyone know how to do this efficiently?

    "Terence Devlin" does not work for Apple, for the makers of Library Manager and has no beneficial interest in whether or not you use or purchase this or any other app. If "Terence Devlin" did have such an interest the terms of use of the Forum would require that he add such information to the post. No, Aperture cannot merge iPhoto Libraries. Aperture can convert them to Aperture Libraries and merge them, but that would be of no use to an iPhoto user, as iPhoto can't open an Aperture Library.
    And the fact remains that the paid version of Library Manager is the only way to merge Libraries
    Regards
    "TD"

  • How do you organize multiple libraries?

    Last year, I kept one big giant library for every 6 months. This consisted of a terabyte of images per library.
    I have always feared a library becoming corrupted and being unable to successfully restore the images.
    Do people keep smaller libraries?
    I am thinking of starting a new library every month. Does this seem like a good idea? or a waste?
    Lastly, do people keep the actual images not stored in the aperture library itself in case you need to get to the original file if something were to happen to the library?
    Thanks!

    My biggest objection to multiple Libraries is that you then can't search for anything except the 'current' images, but I'm doing a lot of DAM tasks with Aperture as well as normal processing.
    I mostly use referenced files, but that's because I'm usually working on a MBP which simply doesn't have the room to store all the files.
    Ian
    P.S. Don't worry too much about corrupted Libraries - your images aren't being stored in a binary database file, they are in a 'package' - in other words it's a special kind of folder which you can access by Control-clicking on it in the Finder and choosing 'Show Package Content'. You can then do a Spotlight search in the folder and find all your image - doesn't matter if the DB is corrupt, you don't even need Aperture on the machine.

  • How do you deploy adobe acrobat xi from creative cloud for enterprise?

    Hello,
         We purchased Creative Cloud Enterprise and our new supervisor wants adobe acrobat on all computers.  I downloaded the package through Creative Cloud and used the customization wizard to customize the msi in the exceptions folder just like the instructions said.  I followed the steps and deployed it out using Dell Kace.  When a user tries to open Acrobat, it tells them they have a trial version and they must register the product.  The instructions for the customization wizard said not to put the creative cloud serial number into the customization tool.  Is there something I'm missing with deploying adobe acrobat and creative cloud?
    Thanks,
    Michael

    I'm not a CC expert, but I think normally admins configure Acrobat and then deploy everything via the Creative Cloud Packager. Acrobat certainly needs to be licensed, so when you only have a CC license, it's best to deploy in a standard way so that Acrobat get serialized with the license you have.
    19   Creative Cloud Packager Installs — Enterprise Administration Guide
    hth,
    Ben

Maybe you are looking for