My First J2EE Project (tm) -- requesting advice!

My client is deeply invested in FileMaker for their Mac-based prepress division, and now they want what will eventually be a very sophisticated application to automate the production of customized paper products. I looked at all the options, and it seemed like my choices were Lasso (FileMaker's own server-side scripting language, sort of a poor man's ColdFusion) and Java. I decided that if I was going to go the JSP route, why not go all the way and do J2EE? Nobody in management knows, just yet, exactly how big this project will become; J2EE seems to offer the greatest potential for absolute scalability and flexibility.
I'd greatly appreciate if someone would take a glance at these requirements and give me any pointers or warnings that come to mind.
The servers will all run on Mac OS X. I'm locked into FileMaker as the database, and WebStar 4D as the server -- those are completely non-negotiable. I plan to use WebStar's Tomcat extensions and just store all the project web documents on the Tomcat server; and I plan to use JBoss as the application server, unless someone convinces me I should buy something more commercial. (Neither our budget nor our predicted project requirements put us anywhere near the Websphere/Dynamo level, but I could probably talk them into a few thousand.)
The eventual workflow will be like this:
1. Client logs onto website, customizes his product by selecting text attributes, typing in text, choosing images from a library, and so forth. Eventually, we might be using a full-scale interactive design applet. Most importantly, he chooses from a few possible document sizes and ink colors.
2. The application generates a low-resolution, watermarked PDF from the client's input, and displays it to him for his approval. If he approves the PDF, a high-resolution, print-ready one is sent to press. Here's the vital part: the PDF must contain proper specification of spot and process colors! If this is lacking, the whole thing goes down the crapper.
3. Somewhere along the line, the client pays for the product via credit card. I assume the best way of dealing with this is to contact a bank that offers online merchant accounts and ask them how to integrate their software into my application.
That's it, for now. Any advice I get will be very greatly appreciated. The PDF question is very important; I'd like to open a separate topic for it, on a more appropriate forum, but I'm not sure which of the forums here is best for that. Any suggestions?
And yes, I'm new to J2EE, coming from a PHP background -- but I've done some studying and built a sample GUI application in Java, so I feel I have a decent grasp on the language itself, and I'm rapidly absorbing J2EE concepts as I go through docs and tutorials. That's not to say I won't hang on your every word if you have some pearls of wisdom.
Please help me out here -- our alternative is to use Lasso. :)

Hi Ceties,
it's difficult to answer general questions about architecture because every person can do it differently, and still all of those ways can be right.
Your device class hierarchy seems well designed and I wouldn't change anything there.
The most comfortable way for me to organize my project is to use auto-populating folders. 
I also wouldn't use nested file organization, rather separate folder for every class. This way you don't need to remember the inheritance pattern while going through the files outside of the project.
For more information please visit:
http://zone.ni.com/devzone/cda/tut/p/id/3573#toc4
especially the last paragraph "Additional Resources"
I hope that helps, TRSns
Best regards, Piotr
Certified TestStand Architect
Certified LabVIEW Architect

Similar Messages

  • Problem intregrating Flash help usingRobohelp 8.0 into J2EE project

    Hi,
    I have am working on J2EE project and I have a small issue with getting Flash to run off my localhost server.  I have managed to get the webhelp working but I want to see what the help looks like using flash. I am getting and error when I am trying load the index file:
    "invalid path was requested /application/FlashHelp/whproj"
    I am using have Apache 6.0, struts 1.2.  It loads from the hard drive in both IE and FIrefox but not when I am running from the server.  When running on localhost in Firefox it loads the righthand contents page but none of the dynamic content.  In IE8 it load nothing at all (I assume because it doesn't know what to do after the error is thrown).
    Can anyone shed some light on this topic?
    thanks

    The problem is solved.  The apache server was filtering out .xml files so it was not loading whproj.xml thus all the other *.xml and subsequent flash objects were not loading.  That was only 2 days of trial and error.

  • First J2ME Project

    Hi,
    I am quite new to J2ME.
    I am about to do my first J2ME project and need all possible help from you'll.
    The project is about Property Management - Conditional Survey.
    The Managing Agent would visit the property site and do a survey of the property.
    The Agent would be having a mobile device using which he should be able to connect to the database located at his Head Office(HO).
    Using the User Interface displayed on his/her mobile device he should be able to retrieve information, Add/Update/Delete information about his property survey which would update the database located at the HO.
    This is all the information that I have regarding the functional requirements.
    Regarding the tools as off now this is the info I have :
    1) The database would be Oracle
    2) Eclipse IDE.
    3) What is a suitable Mobile Device / Emulator for such a project ?
    4) What other tools would I need ?
    If anyone has worked on a similar requirement before please point me to suitable links for more information and similar sample projects.
    Please share your experience and difficulties that you might have faced while doing the project.
    Your help would be much appreciated. Thanks in advance
    Regards,
    Paresh

    Take a look at jsr--179
    http://mobilezoo.biz/jsr/179/index.html
    Note that this is an optional API.
    Do you have a background of core java / j2se / j2ee?
    If not, start with something much simpler and work up.
    :D

  • Starting a Wedding Project need some advice

    Hi,
    New to this forum, as I'm a recent convert from Avid to Final Cut. Not completely free from my PC projects, but ready to endeavor into my first full length production in Final Cut Express. This will be a Wedding Video of my Daughters Wedding shot back in Nov.
    For starters I'd like to say that I will be using several different formats of clips. They range from HD, SD, and old analog that I will convert to SD clips.
    I will be using Third party music, and adding effects, color correction, filters to bring balance to the film. It will most likely be under 1 hour, and have multiple menus, chapters of which I will make in iDVD. I will spend hundreds of hours on this production and hope to reduce my roadblocks by acquiring some helpful suggestions.
    I am concerned about getting the sequences and project settings correct. Since most of the aspect ratio was shot in 16.9 I will use this codec. What advice can I get based on the information thus far to get the project off to a good start.
    I've already captured 90% of all the raw footage from the wedding, over 6 hrs. The HD was imported from a Sony AVCHD showing a frame size of 1920x1080. Second Camera used was a SD Sony VX2100 720x480 and a third Sony TRV-730. The compression setting shows up "Apple Intermediate Codec"
    I am a seasoned editor in Avid Pinnacle's Studio Platform and have used it for over 15 years. I feel solid in the PC arena, but like a fish out of water in the Mac world. I am learning and reading and reviewing on line studies to learn the basics of Final Cut. But if the foundation is incorrect as you build the project you only set yourself up for disappointment.
    Thanks for any suggestions. Will provide more details as asked
    Dan
    Thanks in advance

    so, the usual suicide mission of a first-timer project ...
    no, I've read the rest of your post, you're an advanced editor ... but I like to make jokes about those wedding-videos, 'cause MY first project with FC/e was such, and I failed at a paramount degree
    1) I've worked on a few short projects to date.
    ... I've already captured 90% of all the raw footage ...
    oh, oh ...
    BEFORE 'capturing', ALL material should be converted into final Project's Format! because, FC/e does NOT convert on import ...
    I believe I have all my source video from the event, the rest is in files on my PC from folders that I have generated over the years on my daughter at play, etc. I have yet to transfer these files.
    To this issue regarding clips of daughter's childhood, I work on inspiration as the story progresses. I do journal and take notes, I have found this extremely helpful, especially in putting together multi-cam shots of the same scenes. I have my own script sheets I've made to work this issue out. Although I see the notes that you can ascribe to each clip is very extensive, and thus I've made many and can update them as I review the clips. I like this feature in FC/e.
    Give the free tool Mpeg Streamclip a try, choose Export to Quicktime/Appleintermediate as codec ...
    Where is this available?
    Choosing "Export" to Quicktime/Appleintermediate as codec. When is this done, since my clips that I've "Logged and Captured" from HD Camera are using this AIC
    When I view my clips now in the folders they are quick time movies.
    I may need to do this with the SD clips, since they don't show the Quicktime.mov.
    capture the resulting .mov, or you get an annoying 'not rendered' after each 'cut' in FC/e.
    I have started the project, naming the project, and have the captured video stored on my new G-Raid external 2TB Hard drive. I believe my file structure is correct, saving a few concerns about setting up sequences and matching them to the master clips. I've studied the manual intensely, but the learning curve is as you go.
    get familiar with FC/e's bins and be disciplined in naming each take ... it helps on such projects. or, what I like to do is a 'paper-editing' first: pencil&paper, noting my thoughts what, where, what ... trial'n-error-editing is no good cook in FC/e.
    I have done this and have learned this in Avid, although they are not called "bins" they are 'files and folders' rather.
    ... I've already captured 90% of all the raw footage ...
    ie all but the childhood files that come as the story unfolds or inspiration dictates. I don't always follow a script, most of the time when doing family events it's all heart.

  • Java j2ee project integartion

    Hi
    I have a two project
    first normal j2ee project
    second project-java project which connects to data ,take the data from data file and then insert it into database.
    This data is displayed by jsp pages in first project
    Now I to integrate this I made a jar file of second project and added in lib of web-inf/lib
    But no action . making jar file approach is correct or not? any other idea.
    .Independently the seoncd project is working
    Other option is to make dependency to each other but it wont work as I have to give everything in single war file
    regards

    roy i am not invoking anything just keeping jar file in liv
    but I can post the main file handle.java
    ublic class Handle
         public static void main(String[] args)
              Properties applicationProperties = null;
              PropertiesUtil propertiesUtil = null;
              Properties queryProperties = null;
              PropertiesUtil queriesUtil = null;
              try
                   Logger logger = Logger.getLogger(AuditDataHandler.class);
                   //System.out.println(Constants.APPLICATION_PROPERTY_FILE_PATH);
                   applicationProperties = PropertiesReader.loadProperties(
                                                      Constants.APPLICATION_PROPERTY_FILE,
                                                      Constants.A

  • Regarding execution of a j2ee project.

    Hello I have developed one j2ee project with Tomcat 5.5 & Eclipse 3.2.1
    I have stored my project under <TOMCATHOME>/webapps/ <project1-folder>/
    If i need to develop another project, where i should create my new project folder. If i use the same webapps folder in the TOMCAT_HOME dir, Eclipse gives error like can't make another project.
    Can i make a new project in some other locations other than TOMCAT_HOME dir. For this what steps i need to follow.
    Moreover, i can make a .war file for my new project from Eclipse IDE?
    What is the use of this war file.
    if i need to execute my project from other PC, what should i do for executing my project in different PCs.
    Friends, Please help me in this regard.
    rgds
    tskarthikeyan

    Hello Balu Sir,
    First of all i am new to j2ee environment. Now i am learning only.
    In your reply, it means we can create our own directory for our project in the normal way. we dont need to create the folder under the webapps dir.
    I tried this in Eclipse configured with Tomcat. It has been compiled successfully.
    For example,
    My Project folder is - C:\Java/Eclipse/workspace/ChatServer/
    If i execute the application via tomcat like "http://localhost:8080/ChatServer/MainServlet"
    it gives internal error some thing like that.
    what is wrong in my steps.
    Also you mentioned in your reply, we can export the war file of our project.
    How to execute the project in different pc with this war?
    rgds
    tskarthikeyan

  • First J2EE Application using IDE in sdn provided example

    Hi guys!
    REQ! can any one suggest!
    First J2EE Application using SAP Netweaver Developer Studio provided by SDN is deployed succesfully to J2EE Engine but when I run the application JSP file in URL I am getting the Error as follows:
    500   Internal Server Error       SAP J2EE Engine/6.40 
      Application error occurred during the request processiong.
      Details:   com.sap.engine.services.servlets_jsp.server.exceptions.WebIOException:
      Error compiling [/CalculatorFdx300/CalculatorFdx300.jsp] in application [CalculatorFdx300].  The ID of this error is
    Exception id: [001125B854E9005F0000039E000013CC000414755D534457].
    with regards
    ganesh

    Hi Ganesh,
    It seems. It can be any one of the following
    1) Check the JDK Path
    2) Check the JNDI name
    3) Check the package structure
    4) Check the client file name and other files naming convention
    Hope it will resolve your problem
    cheers
    Jawahar Govindaraj

  • A problem with Lucene In a J2EE project

    Hi everyone:
    I am newer for Lucene which is used to build a search eigneer in my J2EE project.
    But I can hardly understand how it works because of my poor English.
    So I need you help:
    * TxtFileIndexer.java
    * Created on 2006�N12��8��, ����3:46
    * To change this template, choose Tools | Template Manager
    * and open the template in the editor.
    package classes.php.lucene;
    * @author eingmarra
    import java.io.File;
    import java.io.FileReader;
    import java.io.Reader;
    import java.util.Date;
    import org.apache.lucene.analysis.Analyzer;
    import org.apache.lucene.analysis.standard.StandardAnalyzer;
    import org.apache.lucene.document.Document;
    import org.apache.lucene.document.Field;
    import org.apache.lucene.index.IndexWriter;
    import org.apache.lucene.index.Term;
    import org.apache.lucene.search.Hits;
    import org.apache.lucene.search.IndexSearcher;
    import org.apache.lucene.search.TermQuery;
    import org.apache.lucene.store.FSDirectory;
    public class TxtFileIndexer {
         public String test() {
              return "test is ok hohoho";
          * @param args
         public String createIndex(String indexDir_path,String dataDir_path) throws Exception {
              String result = "";
              File indexDir = new File(indexDir_path);
              File dataDir = new File(dataDir_path);
              Analyzer luceneAnalyzer = new StandardAnalyzer();
              File[] dataFiles = dataDir.listFiles();
              IndexWriter indexWriter = new IndexWriter(indexDir,luceneAnalyzer,true);
              long startTime = new Date().getTime();
              for(int i=0; i < dataFiles.length; i++) {
                   if(dataFiles.isFile() && dataFiles[i].getName().endsWith(".html")) {
                        result += "Indexing file" + dataFiles[i].getCanonicalPath()+"<br />";
                        Document document = new Document();
                        Reader txtReader = new FileReader(dataFiles[i]);
                        document.add(Field.Text("path",dataFiles[i].getCanonicalPath())); //can not pass the Netbeans IDE, maybe the Field class is not support the signature of the fuction Text anymore!!
                        document.add(Field.Text("contents",txtReader)); //can not pass the Netbeans IDE, maybe the Field class is not support the signature of the fuction Text anymore!!
                        indexWriter.addDocument(document);
              indexWriter.optimize();
              indexWriter.close();
              long endTime = new Date().getTime();
              result += "It takes"+(endTime-startTime)
                        + " milliseconds to create index for the files in directory "
                        + dataDir.getPath();
              return result;
         public String searchword(String ss,String index_path) throws Exception {
         String queryStr = ss;
         String result = "Result:<br />";
         //This is the directory that hosts the Lucene index
    File indexDir = new File(index_path);
    FSDirectory directory = FSDirectory.getDirectory(indexDir,false);
    IndexSearcher searcher = new IndexSearcher(directory);
    if(!indexDir.exists()){
         result = "The Lucene index is not exist";
         return result;
    Term term = new Term("contents",queryStr.toLowerCase());
    TermQuery luceneQuery = new TermQuery(term);
    Hits hits = searcher.search(luceneQuery);
    for(int i = 0; i < hits.length(); i++){
         Document document = hits.doc(i);
         result += "<br /><a href='getfile.php?w="+ss+"&f="+document.get("path")+"'>File: " + document.get("path")+"</a>\n";
    return result;
    the code above is from google and it works perfectly in the Lucene1.4. But it not pass the compiler by Netbeans IDE because I use Lucene2.0
    If you have some idea,plz replace these two lines' code with the correct ones.
    Thanks a lot !!

    Hi everyone:
    I am newer for Lucene which is used to build a search eigneer in my J2EE project.
    But I can hardly understand how it works because of my poor English.
    So I need you help:
    * TxtFileIndexer.java
    * Created on 2006�N12��8��, ����3:46
    * To change this template, choose Tools | Template Manager
    * and open the template in the editor.
    package classes.php.lucene;
    * @author eingmarra
    import java.io.File;
    import java.io.FileReader;
    import java.io.Reader;
    import java.util.Date;
    import org.apache.lucene.analysis.Analyzer;
    import org.apache.lucene.analysis.standard.StandardAnalyzer;
    import org.apache.lucene.document.Document;
    import org.apache.lucene.document.Field;
    import org.apache.lucene.index.IndexWriter;
    import org.apache.lucene.index.Term;
    import org.apache.lucene.search.Hits;
    import org.apache.lucene.search.IndexSearcher;
    import org.apache.lucene.search.TermQuery;
    import org.apache.lucene.store.FSDirectory;
    public class TxtFileIndexer {
         public String test() {
              return "test is ok hohoho";
          * @param args
         public String createIndex(String indexDir_path,String dataDir_path) throws Exception {
              String result = "";
              File indexDir = new File(indexDir_path);
              File dataDir = new File(dataDir_path);
              Analyzer luceneAnalyzer = new StandardAnalyzer();
              File[] dataFiles = dataDir.listFiles();
              IndexWriter indexWriter = new IndexWriter(indexDir,luceneAnalyzer,true);
              long startTime = new Date().getTime();
              for(int i=0; i < dataFiles.length; i++) {
                   if(dataFiles.isFile() && dataFiles[i].getName().endsWith(".html")) {
                        result += "Indexing file" + dataFiles[i].getCanonicalPath()+"<br />";
                        Document document = new Document();
                        Reader txtReader = new FileReader(dataFiles[i]);
                        document.add(Field.Text("path",dataFiles[i].getCanonicalPath())); //can not pass the Netbeans IDE, maybe the Field class is not support the signature of the fuction Text anymore!!
                        document.add(Field.Text("contents",txtReader)); //can not pass the Netbeans IDE, maybe the Field class is not support the signature of the fuction Text anymore!!
                        indexWriter.addDocument(document);
              indexWriter.optimize();
              indexWriter.close();
              long endTime = new Date().getTime();
              result += "It takes"+(endTime-startTime)
                        + " milliseconds to create index for the files in directory "
                        + dataDir.getPath();
              return result;
         public String searchword(String ss,String index_path) throws Exception {
         String queryStr = ss;
         String result = "Result:<br />";
         //This is the directory that hosts the Lucene index
    File indexDir = new File(index_path);
    FSDirectory directory = FSDirectory.getDirectory(indexDir,false);
    IndexSearcher searcher = new IndexSearcher(directory);
    if(!indexDir.exists()){
         result = "The Lucene index is not exist";
         return result;
    Term term = new Term("contents",queryStr.toLowerCase());
    TermQuery luceneQuery = new TermQuery(term);
    Hits hits = searcher.search(luceneQuery);
    for(int i = 0; i < hits.length(); i++){
         Document document = hits.doc(i);
         result += "<br /><a href='getfile.php?w="+ss+"&f="+document.get("path")+"'>File: " + document.get("path")+"</a>\n";
    return result;
    the code above is from google and it works perfectly in the Lucene1.4. But it not pass the compiler by Netbeans IDE because I use Lucene2.0
    If you have some idea,plz replace these two lines' code with the correct ones.
    Thanks a lot !!

  • First Java Project - Document Management and Workflow

    We are about to embark on our first java project around document management and workflow.
    I would be interested to know how others have approached similar projects – Open Source applications or other tools/APIs.
    It would also be good to know of any issues encountered along the way.
    Thanks,
    Steve

    Hi Husein,
    I appreciate your interest in procuring a Document Management/Workflow solution for your AP department...its a very smart move toward streamling that process!
    I sent an email today to Richard Braddock about our solutions. I would be happy to discuss them with you.
    My office phone number is 215-646-8000
    -Martin

  • Help with J2EE Project Management

    Hi,
    We are about to begin a large J2EE project and are wondering if anyone could help with the following questions:
    1. Given the division of labor on J2EE projects (JSP developers, EJB developers, application deployers, etc...), what are "best practices" for building a team and ensuring that they communicate well after the design phase? How will the left arm know what the right arm is doing?
    2. What documentation should be produced during the design phase to give to the developers? Will this allow them to go off and develop independently of each other?
    3. Is there a "best practices" document anywhere on J2EE project management?
    Thanks in advance!!

    Hi,
    I feel any project to start with should have a prior planning,that too particularly for Object oriented programming projects,I feel UML is the best tool for entire process.I think rational software has got lot of Project Management Tools(PMT) and products at all stages.Please go through the rational.com site and hope you could find some info.I feel the answer to your second question is partly 'yes' and partly 'no'.The modules that you can split it up which have got some independent attributes,but it should not be too much in your project,then it affects the work matrix/There should be a optimal process to decide and that you can yourself formulate depending on the time frame,either way the last step of build or integration is not flexible enough that you should mind,modular flexibility can be there but the integration stage you are tied with a fixed process.So plan accordingly using a PMT tool for any project that matters and all the best.Bye
    Hari

  • First Motion Project

    I'm about to start on my first motion project, which is going to be a three minute segment set to music with some video and images, which I'm going to add as a chapter to a DVD.
    My question is, can I create the whole three minute as one motion project or will the file size me huge?
    Apologies for what must seem like a really dumb question!
    Peter

    hi,
    Peter is right, 3 mins is a very long time for a motion project. depending on the complexity of the project i doubt whether you would be able to view the whole project back in real time. I even have trouble sometimes on much shorter projects to playback in real time even when it is rendered. In this case you have to export as a movie and watch it. very tedious.
    It would be better to plan out what you want to achive and to break it into segments. Cut the video and images to the track in FCP. If you need to treat specific shots you could export them to motion, play around and then bring it back in to FCP. or if you need generalised imagery to be created in motion, try to create shorter bits and comp then in fcp.
    Every job can have a different workflow, so try it first and see what happens.
    good luck
    adam

  • First ever project

    hi i m hasan,
    i am just about to create my first ever project. i have to create a program for a cyber cafe. i have taken all the detail of the requirement from the cyber cafe. i will be creating it using Java Swing. now how should i start working on the project. should i need to create flow charts and algorithm and any other requirement... ? plz tell me what i should and what i should not do before starting to write the program.

    It sounds to me like this is for a class project, if so, please follow the requirements you instructor has given you for application development.

  • How to use crystal report in J2EE Project.

    how to use crystal report in J2EE Project.. any one know please inform me...
    thank you..

    http://www.inetsoftware.de/products/crystalclear/Crystal-Reports.htm?adwords=googleCrystal&gclid=CKDD1YDem5UCFRpknAodZA4EhA
    I think this might help u...

  • Which files  should include in path when building J2EE project?

    Hi,
    I'm new to J2EE. Trying some examples on Servlet. But I've the error messages stating that it can't locate the javax.servlet.* classes like the ones below:
    <code>
    import javax.servlet.http.HttpServlet;
    import java.io.IOException;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    </code>
    Could anybody pls tell me which file (of J2EE SDK) I should include in my path when building J2EE projects?
    thanks,
    jackling

    You need to have $J2EE_HOME/lib/j2ee.jar in your CLASSPATH when compiling your servlet

  • Scanning Pictures for HD Project I Need Advice

    I am about to *Scan Pictures for HD Project* I Need Advice. The scanner is a HP Scanjet G4050 my questions are:
    1: At what resolution do I scan these pictures _+(300 or highest dpi available)+_
    2: What color choice is necessary *(RGB vs CMYK)*
    3: Can you please suggest points for creating a backdrop for the pictures (various sizes) in the Timeline
    Thanks in advance

    Scan the picture like you normally would. If the vertical resolution is 1080, you are fine. Don't worry about the 1280 width as black will be in that area not taken up with the photo. That part won't matter if it isn't 1280 if it is a vertical picture. If you don't have at least 1080 high, you might want to re-scan at a higher resolution. If you have it say, 2000 pixels high really no big deal except you don't need it that high and all that extra size slows down your system. If you want it at a lower resolution after you scan go into Photoshop->Image->Image size. Be sure and check "Constrain Proportions" before you change the dimensions in the top box for the height (where you are best using the units as pixels) That way the picture will stay in proportion. Don't use this second method to 'add' more pixels as the quality suffers when you go up this way. Rescan if you want MORE pixels.
    All the above is talking about vertical pictures. If you have a really wide photo that is not very tall, use the same principle but keep the width constant. For example let's say you have a 2x6 inch photo. Make sure the width is at least 1280 pixels. Don't worry that the height will be less than 1080 because black will take up that space.
    If you are going to do any zoom in and/or panning across a picture, you'll need to make sure it has more than the minimum pixels. For me a little goes a long way, so I zoom in slowly maybe 10-15%.
    Sharon

Maybe you are looking for