General design help for a basic web app with DB

I'm fairly new to Java EE development (lots of years of Java SE experience). In the not-so-distant future I'm going to be tasked with writing a web access feature for a database-backed catalog-like application. The application helps biologist keep track of all the dead animals they have in their research collections. It is meant to be a full-featured desktop application with the ability to setup a web portal to allow other researchers to search the contents of a collection (to see if there are specimens that they would like to see or borrow, etc). So, I have to write a bunch of servlets, JSPs, JSF pages, or something like that to provide a search page and a number of results views including tables, forms, maps, etc. Our desktop app uses Hibernate for ORM.
From what I've seen of the framework, I would really like to use JSF to do the views and navigation. Can I use JSF with Hibernate persistence? My Hibernate mappings are in *.hbm.xml files. How can I meld these technologies together. Better yet, can this be done using the Visual Web Developer pack for Netbeans 5.5?

web app or desktop app? pick oneOur main product is a desktop app. However, we also ship with the feature to install a webapp that allows searching the collections via a web browser.
with the ability to
setup a web portal to allow other researchers to
search the contents of a collection (to see ifthere
are specimens that they would like to see orborrow,
etc). you don't HAVE to have a portal for that you know...I realize that I could pull this off even with a few CGIs written in perl, but I want to make something that would later be expandable into a full-featured web app, allowing for data entry as well as searching.
It sounds to me like a very simply web app and you
are going way overboard. You don't need much code,
much less a bunch of extra frameworks, API's, etc.
I'd make a few servlets/jsp's and avoid getting into
JSF, hibernate, etc. unless you know they are worth
your time.I'm planning on using Hibernate because all of the Hibernate data classes and bindings are already setup. I guess in the initial version that doesn't do anything but view the data, I could avoid Hibernate since I don't need any ability to detect user changes to objects and commit those back to the DB.
I'd really like to write the web app using the Java EE 5 persistance API (JPA) and not have any Hibernate-specific code in the mix.
One requirement I forgot to mention was the need for a login page that can allow for access above the standard, anonymous guest level. Some information that these guys collect, such as where they located a rare plant variety, is highly sensative (since pharma companies have been known to want this information). For that reason, some of the info is not made available to anonymous web access users. Users with a registered account can get at more info.

Similar Messages

  • Im looking for a good note app with pen for taking notes ( in english and german )during business trips. Can anyone help

    I'm looking for a good note app with pen function for taking notes ( in English and German ) during business trips. Can anyone help?

    Really sorry to hear about this, particularly when you're putting your life on the line. But Apple cannot track your iPhone in any way unless you had set up Find My iPhone prior to it being lifted.
    It's possible that AT&T might be able to do something, but it's probably that they cannot track it, or will not without a request from an authorized law enforcement agency, but rather would only disable the device. You'll have to try and find a way to contact AT&T directly and ask if they can do anything to help you; the chances of any AT&T employee in a position to help you spotting this thread it pretty small.
    Good luck, stay safe, and come home soon.
    Regards.

  • Is php security and secure connection are enough for securing big web app. like fb?

    i mean....using php security functions and using secure coneection .....are enough for protecting big web apps. like fb??

    With great difficulty and constant monitoring and tweaking.
    Gramps

  • How to debug web app with weblogic?

    I wrote a web app that includes jsp files and some javabeans, then I put the jsp files to directory
    mydomain\applications\DefaultWebApp
    then I complied javabeans and put those classes to
    mydomain\applications\DefaultWebApp\WEB-INF\classes
    Then I start the weblogic,it runs very well.
    I modified some javabean, complie them and put classes override the old classes,
    but the web app can not find the new classes.
    Any one know How to debug web app(with javabeans) in weblogic?
    thanks!

    how to config the hot deploy?
    thxSorry, for this delay in responding. I had set notify me with email option in Watch This topic; but I never did get any email notification.
    I use wls6.1; I think the process may be very similar to this in wls8.x. In wls6.1 (sp5), this is done via the -
    Dweblogic.ProductionModeEnabled=False or
    Dweblogic.ProductionModeEnabled=True
    in the startup cmd/sh script. Out of the box, wls6.1 is set to Dweblogic.ProductionModeEnabled=False which automatically enables hot deploys.

  • Searching Web Apps with Data Source fields containing multiple values

    I have a Web App with a field allowing multiple values to be entered similar to the checkbox list. I need to restrict allowed values to a large, finite list of values currently stored in another Web App as the data source. I can't apply the Data Source field type as that only allows single value selection. I also need to be able to use the Web App Search form to search for items containing 1 OR more values in this field (the search functionality of a checklist field type). Here's what I've tried for field types:
    Text (string) or Text (multiline) field type - By saving a list of comma separated values (the same way that checkbox list outputs) to a text input or textarea, the search logic only searches for exact string (including commas) and doesn't parse the individual values.
    List (checkbox list) field type - This allows me to search multiple values using OR logic, but the web app will only store values that have been entered as options in the actual web app field setup. I tried using a checkbox list with minimal or empty options hoping that whatever values I sent over in a comma separated string value would still get stored, but because the values came from my Web App data source and not the list of options stored with the field, they were not saved.
    Has anyone found a way to do this?
    My other question is about how I might use a similar multi-value field as described above but return search results containing items with ALL selected values for that field (AND logic).
    Can anyone enlighten me to the inner workings of BC web app search logic?

    Thanks Robert.
    You'll need to create your own interface to the webapp database for those kind of data operations
    by this, are you speaking of the internal BC database which stores web app schema data? That would be great if it were possible to update that programmatically because I need to use the List (Checkbox List) field type (for the search functionality), but I need to supply the checkbox options from a web app rather than by manually updating the list entered in the Fields view of the web app settings (shown below).
    I'm curious if anyone else has tried this?
    Again, my reason for needing to use the List (Checkbox List) field type is that the page which processes searches knows to expect a comma separated list for this field type and then appears to be parsing out the individual values for searching out web app items with 1 or more matching values. You're right that text fields (string and multiline) just check for 'string contains' matches, and this would be ok if I was only ever needing to search just one value at a time. Here's an example of what I might do:
    Web App item field value (as recorded against the List (Checkbox List) field type:
    8294877,8294878
    Web App Search value (for this same field):
    8294879,8294877,8294885
    The search would return this web app item because the field contains 2 (1 or more) individual values even though they were entered into the search field in a different order. If this web app item were just a Text (string or multiline) field, the searched value is not a substring of the web app item's stored value, so it would not find a match. Hence the need to use Checkbox List field type.
    The web app will have thousands if not 10s of thousands of records, so dumping them all into one big array or object and searching on the front-end won't be practical (though it works great on smaller datasets).

  • Design pattern for unprotecting and reprotecting sheets with VBA?

    Many macros can't run when a worksheet is protected, so when I develop an Excel workbook that has protected worksheets, I have to unprotect worksheets when macros are called and then reprotect the worksheets once the macro has completed.
    The current design pattern I use for this is the following:
    I look at each procedure individually and consider which sheets need to be unprotected for it to run. Then in each procedure I write:
    Sub Test()
    Dim bSheet1Protected as boolean
    Dim bSheet2Protected as boolean
    bSheet1Protected = Sheet1.ProtectContents
    bSheet2Protected = Sheet1.ProtectContents
    bSheet1Protected.Unprotect
    bSheet2Protected.Unprotect
    '''The rest of my code
    if bSheet1Protected then Sheet1.Protect
    if bSheet2Protected then Sheet2.Protect
    End Sub
    But I imagine that maybe there are better ways of doing this. What is your preferred design pattern for unprotecting and reprotecting sheets with VBA?

    Hi JP3O,
    I think it is a good practice to unprotect the worksheet before execute some code and protect it back after the code execute finished.
    >>But I imagine that maybe there are better ways of doing this. What is your preferred design pattern for unprotecting and reprotecting sheets with VBA?<<
    I am not able to find a better way since we always need to unproect the worksheet if some code didn't not executed successful when the worksheet is proected.
    Regards & Fei
    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.

  • Looking for a voice memo app with folders

    Looking for a voice memo app with folders
    I'm trying to find a simple voice memos app that allows me to save the voice memos in folders right on the phone, and have them backed up to my desktop when I sync. I used to use Recorder Pro by Bear-Software but it doesn't work properly anymore. It was great when it worked. Why do so many of the voice memo apps just keep your voice memos in one huge long unorganized list? I need to be able to create 10 or 15 folders within the app, and save each voice memo to a specific folder. Any voice memo apps come to mind?

    received this repsposne from the folks at Imesart:
    Dear Andrew,
    No app on iOS will let you add files to the music library. The only way to do this is to use iTunes on a computer.
    Regards,
    The Imesart Team

  • I have apps in my notification center on for notifications (like News apps), with banner and sounds, but i never get the notification from those apps. I tried reinstalling the app and restarting the phone but all in vain

    I have apps in my notification center on for notifications (like News apps), with banner and sounds, but i never get the notification from those apps. I tried reinstalling the app and restarting the phone but all in vain

    The apps I currently have are for the i phone and i pad but i would like to see this on this computer
    On the Mac Air launch iTunes. Then connect either the iPad or iPhone.
    Select the iPad or iPhone under Devices left side of the iTunes window in the source list.
    Then select Apps from the menu on the right.
    If you don't see the apps listed there, from your iTunes menu bar (top of your screen), click Store > Authorize This Computer.
    See if that makes a difference...

  • Installation of this package failed (Service Pack 2 for Microsoft Office Web Apps (KB2687470) 64-bit edition

    Hi there,
    On my SharePoint 2010 server I have Office Web Apps 2010 installed (NOT Microsoft Office).
    When I try to install OWA SP2 (KB2687470) I get this error:
    --- Logs show some errors at C:\Users\ext.magryan\AppData\Local\Temp\3\Wac Server Setup(2014062009365223A0).log
    Search "error" (32 hits in 1 files)
    C:\Users\ext.magryan\AppData\Local\Temp\3\Wac Server Setup(2014062009365223A0).log (32 hits)
    Line 352: MSI(INFO): 'DEBUG: Error 2749: Transform 9011410409100014.0.6025.1000 invalid for package C:\Windows\Installer\8d4dd82a.msi. Expected product version == 14.0.6025.1000, found product version 14.0.4763.1000.'
    Line 354: MSI(INFO): 'DEBUG: Error 2749: Transform 9011410409100014.0.6012.1000 invalid for package C:\Windows\Installer\8d4dd82a.msi. Expected product version == 14.0.6012.1000, found product version 14.0.4763.1000.'
    Line 356: MSI(INFO): 'DEBUG: Error 2749: Transform 9011410409100014.0.6014.1000 invalid for package C:\Windows\Installer\8d4dd82a.msi. Expected product version == 14.0.6014.1000, found product version 14.0.4763.1000.'
    Line 358: MSI(INFO): 'DEBUG: Error 2749: Transform 9011410409100014.0.6027.1000 invalid for package C:\Windows\Installer\8d4dd82a.msi. Expected product version == 14.0.6027.1000, found product version 14.0.4763.1000.'
    Line 360: MSI(INFO): 'DEBUG: Error 2749: Transform 9011410409100014.0.6022.1000 invalid for package C:\Windows\Installer\8d4dd82a.msi. Expected product version == 14.0.6022.1000, found product version 14.0.4763.1000.'
    Line 362: MSI(INFO): 'DEBUG: Error 2749: Transform 9011410409100014.0.6015.1000 invalid for package C:\Windows\Installer\8d4dd82a.msi. Expected product version == 14.0.6015.1000, found product version 14.0.4763.1000.'
    Line 403: MSI(ACTIONSTART): 'Action 9:36:56: SetSupportErrorTextRetail. '
    Line 404: MSI(INFO): 'Action start 9:36:56: SetSupportErrorTextRetail.'
    Line 405: MSI(INFO): 'Action ended 9:36:56: SetSupportErrorTextRetail. Return value 1.'
    Line 406: MSI(ACTIONSTART): 'Action 9:36:56: SetSupportErrorTextRetail_PERMISSION. '
    Line 407: MSI(INFO): 'Action start 9:36:56: SetSupportErrorTextRetail_PERMISSION.'
    Line 408: MSI(INFO): 'Action ended 9:36:56: SetSupportErrorTextRetail_PERMISSION. Return value 1.'
    Line 409: MSI(ACTIONSTART): 'Action 9:36:56: SetSupportErrorTextRetail_PROBLEM. '
    Line 410: MSI(INFO): 'Action start 9:36:56: SetSupportErrorTextRetail_PROBLEM.'
    Line 411: MSI(INFO): 'Action ended 9:36:56: SetSupportErrorTextRetail_PROBLEM. Return value 1.'
    Line 558: MSI(ERROR): 'Error 1706. Setup cannot find the required files. Check your connection to the network, or CD-ROM drive. For other potential solutions to this problem, see C:\Users\EXT~1.MAG\AppData\Local\Temp\3\Setup000023a0\SETUP.CHM.'
    Line 558: MSI(ERROR): 'Error 1706. Setup cannot find the required files. Check your connection to the network, or CD-ROM drive. For other potential solutions to this problem, see C:\Users\EXT~1.MAG\AppData\Local\Temp\3\Setup000023a0\SETUP.CHM.'
    Line 575: MSI(INFO): 'Property(S): ERRORSUPPORTTEXT_PROBLEM = If problem persists, contact Microsoft Product Support Services (PSS) for assistance. For information about how to contact PSS, see C:\Users\EXT~1.MAG\AppData\Local\Temp\3\Setup000023a0\PSS10R.CHM.'
    Line 576: MSI(INFO): 'Property(S): ERRORSUPPORTTEXT_PERMISSION = Verify that you have sufficient permissions to access the registry or contact Microsoft Product Support Services (PSS) for assistance. For information about how to contact PSS, see C:\Users\EXT~1.MAG\AppData\Local\Temp\3\Setup000023a0\PSS10R.CHM.'
    Line 577: MSI(INFO): 'Property(S): ERRORSUPPORTTEXT = Contact Microsoft Product Support Services (PSS) for assistance. For information about how to contact PSS, see C:\Users\EXT~1.MAG\AppData\Local\Temp\3\Setup000023a0\PSS10R.CHM.'
    Line 619: MSI(INFO): 'Property(S): ERRORSUPPORTTEXT_RETAIL_DEFAULT_PROBLEM_PRE = If problem persists, contact Microsoft Product Support Services (PSS) for assistance. For information about how to contact PSS, see '
    Line 620: MSI(INFO): 'Property(S): ERRORSUPPORTTEXT_RETAIL_DEFAULT_PROBLEM_POST = .'
    Line 621: MSI(INFO): 'Property(S): ERRORSUPPORTTEXT_RETAIL_DEFAULT_PERMISSION_PRE = Verify that you have sufficient permissions to access the registry or contact Microsoft Product Support Services (PSS) for assistance. For information about how to contact PSS, see '
    Line 622: MSI(INFO): 'Property(S): ERRORSUPPORTTEXT_RETAIL_DEFAULT_PERMISSION_POST = .'
    Line 623: MSI(INFO): 'Property(S): ERRORSUPPORTTEXT_RETAIL_DEFAULT_PRE = Contact Microsoft Product Support Services (PSS) for assistance. For information about how to contact PSS, see '
    Line 624: MSI(INFO): 'Property(S): ERRORSUPPORTTEXT_RETAIL_DEFAULT_POST = .'
    Line 625: MSI(INFO): 'Property(S): ERRORSUPPORTTEXT_OEM_DEFAULT = Contact your computer manufacturer's product support for assistance.'
    Line 626: MSI(INFO): 'Property(S): ERRORSUPPORTTEXT_OEM_DEFAULT_PERMISSION = Verify that you have sufficient permissions to access the registry or contact your computer manufacturer's product support for assistance.'
    Line 627: MSI(INFO): 'Property(S): ERRORSUPPORTTEXT_OEM_DEFAULT_PROBLEM = If problem persists, contact your computer manufacturer's product support for assistance.'
    Line 629: MSI(INFO): 'Property(S): SecureCustomProperties = DIAGNOSE;DWLANGUAGE;ERRORSUPPORTTEXT;LAUNCHEDBYSETUPEXE;LOGVERBOSE;PIDKEY;SETUPHELPFILEDIR;SETUPINTLDLLDIRECTORY;SETUPPSSHELPFILEDIR;SETUPSUPPORTURL'
    Line 753: Error: Failed to configure: {90140000-1141-0409-1000-0000000FF1CE} ErrorCode: 1603(0x643).
    Line 753: Error: Failed to configure: {90140000-1141-0409-1000-0000000FF1CE} ErrorCode: 1603(0x643).
    Any help will be appreciated.
    Thanks.

    Did you install SharePoint 2010 SP1 (or preferably, SP2)?
    Foundation SP2:
    http://www.microsoft.com/en-us/download/details.aspx?id=39646
    Server SP2:
    http://www.microsoft.com/en-us/download/details.aspx?id=39672
    If you have SharePoint Foundation, use the Foundation SP2 link. If you have SharePoint Server, use the Server SP2 link. Install that first, then proceed with your OWA SP2 install.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • I can't download the apps with big size like need for spees, but in apps with normal size(less than 100KB)there is no problem,is there any body who can help me?

    I can't download the apps with big size like need for spees

    Have a little patience. 4 minutes is only a short time for someone to find your post and reply to it. Also clicking on "This Solved My Problem" marks your problem as solved so many folks that may otherwise help will pass the question by since it is "solved."
    I suggest you start a new question that gives a good title to a specific problem. Then in the body of the thread describe the problem in detail, tell us what steps you have tried so far to correct the problem, what happened, and what error messages you received.

  • Best Practice: A J2EE Blue-Print for a Typical Web App

    Consider a typical synchronous Struts-based Web application which does a simple DB search and post. What are some of the main patterns and components that should be used if following the �industry best practices�
    Does the following flow seem accurate?
    Strust Action creates a TransferObject , and passes it to a Business Delegate. Delegate finds the appropriate BusinessObject, the Business Object uses the Data Access Object�.the CRUD operation happens and the result is sent back to the Action in the same TransferObject.
    Which one of these components need an interface?
    What's the best way for this components to interact with each other (factory, etc.)?
    Message was edited by:
    kmkiani
    Message was edited by:
    kmkiani

    There are 3 tiers in a Java EE application. (Presentation, Business, Integration).
    The BusinessDelegate in this scenario would be a Presentation-tier business delegate. This guy would interact with a Session Facade who lives on the Business-tier. The SessionFacade is the abstraction on the Business-tier and the Business Delegate is the abstraction on the Presentation-tier. It is these guys that have direct communication. This design enables low coupling between the actual implementations of each area. If done properly, you could go from EJB to Web Service to POJO business models without ever having to change anything in the Presentation-tier.
    These object-oriented design patterns are primarily for Enterprise applications with extensive Quality-of-Service requirements.
    In your scenario, the Presentation-tier would contain a MVC-based web application, i.e. Struts. The business model and business/domain requirements would be implemented in the Business-tier.
    Presentation Tier - Struts Web Application
    Business Tier - (EJB | POJO | WEB SERVICES) Application
    Integration Tier - (Relational Database | File System | XML Database | EIS)

  • Automatic image compression for photo gallery web apps?

    Is it possible to scale and compress images to a maximum size when uploading to a web app? This is for a photo gallery that allows public submissions, and we are anticipating that we will get lots of photos that are very large. This is a task that would be best handled by a server-side image processing lib, but is there another way since we don't have that on BC?
    Thanks!

    I understand that you are probably concerned with data storage limits when asking this question. But, you can create thumbnails when displaying images within the photo gallery. This will allow a very large image to display very quickly within the gallery.

  • Business Catalyst Help | Building Web Apps Part 3: Building a Web App with visitor-submitted content

    This question was posted in response to the following article: http://helpx.adobe.com/business-catalyst/partner/building-web-app-visitor-submitted.html

    To save others hours looking for this, if you want to know how to set the Expiry Date from a custom HTML Web App Item submission form, you can do something like this:
    input type="radio" style="display: none;" checked="true" value="2" id="daysRB"
    input type="text" value="60" maxlength="2" style="display: inline; width: 25px;" id="Days" name="Days"
    You can't set the date directly, but you can tell it how many days from today you want it to expire...

  • Which is the best reporting tools/sw available for J2EE based web app?

    Hi,
    I am looking for best reporting tools/sw available for J2EE based web application.
    Please help in this...
    Regards
    kundan krishna chakraborty

    Hi,
    maybe you can have a try RAQ Report. It is a powerful pure Java reporting tool which is very easy to learn.
    You can get the free version at http://www.raqsoft.com/.
    Good luck!

  • ERR: This request does not match the context path for any installed web app

    We are currently using weblogic 6.1 SP6 and facing "Error 404 Page not found" error very oftenly.
              This error is first encounter while uploading file at File folder, although does not happen at every upload, but was quite consistent always at upload file stage. At this moment, this error can occur at any stage, when ever we run any heavy process on the server (like importing large amount of data or pushing the data to different ERP - system by using custom integration. The system works fine after restarting.
              Please help me out to resolve this issue as this very critcal for our production environment.
              ERROR:
              ####<May 12, 2005 4:17:12 PM SGT> <Error> <HTTP> <MatrixTransit> <myserver> <ExecuteThread: '13' for queue: 'default'> <> <> <101147> <HttpServer(7105637,null default ctx,myserver) found no context for "/ematrix/emxLogin.jsp". This request does not match the context path for any installed web applications and there is no default web application configured.>
              ####<May 12, 2005 4:17:15 PM SGT> <Error> <HTTP> <MatrixTransit> <myserver> <ExecuteThread: '13' for queue: 'default'> <> <> <101147> <HttpServer(7105637,null default ctx,myserver) found no context for "/ematrix/emxLogin.jsp". This request does not match the context path for any installed web applications and there is no default web application configured.>
              ####<May 12, 2005 4:17:16 PM SGT> <Error> <HTTP> <MatrixTransit> <myserver> <ExecuteThread: '13' for queue: 'default'> <> <> <101147> <HttpServer(7105637,null default ctx,myserver) found no context for "/ematrix/emxLogin.jsp". This request does not match the context path for any installed web applications and there is no default web application configured.>
              ####<May 12, 2005 4:17:17 PM SGT> <Error> <HTTP> <MatrixTransit> <myserver> <ExecuteThread: '13' for queue: 'default'> <> <> <101147> <HttpServer(7105637,null default ctx,myserver) found no context for "/ematrix/emxLogin.jsp". This request does not match the context path for any installed web applications and there is no default web application configured.>
              ####<May 12, 2005 4:17:18 PM SGT> <Error> <HTTP> <MatrixTransit> <myserver> <ExecuteThread: '13' for queue: 'default'> <> <> <101147> <HttpServer(7105637,null default ctx,myserver) found no context for "/ematrix/emxLogin.jsp". This request does not match the context path for any installed web applications and there is no default web application configured.>
              THANKS
              Rohit

    Rohit
              How did you resolve the issue?
              I am facing the same.
              Thanks
              Amit

Maybe you are looking for

  • IPhoto won't stop updating.  It won't let me look at my pictures....

    I even re-purchased the program about a month ago hoping it would help, but it hasn't.  It just said"Your photo library will not be readable by previous versions of iPhoto after the upgrade. The upgrade process for very large libraries may take an ho

  • Are there any Adobe's partners provide licensing and support for Adobe Content Server in Germany?

    Hello, My name is Quang from Vietnam . My company is interested about Content Server and I am looking for Adobe's partners that provide licensing Content Server (like Datalogics) in Germany. I have some friends there and I hope they can help. If you

  • How to apply an invoice to a payment on account using Internal Rec?

    As the link invoices to previous payments is now replaced by the new Internal Reconciliation Engine, you now need to perform a Business Partner internal reconciliation. This seems like quite a cumbersome process. The steps are: 1. Open the Business P

  • F-03 Account Clearing Not selecting docs

    Hi, I have open items in a B/S account which is open item managed and I am able to see all the documents and the balances are tallying. I want to clear all the documents thru tc.F.03, but in F-03 all the documents were not selected and there is amoun

  • Error Handling for Dynamic Actions (4.1.1)

    Hello I'm trying to create a function to handle all possible errors but the errors generated by DA are not being caught. Is it possible to caught them? How? My function is based in: http://www.inside-oracle-apex.com/apex-4-1-error-handling-improvemen