Project Conventions for J2EE Apps Early Access...

Hi
I am trying to set up a standardized directory structure for J2EE apps that is flexible enough from a simple webapp to a complex J2EE App with multiple EJB components, WARs...etc..etc...
For this, I turned to Java Blueprints Guidelines, Project Conventions for Enterprise Applications Early Access 1 posted on the Sun's web site...
This document states among follwoing that (quote)
-----(quote)
These conventions, which the Java BluePrints team has followed with its applications (which can be accessed from http://java.sun.com/blueprints/code/index.html), assume that developers use the Ant tool for building projects. Developers using other build tools may have to make slight modifications to the conventions.
----(end quote)
I have downloaded the latest J2EE SDk which has samples directory containing the famous , Adventure BUilder, Petstore, etc, etc.....But they do not follow project directory structure as outlined in this document...Moreover, I found each app has different project directory structure even for the same functional part..
1. Are the J2EE sample apps bundeled with J2EE SDK different than the ones available as separate download?
2. If they are not, where can I download sample apps that demonstrate project conventions outlined in the guidelines document...
Any comments are welcome...
Thanks
zambak

Hi,
The project conventions are new and early access version1. So it will be changing a little bit and as a result the apps may get a little out of sync. We are currently switching the apps over to match with the project conventions. For an app that dempnstrates project conventions, please see the adventure builder on java.net at https://adventurebuilder.dev.java.net/
We are working on a revised version of the project conventions, so your feedback/comments would be highly appreciated.
-Smitha
Hi
I am trying to set up a standardized directory
structure for J2EE apps that is flexible enough from a
simple webapp to a complex J2EE App with multiple EJB
components, WARs...etc..etc...
For this, I turned to Java Blueprints Guidelines,
Project Conventions for Enterprise Applications Early
Access 1 posted on the Sun's web site...
This document states among follwoing that (quote)
-----(quote)
These conventions, which the Java BluePrints team has
followed with its applications (which can be accessed
from http://java.sun.com/blueprints/code/index.html),
assume that developers use the Ant tool for building
projects. Developers using other build tools may have
to make slight modifications to the conventions.
----(end quote)
I have downloaded the latest J2EE SDk which has
samples directory containing the famous , Adventure
BUilder, Petstore, etc, etc.....But they do not
follow project directory structure as outlined in this
document...Moreover, I found each app has
different project directory structure even for the
same functional part..
1. Are the J2EE sample apps bundeled with J2EE SDK
different than the ones available as separate
download?
2. If they are not, where can I download sample apps
that demonstrate project conventions outlined in the
guidelines document...
Any comments are welcome...
Thanks
zambak

Similar Messages

  • Project Siena for Personalized Apps

    Duh! I've been bemoaning the lack of Windows Store Apps that work with the Insteon Hub that I use with some lights and motion sensors, etc. (home automation). And then I stumbled over
    http://www.richstevenson.com/2014/01/06/insteon-direct-commands/ and realized that in less than half an hour (mostly getting and sizing a graphic)I could start solving the problem
    and build something just for myself.
    I know most folks will use Project Siena for business apps, but it strikes me that when anyone personally need a one of a kind app that this provides a fast solution if you can figure out what you need.
    I'll add some screens to this for myself to do more things..
    -- Barb Bowman

    Nice work Barb...   :)
    Looking forward to the end of the month to the next edition of Siena  :)  then we can do even more!  :) Keep up the good work!
    Best regards Terje F - Norway

  • [svn:osmf:] 13591: Update project files for sample apps.

    Revision: 13591
    Revision: 13591
    Author:   [email protected]
    Date:     2010-01-18 15:14:30 -0800 (Mon, 18 Jan 2010)
    Log Message:
    Update project files for sample apps.
    Modified Paths:
        osmf/trunk/apps/samples/framework/CuePointSample/.actionScriptProperties
        osmf/trunk/apps/samples/framework/CuePointSample/.flexProperties
        osmf/trunk/apps/samples/framework/DynamicStreamingSample/.actionScriptProperties
        osmf/trunk/apps/samples/framework/ExamplePlayer/.actionScriptProperties
        osmf/trunk/apps/samples/framework/ExamplePlayer/.flexProperties
        osmf/trunk/apps/samples/framework/GGTrackingPlugin/.actionScriptProperties
        osmf/trunk/apps/samples/framework/GGTrackingSample/.actionScriptProperties
        osmf/trunk/apps/samples/framework/HTMLMediaContainerSample/.actionScriptProperties
        osmf/trunk/apps/samples/framework/HelloWorld/.actionScriptProperties
        osmf/trunk/apps/samples/framework/MediaContainerSample/.actionScriptProperties
        osmf/trunk/apps/samples/framework/MetadataSample/.actionScriptProperties
        osmf/trunk/apps/samples/framework/MetadataSample/.flexProperties
        osmf/trunk/apps/samples/framework/MetadataVideoPlugin/.actionScriptProperties
        osmf/trunk/apps/samples/framework/MetadataVideoSample/.actionScriptProperties
        osmf/trunk/apps/samples/framework/MetadataVideoSample/.project
        osmf/trunk/apps/samples/framework/NestedMediaContainersSample/.actionScriptProperties
        osmf/trunk/apps/samples/framework/PluginSample/.actionScriptProperties
        osmf/trunk/apps/samples/framework/ReferenceSample/.actionScriptProperties
        osmf/trunk/apps/samples/framework/SampleLoggers/.actionScriptProperties
        osmf/trunk/apps/samples/framework/SampleLoggers/.flexLibProperties
        osmf/trunk/apps/samples/framework/SamplePlugin/.actionScriptProperties
        osmf/trunk/apps/samples/framework/WebPlayer/.actionScriptProperties
        osmf/trunk/apps/samples/libs/VASTSample/.actionScriptProperties
        osmf/trunk/apps/samples/plugins/AkamaiPluginSample/.actionScriptProperties
        osmf/trunk/apps/samples/plugins/AkamaiPluginSample/.flexProperties
        osmf/trunk/apps/samples/plugins/AkamaiPluginSample/.project
        osmf/trunk/apps/samples/plugins/CaptioningSample/.actionScriptProperties
        osmf/trunk/apps/samples/plugins/CaptioningSample/.flexProperties
        osmf/trunk/apps/samples/plugins/CaptioningSample/.project
        osmf/trunk/apps/samples/plugins/MASTSample/.actionScriptProperties
        osmf/trunk/apps/samples/plugins/MASTSample/.project
        osmf/trunk/apps/samples/plugins/SMILSample/.actionScriptProperties
        osmf/trunk/apps/samples/plugins/SMILSample/.flexProperties
        osmf/trunk/apps/samples/plugins/SMILSample/.project

  • Searching for an app to access companies storage network while mobile

    My companies IT department is looking for an app to access our share drive.
    But the data in our I drive is physically stored on a SAN (storage area network) array, goes through iSCSI Interface to a server, the server shares it out to Enterprise users, and controls the security with Windows account credential.  Most importantly is that everything in the corp. network is protected under a business class firewall, we published out websites and OWA (Outlook Web Access) service to the Internet, but we do not publish our share drive to the Internet, because it is very dangerous.
    are there any solutions to access these files while mobile rather than just through a desktop?

    If you are in side the building & using wifi, you could look into:
    http://itunes.apple.com/us/app/filebrowser-access-files-on/id364738545?mt=8
    Configure WebDave on your server.
    This thread has good info.
    https://discussions.apple.com/thread/3708341?tstart=0
    Good old FTP
    FileApp and FileApp Pro
    If you can convince them to let you near your desktop, an app like ... would let you transfer files ( according to how I read the doc..
    http://itunes.apple.com/us/app/desktop-connect-pro/id421602383?mt=8
    Robert

  • Logging doesn't work for J2EE App

    Hi,
    i've defined the following log config as XML in the .ear file of my app:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE log-configuration SYSTEM "log-configuration.dtd">
    <log-configuration>
         <log-formatters>
              <log-formatter
                   name="de.axentiv.hne.format"
                   pattern="%l %d %s %m"
                   type="TraceFormatter"/>
         </log-formatters>
         <log-destinations>
              <log-destination
                   effective-severity="ALL"
                   name="de.axentiv.hne"
                   pattern="c:\jms.log"
                   type="FileLog">
                   <formatter-ref
                        name="de.axentiv.hne.format"/>
              </log-destination>
         </log-destinations>
         <log-controllers>
              <log-controller
                   minimum-severity="ALL"
                   name="de.axentiv.hne">
                   <associated-destinations>
                        <destination-ref
                             association-type="LOG"
                             name="de.axentiv.hne"/>
                   </associated-destinations>
              </log-controller>
         </log-controllers>
    </log-configuration>
    I retrieve the logger:
    private static final Location loc = Location.getLocation(JmsTestServlet.class);
    JmsTestServlet.class resides in the package de.axentiv.hne which corresponds to the log destination defined above.
    My logging statement is:
    loc.debugT("***> Sending message: Test");
    Unfortunately there is no file at c:\jms.log which contains my log statement. Does anybody know what my problem here might be.
    Regards in advance and thank's
    Heiko

    Hi Heiko,
    by default the logging api writes to a single trace file (defaultTrace.trc). This is done for performance reasons. At times though (and I would always suggest this on your local J2EE Engine), you want multiple trace files...one for each app.
    I did a presentation on how to configure the J2EE Engine to do this. You can see the pdf of this presentation here: https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/using logging and tracing on the sap web as java.pdf
    Hope this helps!
    Cheers,
    Jeff

  • Esscmd for retrieve app & db access of particular user

    Hi All,
    Currently, we are using Essbase 6.5.4.
    I want to retrieve app, db access & group related information of one user
    what is the command in Esscmd to accomplish this task.
    Advance thanks for your help.
    KK

    Take a look at the thread
    User access rights list
    It talks about getting security info, in particular Essbase security viewer. I did a search on the web and found this link to download it
    http://maxupload.com/F62683B4
    Note, I have not tried the version in the link, but looked at security viewer in the past and it looked pretty good

  • Looking for mobile app to access my acct away fom home.

    I just received a new smart phone and trying to set it up. Unfortunately it's not an iPhone. Is there an iTunes mobile phone app that is compatible with the Samsung Galaxy S3 (Android) and will allow me to access and play music and audio books from my iTunes account library (not my downloaded music on my home pc)? Can't seem to locate one. Any help is appreciated.
    Thanks,
    Barb

    If you are in side the building & using wifi, you could look into:
    http://itunes.apple.com/us/app/filebrowser-access-files-on/id364738545?mt=8
    Configure WebDave on your server.
    This thread has good info.
    https://discussions.apple.com/thread/3708341?tstart=0
    Good old FTP
    FileApp and FileApp Pro
    If you can convince them to let you near your desktop, an app like ... would let you transfer files ( according to how I read the doc..
    http://itunes.apple.com/us/app/desktop-connect-pro/id421602383?mt=8
    Robert

  • Upload user chosen file for the app to access directly

    hello all,
    i'd like my app to upload a user chosen file from user's hard
    drive but i want the flash app to have direct access to the
    uploaded bitmap rather than saving the file to the server via php.
    i've seen examples to send the FileReference object to a
    serverside script for uploading to the server but i just want the
    flash app to use the bitmap w/o needing to save the file.
    is the file data only uploaded by php or during the
    FileReference.upload()? how to get access to the bitmap data?
    help!
    TIA,
    michael

    thx kglad. as far as you know, is that the only way? i was
    hoping that FileReference was able to gain access to the bitmap to
    pass it to the flash app directly.

  • I accidentally declined for an app to access my photos and now won't save.

    I wasn't sure where to post this - first time support user so very confused!
    I have recently downloaded a very helpful app for my iPhone which, like many other apps, ask for permission to access your photos etc. I accidentally declined the permission to access my camera roll and it is an app that I can make coloured notes in and save them to my camera roll. Now I cannot save the images produced in the app to my camera roll - it tells me it has saved but it hasn't  - I suspect due to the permissions being unauthorised. How would I go about reauthorising this app to allow it to use my photos? I have deleted and reinstalled, hard reboot on my iPhone then reinstalled - everything.
    Any advice would be greatly appreciated!

    Settings > Privacy > Photos > toggle that app on

  • Plugin to migrate deployment descriptors for J2EE apps

    I was told there is a JDev 10g plugin that deals with migration of deployment descriptors for different kinds of J2EE application servers.
    If it is true, what is the plugin name? Is it already contained within JDev or we are supposed to download and install it?
    Regards,
    Eduardo Gouvea.

    Have a look at the deployment desriptor category in the JDeveloper new gallery - you'll see support for OC4J, JBoss, and Weblogic built-in.

  • Project Conventions + CVS + ANT

    Hi
    The "Project Conventions for Enterprise Applications Early Access 1" helped us solve some issues with the project layout. As most of the standard tools we use CVS for team synchronization. Now the problem that arises is, we have 10 common component, of which NOT ALL are used by all the projects.
    We have 15 projects, in which 2 components are common for all. The remaining 8 are split.
    5 are common in one project.
    8 are common in another project.
    so on and so forth....
    Now being the incharge of a project, I'll know which modules to "check-out" and configure from the project for the first time, but if a new team member joins, we need to redo the same thing. Also while developing if a new common component is added, everyone needs to get it "automatically", Rather than go and reconfigure the project to checkout a new module manually.
    One solution thought (so far) was using ANT. We write an ANT file, which contains all the common modules used, and also contains the checkout information. So everytime we add a new common module, we need to update the information in the ANT file and everyone running an update, get's the update information.
    And the ANT is run after every checkout. The CVS update for the project (including the common components) is through ANT
    There are two problems using this.
    1. Everytime we add anything, we need to update the ANT file. (cumbersome)
    2. We are not able to optimally utilize the IDE(Intellij IDEA) features for cvs, compiling, deployment.
    Do we have any optimised way of doing this, also is this being thought about this problem for the final draft.
    Also making multiple sub-common components is also another cumbersome idea... Please let me know what you people think.
    Has anyone implemented any solution for this problem.

    Hi,
    We dont have any official date when it will be finalized right now. We plan to get more input and refine the conventions. One possibility is that we could put the conventions on java.net and make the updates available sooner. We do that with Advneture Builder and host the code on java.net and do the development there, so people can get access to earlier updates. Maybe we could do the same with the conventions document? This way the latest draft is always available and bugs reported can easily be fixed and incorporated which would make the updates more visible to others.
    Would that be helpful? Maybe I can see if that is possible.
    thanks,
    Sean

  • Usage of Object Cache for Java in J2EE apps

    Hi,
    we are investigating on whether we can use the Object Cache for Java
    (OCS4J) for our requirements. The question we have come across is:
    What is the designated way of integration for the Object cache to fit
    into the J2EE environment? Unfortunately, although the current manuals
    group OCS4J into the "Oracle Containers for J2EE Services Guide" and the
    suggested package name for the whole thing in JSR 107 seems to be
    javax.util.jcache, there is very little documentation on how the
    designers would like J2EE programmers to use the cache from within a
    J2EE app and all examples given are not from within a J2EE environment.
    We are in particular thinking about a hierarchy of several cache
    "compartments" (Region->Subregion->group) for different topics and using
    the hierarchical name of the cache (region.subregion.group) as the
    primary key for BMP Entity beans, each of them having their own
    CacheAccess object. Then we would have an API of stateless Session beans
    on top of that, which would be determining the cache "compartment", get
    the appropriate Entity Bean with the Cache Access object and then do the
    required operations on the cache.
    But then we immediately run into the question of how the mapping between
    Cache Objects and CacheAccess objects will be done etc.
    So is there anybody that can give us any hints how to use the OCS4J in
    an EJB scenario?
    Thanks in advance for any help!
    Andreas Loew
    [email protected]

    We have Java client requesting over HTTP to application server. We would like to cache some of the objects created by the servlet while serving the request. Can I use the OCS4J for caching the Java objects. Do I require any software or just copying the JAR file and importing the class would serve the purpose?
    Regards
    Arun

  • Using JNDI to access config file located outsite j2ee app

    Hi I'm wanting to store a config file for my J2ee app, somewhere on a tomcat server possibly inside the
    conf/ directory so that I can update this config file without having to redeploy the j2ee app every time a change is made.
    I've been told I can use JNDI to access this file, but I can't seem to find any examples or documentation on how I can do this.
    I'm new to JNDI and would appreciate any help, or suggestions.
    Thanks,
    Tim
    EDIT:
    So far I can access the file with this code:
    Hashtable env = new Hashtable();
              env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.fscontext.RefFSContextFactory");
              try {
                   Context ctx = new InitialContext(prop);
                   // look up context for name
                   //env.put(Context.PROVIDER_URL, "file:C:\\confluence\\confluence-2.5.1-std\\conf");
                   File f = (File)ctx.lookup("/confluence/confluence-2.5.1-std/conf/test.txt");My new problems are:
    1. The commented line env.put(Context.PROVIDER_URL, "file:C:\\confluence\\confluence-2.5.1-std\\conf"); it says in examples that this should set the dir to look in to the conf dir but if i change the lookup value to just test.txt it cannot find it.
    2. Can I somehow set the context to look into the conf directory of Tomcat without hard coding the path, as the path could change or be different on different machines??
    Edited by: Timothyja on Jan 15, 2008 7:00 PM

    Hi Kiran,
    Looking at the code you sent and the error, it looks like you should be casting the ds object to a javax.sql.DataSource object not a weblogic.jdbc.common.internal.RmiDataSource object.
    You may find some useful info at the following URL:
    http://edocs.bea.com/wls/docs81/jdbc/rmidriver.html#1026007

  • How to get Client ID and Client Secret for Office App for Word which accessing SharePoint Online

    we currently implementing an Office App for MS Word which access SharePoint list and get data from lists. Our aim is any user can get this app from Office App store and enter their SharePoint URL and browse their own SharePoint lists and use those. When
    I was checking mechanisms which you used to access SharePoint, in some of them have used ClientId and Client Secret to authenticate with SharePoint. I have following questions.
    1.If I want to sell my app using Office app store where can I get those clientId and client secret which is used to  get the access tokens.
    2.Is it possible to create SharePoint app and publish it to SharePoint app store and get clientId and client secret and use it when accessing through office. So users first download our SharePoint app install it to their SharePoint environment then get out
    Office App from Office app store and add it to word. Will this work?

    Hi,
    >> We are planning to develop an Office app to access SharePoint Online and SharePoint on Premise from Microsoft word.
    I’m not very familiar with SharePoint development, so please correct me if I have any misunderstandings about your requirement.
    The basic components of an app for Office are an XML manifest file and the default webpage of your app (server side).
    >> If I'm publishing my Office App for Word in to the Microsoft office app store, how do I get the ClientId and ClientSecret which I need to pass to authenticate with SharePoint online?
    As far as I know, when register your web app to SharePoint Online, you will get the ClientId and ClientSecret from the Azure Active Directory. And you need to store the Client ID and Client
    Secret on the app server side.
    For details, you could reference the article
    Building an Office 365 ASP.NET MVC app.
    >> If ClientId and ClientSecret not providing when we publishing Word Office App to the app store how what the ways which we can use to authenticate with SharePoint using Word Office app?
    You don’t need to provide the ClientId and ClientSecret when publishing your App to App Store. They are stored on your app server side.
    By the way, if you have the question about how to access the SharePoint resource in a Web Application, I will suggest you posting the questions to
    SharePoint Development Forum. For this forum, we mainly discuss the questions about using the Office JavaScript API to develop Apps for Office.
    Regards,
    Jeffrey
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Connect String for the front end app to access Lite Database in the Client

    Hi,
    I have been using an app developed in VB.net for accessing the Oracle Lite Database from the client machine. Can anyone please help me out how to set the Connect String in the config file of my front end app to access the Oracle Lite Database from my client machine. Do anyone have the syntax of the connect string to access the lite database in client machine.
    Thanks a lot in advance.

    Hi...
    -->Select example
    create or replace procedure get_emp(rc out sys_refcursor)
    is
    begin
    open rc for select * from emp;
    end;
    -->DML example
    create or replace procedure do_dml_emp(pempid in number,
    pempname varchar2,
    result out number)
    is
    begin
    insert into emp(empid,empname) values(pempid,pempname) returning empid into result;
    exception
    when others then
    result:=-1;
    end;
    -->DDL example
    create or replace procedure ddl_emp(colname varchar2,
    coltype varchar2,
    result out number)
    is
    begin
    result:=-1;
    execute immediate 'alter table emp add column ' || colname || ' ' || coltype ;
    result:=1;
    end;

Maybe you are looking for

  • ITunes freezes when I plug my iPod Touch 4 in and it won't sync.

    Ok guys,      So recently, I have had MAJOR problems with my iPod touch (not jailbroken) and they're driving me INTO INSANITY!!! So, a few weeks ago, I added a movie I downloaded onto my iTunes. All **** broke loose from there. At first I wasn't able

  • How do I create two accounts on one computer?

    Hi - I just bought my son a new iPod and he gave me his old one (a mini). His iTunes account is on my computer and I want to create my own account on the same computer so that we're not paying off each other's credit cards. How do I do that? It doesn

  • ThreadOpt values - is it possible to set them and what are the ranges?

    Hi there, I have a problem on my TestStand 4.2 platform, with test step result, formed and received from called external sequences results. In my Main sequence, in Post-Expression I defined condition, according to which the "Step.Result.Status" is pa

  • External Hard Drive Suddenly Disappeared From List

    Hi guys. About a week ago, a weird msg started popping up about my external (F:) hard drive, after which nothing inside of it would show up anymore. If I clicked on a folder, there'd be nothing in it. Then if I unplugged, and re-plugged, it would all

  • HTML and JS in Adobe Muse is slow to load?

    Hi, I've embedded an Edge Animation into Muse by inserting the HTML and uploading the Javascript using a MuCow widget provided by Adobe. 'LoadJSAtBodyEnd.mucow' The animation takes a very long time to load? 11 seconds in Safari, 20 seconds in Firefox