Directory structure of JMS application

either we must follow any directory structure just like servlets and ejb as web-inf and meta-inf in JMS.

No real need - just use the JMS client directly in any JVM.
If you are using MDBs then yes you need to use an EAR just like EJBs - but alternatively just use spring.xml...
http://jencks.org/Message+Driven+POJOs
James
http://logicblaze.com/
Open Source SOA

Similar Messages

  • Directory Structure for multiple applications at one host

    Can I have multiple (more than one) WEB-INF directory structures in the public_html directory for different web applications? If I do this, how do setup the url-pattern in the Servlet Mapping tag in the web.xml file? How do I setup the URL that calls the servlet from the HTML that has been send to the user�s browser?

    If I understand your question, you want multiple contexts. All App Servers/Web Servers allow you to setup multiple contexts. Normally if your root context is in /home/myhome/app_server/
    then you would setup multiple contexts by creating a folder for each context:
    /home/myhome/app_server/context1/
    /home/myhome/app_server/context2/
    Each would have their own full application/website. And the way to reference these would be as such:
    if the domain, www.mydomain.com, is mapped to /home/myhome/app_server/
    www.mydomain.com/context1/
    www.mydomain.com/context2/
    I think that is what you were asking. Hope it helps

  • What is the directory structure of EJB applications?

    I am new to EJB program. I know that after the development is done, we package the EJB components into .jar file, and package the Web components (HTML/JSP/Servlets/JavaBeans) into .war file, and then together we package .jar file and .war file into a single .ear file. Then we just deploy the .ear file into WebLogic's application directory.
    But, before the deployment, I mean during the development, what kind of directory structure is good for us to develop our EJB, HTML, JSP, Servlets, and JavaBean components?
    Previously, when I was doing JSP/Servlets applications, my directoy structure is:
    webapps\
    --------myapplication\
    -----------------------*.html
    -----------------------images\
    ------------------------------*.jpeg, *.gif
    -----------------------jsp\
    ------------------------------*.jsp
    -----------------------WEB-INF\
    ------------------------------web.xml
    ------------------------------classes\
    -------------------------------------Java Servlets located here
    -------------------------------------beans\
    -------------------------------------------JavaBeans are located here
    Now, I am doing EJB applications, what should be the directory structure?
    Thank you very much for your help!
    Jingzhi

    I have been involved in a few enterprise applications but have not been happy with the packaging structures used and am starting a new one now and am looking for other examples.
    this is what I've used before.
    web/
    classes/
    client/
    server/
    but if a class was used in the client and server it was put under the server/ package. I feel that more separation is needed.

  • Guidelines for deciding directory structure for Swing Application

    Hi,
    We are developing a Swing Application for our organization. We want to organize the code and resources/icons/properties files in correct manner.
    We have guidelines for arranging the code for web application. Is there any such guidelines available for desktop application as well? What is the preferred location for keeping the icons and properties files?
    Regards,
    Manu

    Thanks Maran.
    I have already checked many installation guides before posting here. All of them mention about creating folders like /admin or /oradata on various mount points but none of the naming conventions really indicate whether it is a 8i database or a 10g database.
    This is required when you are having multiple Oracle installations under /opt and databases are running from different mount points.
    Regards,

  • Ejb directory structure plz...

    hello ,
    i am new to ejb and i written my first ejb program ... a stateless session bean program(just a small application) as a part of my acedamic lab exercise.
    i have 1 java bean program,1 client program which is jsp, and a home and object interface.now the real problem is i dunno the directory structure of ejb application. i mean to say i dont know wht are the folders required for my above application and in which directory to place which file. i am using weblogic 8.1 version.
    wht r the jar files to be placed in my class path to run my application on weblogic 8.1 server.
    i tried in google but i havent got the one i m looking.so,please reply to my post
    thanxs in advance

    Hi
    The ejb file must be as same as:
    [Root-dir]
    --- [META-INF]
    ejb-jar.xml
    weblogic-ejb-jar.xml
    -----[package classes dir]
    *.class
    packing all using : jar cvf [ejb-name] *
    The JSP client must be a war file
    In wls 8.1 if you are trying to call an EJB from a war, both of them need to be in an EAR file.
    Jin

  • Directory Structure ?s for an Exploded Web Application

    We have an application that consists only of JSPs and Servlets, no
    EJBs. I am researching whether or not it's worthwhile to start using
    EJBs. We're also migrating from Weblogic 5 to 6.1. I've managed to
    migrate our application fine and have it up and running on WLS 6.1.
    I'm confused about the exploded directory structure, the
    application.xml file, where to put the EJBs and whether or not I have
    to jar them. Here's our current directory structure:
    DefaultWebApp/               JSPs here
    DefaultWebApp/WEB-INF          web.xml and weblogic.xml here
    DefaultWebApp/WEB-INF/classes     Servlets and other classes here
    DefaultWebApp/WEB-INF/lib     do my un-jar-ed EJBs go here?
    I've been reading a lot of BEA's documentation, particularly
    ‘Deploying an Exploded J2EE Application' and a ‘Web Application PDF',
    and looking for relevant threads on the weblogic.developer.interest
    groups. It looks like the application.xml should go in a new
    DefaultWebApp/META-INF directory. But where do the EJBs go?
    I also see some directory structures with another /web directory
    that's confusing me.
    Oh, I've also managed to compile and jar up a trial Stateless Session
    EJB. Then I think I ‘auto-deployed' it into the /applications
    directory, and Weblogic seems to recognize it. But when I tried to
    reference it in a JSP, I got an error message ‘class x is public,
    should be declared in a file named x.java'. I'm assuming this is
    related to the application.xml, where I need to define the ejb
    directory.
    Thanks.

    To deploy your web app together with your EJBs, you need to create
    an "EAR" structure. Both your webapp and your EJB jars will be within
    this new structure, at the same level. You may jar up your EJBs, or you
    may explode their structure, it's up to you.
    The resulting structure should look something like below:
    EnterpriseApp/ <-- new top level
    EnterpriseApp/META-INF/
    EnterpriseApp/META-INF/application.xml
    EnterpriseApp/lib/ <-- shared libraries (if any)
    EnterpriseApp/EJB/ <-- ejbs go here
    EnterpriseApp/EJB/META-INF/ejb-jar.xml
    EnterpriseApp/EJB/META-INF/weblogic-ejb-jar.xml
    EnterpriseApp/EJB/com/your/ejb/classes/here
    EnterpriseApp/WebApp/ <-- move your current app here
    EnterpriseApp/WebApp/index.jsp <-- JSPs goes here
    EnterpriseApp/WebApp/other.jsp
    EnterpriseApp/WebApp/WEB-INF/web.xml
    EnterpriseApp/WebApp/WEB-INF/weblogic.xml
    EnterpriseApp/WebApp/WEB-INF/lib <-- ui libraries go here
    EnterpriseApp/WebApp/WEB-INF/classes <-- servlets go here
    The above structure is identical to the structure to an EAR file, only "exploded"
    as actual files and directories instead of being "jarred" into a single EAR file.
    Your application.xml in this case would specify something like:
    <application>
    <display-name>EnterpriseApp</display-name>
    <description>My Enterprise Application</display-name>
    <module>
    <ejb>EJB</ejb>
    </module>
    <module>
    <web>
    <web-uri>WebApp</web-uri>
    <context-root>/yourAppRoot</context-root>
    </web>
    </module>
    </application>
    And in config.xml you would have an entry similar to:
    <Application Deployed="true" Name="EnterpriseApp"
    Path=".\config\mydomain\applications\EnterpriseApp">
    <WebAppComponent Name="ui" Targets="myserver" URI="WebApp"/>
    <EJBComponent Name="ejb" Targets="myserver" URI="EJB"/>
    </Application>
    regards,
    -Ade

  • Directory structure for servlets and webservices in one application

    hi,
    Can any one help me for creating servlets and webservices in one
    application and deploying in Jboss 4.2.0.
    I want to know exactly what is the directory structure for creating this
    application and what are the additional .xml files for deploying this application.
    if any one know this answere please tell the answere.

    I figured out a solution - it's a problem of policies. In detail: Server1's codebase entry (file:) refers to the class directory of Server1's project. In the simple case of only Client1, which has no codebase entry, it works fine without a file permission on the side of Server1. In the complex case of Client1+Server2, which has to have a codebase entry (file:) refering to the class directory of the Server2's project on a separate machine, for exactly the same method call from Client1 to Server1 a file permission entry on the side of Server1 is needed for Server1's class directory. But WHY ???
    It seems to be a little confusing with the codebase entries, many of the posts are contrary to others and to my personal experiences. Some comments given by Adrian Colley throw a little light upon some aspects. Is there anybody, who can explain the whole topic, when, why, and which part of RMI application deals with codebase entries, also in case of not dynamic code downloading ? May be there is also a reference into the java docs, which I didn't found up to now.
    Thanks in advance
    Axel

  • Directory structure and files in Oracle Application server 10g and 11g

    Hi all,
    I am doing a lab migration from 10g to 11g based on the use of JAXB. There were some directory structures used in 10g to store the JAXB jar files and some other custom jar files. I want to know the equivalent folder structures in SOA 11g server. The 10g server directories are mentioned below:-
    1.<OracleAS_Home>\webservices\lib.
    2. server.xml located at <OracleAS_Home>\j2ee\home\config in 10g. Where can I find the equivalent file to "server.xml" in 11g server?
    3. <OracleAS_Home>\bpel\system\classes\com\oracle\bpel\xml\util.
    4. <OracleAS_Home> \bpel\system\classes.

    Here are the equivalents as per best of my knowledge:
    1. <WebLogic Home>\server\lib
    For example, D:\Middleware\wls1036\wlserver_10.3\server\lib
    2. config,xml located at <Domain_Home>\config\
    For example, D:\Middleware\wls1036\user_projects\domains\ArunBaseDomain1036\config\config.xml
    3. It should be the same as 10g (instead of OracleAS_Home, it will be ORACLE_Home) if you install the BPEL product. Since, I have not installed BPEL/SOA, I am not very sure.
    4. It should be the same as 10g (instead of OracleAS_Home, it will be ORACLE_Home) if you installed the BPEL product.
    Also, I would recommend that you consider using ORACLE Smart Upgrade (JDeveloper component) to help you with the upgrade process. It exactly points out these mappings of file/directory structures AND the necessary configuration changes as well.
    If you are requirement, is only about making the library jars available to your application, then consider reading the below discussion.
    Re: XIncludeAwareParserConfiguration cannot be cast to XMLParserConfiguration
    Arun

  • Web Application directory structure

    Please can someone help me with directing me to any online guide as to how webapp could be created and web.xml configuration in Sun Application server 8.
    I do not understand the directory structure of sun, unlike Tomcat the webapps contains all the virtual context part with a default ROOT direct set in the server.xml as the default docbase.
    Now, where is the default ROOT in Sun server? Where can I put my index file. When I create a web context, where will I put it? Does J2EE has similar WEB-INF structure in Tomcat? Does it have web.xml to configure the webapp
    Finally, I have written a simple EJB called Hello World using stateless protocol. I have my Hello.class, HelloHome.class and HelloBean.class. I also have ejb-jar.xml for container configuration. I have jar then up to hello.jar and have deployed them. Now I want to access the beans, Home bean to be precises. I have written a hello.jsp and I put it in the orignal directory where the main index.html file is in Sun server which is /user/Sun/AppServer/domains/domain1/docroot, I got errors.
    Could someone shade a light on this please.
    Thanks Guys.
    NB
    Do not point me to online reference
    I have awared max point for this question

    The developer's guide discusses in pretty clear terms how to deploy a J2EE app from a directory structure.
    The tomcat directory structure is really the same as a packaged war which once you read the documentation you will see is basically no different with SJSAS.
    You need to deploy an application. See previous posts on how to have docroot be the top level (search for posts by janluehe)

  • Correct Directory Structure for Serving a Web Application from Arch?

    At the moment I have an Apache web server hosting PHP based web pages out of /srv/http. This works for what I am doing at the moment, but i was wondering if there was a more professional\correct way to host a web application on Arch.
    When would someone host a page in /srv/http vs /var/www ? ( is /www even widely used on archlinux) ?
    Or is their a better way all together ( I read something about symbolic linking the 2 directories)?
    Can anyone provide a sample of how they decided to set up their basic web directories ?
    Any help is very much appreciated !

    It mainly depends on the webserver you're using.  There's nothing about the difference between /srv/http versus /var/www.  As far as the web user is concerned they don't even know what directory structure you're using.

  • Application Development Directory Structure

    I work with a team consisting of five programmers who want to rewrite a suite of software developed in C/C++ to Java. This will consist of numerous application programs; none of which are web-based. We use the UNIX OS and will access an Oracle database using JDBC. We also maintain our source code using CVS. We want to deploy each of our applications as a separate jar file. We would also like to identify either individual applications or groups of applications as Java packages. Our problem is setting up our development directory structure. We've been struggling with various structures, most of which work fine if our source files don't have a package statement, but we've had no luck finding a package statement that works.

    They aren't "extraneous levels", they are fundamental
    requirements of Java. Have a look at this
    http://java.sun.com/docs/books/tutorial/java/interpack/
    ackages.html. Any beginner Java book/article/tutorial
    should explain packages.Thanks for the url, I have perused numerous java books and searched the Sun site, but haven't found anything precise. In some locations I've seen it recommended to separate the source and classes in different directories, while other sources have them together in one file.
    Also, in response to an earlier comment, I think
    having different related applications under the same
    development tree and separated by packages is much
    easier to maintain/use/develope than having them all
    completely separate.We will have approximately 50 applications, with about 25 related to one application area and the other 25 related to another application area. The source for each of these application areas will be under CVS. To me it doesn't seem like the most convienent way to manage the software. But we'll have to do what we'll have to do.

  • Application directory structure

    Hi,
    I would like to develop a B2C application on portal 8.1
    What is the recommended directory structure to store portlets, html, images,servlets
    and beans? Where can I find the information?
    Thanx
    Mee

    Generally, you put the files you have in app under webapps/ROOT in the server directory, or figure out what the right mapping is in the server.xml file to define your directory as root. I forget how.

  • Where to keep new OA page(RN.XML in oracle Application Directory structure?

    I have created a new XML region which I want to use in page through Personalization.
    where should I copy this file into Application Directory structure?
    I am using this command to import -
    import C:\OA\jdevhome\jdev\myprojects\xbol\oracle\apps\ota\admin\enrollment\webui -jdk13 -mmddir "C:\OA\jdevhome\jdev\myhtml\OA_HTML\jrad" -rootdir C:\OA\jdevhome\jdev\myprojects -validate -username apps -password apps -dbconnection "(DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(Host = xxxas.com)(Port = 0000)))(CONNECT_DATA = (SID = xxx)(SERVER = DEDICATED)))"

    I imported the XML file but when I am trying to refer the xml file through personalization by giving path
    'xbol\oracle\apps\ota\admin\enrollment\webui\XbolLearnerSearchRN'
    It is erroring out saying
    'Extends: Invalid value: xbol\oracle\apps\ota\admin\enrollment\webui\XbolLearnerSearchRN: the reference may not exist. (oracle.adf.mds.MetadataDefException: Unable to find component with absolute reference = xbol\oracle\apps\ota\admin\enrollment\webui\XbolLearnerSearchRN, XML Path = null. Please verify that the reference is valid and the definition of the component exists either on the File System or in the MDS Repository.)'
    My requirment is - I want to use this xml file in FlexLayout for the personalization.
    Please Guide me, where I am missing.

  • Is there a fixed directory structure where we put our application?

    the samples .java files I find in \ias6\ias\ias-samples\database\hellodb\src\samples\hellodb\servlet ...
    I need to know if there is a directory structure that I should follow that iPlanet need when I deploy my application? like where do I put my .jsp files, .java or any beans class ? or it does not matter because these would be in the WAR file ..

    It does not matter how your directory structure is for your applications. When you deploy the war/ear files, all your class files and JSPs will be extracted from the war/ear files under ias_root_dir/ias/APPS

  • Directory Structure

    I just created a network installer for Q4 Release.  We have Developers, Full, and Debug licenses.  The DVDs were copied to the VLM computer's harddrive.  When I created the Debug configuration, the Network Installer reported the the DVDs did not have to be modified and would copy them directly.  When the network installed was done, it did not create the directory structure similiar to what the help file below shows.
    LabVIEW 8.0
    \_SourceFiles
    \Fourth Floor Engineering
    \Client
    vlmclient.exe
    other files
    setup.exe
    \Applications Group
    \Client
    vlmclient.exe
    other files
    setup.exe
    Figure 1. Network Installer Directory Structure
    I would have expected
    LabView 8.6
        \Source Files
        \Debug
            \Client
               vlmclient.exe
             setup.exe
    Only the \DISK1, \DISK2, \DISK3, \DISK4 were created.  The vlmclient.exe was not created.
    Paul 
    Solved!
    Go to Solution.

    When you were creating the VLI, did you get a popup message that said the source did not need modification? If you saw that popup, that means VLM was not pointed to a valid source file location, which will cause a direct copy of the files with no additions.
    If you select a valid source location, you should not see that message and the Product Name field should automatically populate. If you are using the Dev Suite or Platform DVDs, you will need to follow the steps in the KnowledgeBase article I refered to in my previous post.
    Here is an example of what copying the installer directory could look like if you just copy the LabVIEW 8.6 Platform DVD 1:
    LabVIEW 8.6 Platform DVD 1\_SourceFiles
                                                            \(the _SourceFiles directory will contain a copy of DVD 1)
                                                    \LV PDS (License Set name)
                                                            \setup.exe
                                                            \Client
                                                                     \vlmclient.exe (as well as some other vlm files)
    On the client machine, you would want to run "setup.exe" to begin the installation.

Maybe you are looking for

  • CC on 2 laptops

    Hi I have the £8.78 photoshop and Lightroom deal on my MacBook Pro. All fine. How do I install onto my toshiba windows laptop too. I have no serial number that I'm aware of?

  • Using buttons to change language in interactive pdf

    Hi all, I am creating a interactive pdf document which needs to be in 4 languages, I have created 4 buttons on the front page so the user can click to swap to French, German etc etc, but I want to be able to have all the relevant languages within the

  • Adf Input Text with formatted xml Content

    Hi, I have a requirements where I get an xml content in one line as suppose <xml ><a><a1></a1><a2><a2></a><b></b></xml> I want this Input text to render it proper fromat like <xml >     <a>         <a1>         </a1>          <a2>          <a2>    </

  • Work order material issue request error

    In Oracle EAM Maintenance super user responsibility i am getting following error while trying to request material issue " Picking rule fails to find a source locator that meets the rules restrictions " what went wrong? could any one explain

  • How to make bookmarks programmatically ?

    How to make bookmarks programmatically ? This question has never be adequately answered as I searched these forums. I have examined bookmark properties and they are atleast of three implementation styles. 1. The one made on UI have no javascript and