What is the design pattern for web application with struts & hibernate?

Hi everyone,
I am new to web application developement.I am using struts for MVC framework & Hibernate for ORM framework.I am little confused that struts used bean representation for collecting form fields(Bean 1),value objects(DTO) for passing value to the JSP(Bean 2) & hibernate use the bean like representation for persistent object(Bean 3).Whether we must use all the bean's which are similar to each other or any reusable bean recommended?

I'm sure why it didn't work. That is how I bundle the JRE. The only disadvantage about bundling is the size of the installer file will be pretty large. In my opinion, relying on a public version is not a good idea if you have no control of the target box. The user might, for some reason, decide to uninstall java or upgrade to a new incompatible version and your app. may stop working. I'm sure many on here will disagree with this though.
I always use the marner .exe wrapper:
http://www.megaupload.com/?d=FYZAVM77
and inno installer:
http://www.jrsoftware.org/isinfo.php
They're both free to use and I've had no problems with them. Another wrapper is Javaround:
http://sourceforge.net/project/showfiles.php?group_id=234356

Similar Messages

  • Design Pattern For Web Services.

    I tried asking siomilar questions in WebService Forum but didn'y got any replies.
    Can anybody tell me what should be the Design for Web Services.
    I have understanding that there can be just 1 Interface/Implementation class for each Web Service, and which will have 1 end point.So for evry such Interface we will have to have 1 Web Service.
    Can someone please clarify wheather I'm correct or not ?
    I guess that If my application has many Interfaces and I have to expose the application as Web Service.Then I will have to expose all methods from one Interface and then expose this new Interface as Web Service.
    Is this how WS will work.
    Any pointers to design PATTERNS for Web Service will be highly appreciated.
    Thanks
    Rahul

    I don't know if anyone has documented new patterns specifically aimed at web services but the old ones definitely apply. Like you were alluding to, there is a letter-envelope decoupling of interface and implementation with the XML WSDL interface and coded implementation.

  • [iPhone] UI Design pattern for table views with properties and children?

    Hello,
    I'm getting started with iPhone development and I have a question about the proper way to display a list that has both properties of the list itself as well as the ability to drill down into the members of the list. For example, my data is a Group (of people say). The Group itself can have properties - the name of the group, group email address, web page, etc. - and it obviously has members which also have properties - name, address, etc.
    In my table view, I want to show the Group members and have accessory/disclosure buttons on each row to show the details of a person, but I also want to be able to edit the properties of the group - Group name, etc. What's the UI pattern for editing the properties of the table itself?
    I thought about having a tabbar that toggles between the list and the properties of the list.
    I also thought about having a parent table that lists the groups (so I could have more than one) and then have accessory buttons on each group row. The UI would then have to be that the user taps the row to drill down to the group members and taps the accessory button to edit the properties of the group. Is that "proper" - tap the bar or tap the accessory icon in a table row?
    Thanks

    I don't think I'd use a tab bar.
    You could break the table up into 2 sections, section 0 being the properties, section 1 the list.
    Make section 0 just say 'Properties', then when you tap that row you drill down to a properties table, slap an edit button in the navigation bar to go into edit mode.

  • Design pattern for swind application development

    Hello all,
    I am trying to develop a new swings application with the centralized database connectivity for the data transaction .Any one please tell me which design pattern is mostly suitable for the GUI application development using swings .
    Thanks in advance
    sowjanya

    Pu - this is your decision.
    In order to know which design patterns are suitable for you, you should know what the design pattern do.
    So I suggest to read about design patterns:
    http://en.wikipedia.org/wiki/Design_pattern_(computer_science)
    Note also that ther exists a framework called Spring.
    Greetings
    Thorsten

  • Possible design patterns for base function with possible additions

    I have various interfaces i have to implement. Let's assume ITypeA, ITypeB. They have following methods:
    ITypeA
    Connect
    Disconnect
    GetData
    SetData
    ClearData
    ITypeB
    Connect
    Disconnect
    GetData
    SetData
    Start
    Pause
    Stop
    They have some base functionality: Connect, Disconnect, GetData and SetData.
    If I want to add ITypeC in the future, it will have these base functionality too.
    I want to access to the base functionality and if there is additional functionality, I want to get this too. What design patterns are available that are capable of this situations?
    I found one here: Extension Interface. In this, you create a base
    interface and multiple extension interfaces that are implementing the additional functions. In the base interface you can ask for the available extension interfaces of the component. But this approach seems complicated: I have to create interfaces for each
    type, factories for the interfaces, I need some tables to save what Interface belongs to what Factory...
    What is the basic solution for this problem? Extension Interfaces? Are there any other possible alternatives for my problem?

    You may have more joy dividing your interfaces by behaviour and deciding on the types later.
    interface IConnectable
    Connect
    Disconnect
    interface IDataTransferrable
    GetData
    SetData
    interface IPlayable
    Start
    Pause
    Stop
    class TypeA : IConnectable, IDataTransferrable
    class TypeB : IConnectable, IDataTransferrable, IPlayable
    And then how can discover if your object supports these interfaces?
    here's one way:
    if (ob is IPlayable)
    Playback(ob);
    where you have a function:
    void Playback(IPlayable ob)

  • What is the best printer for wireless printing with the iPhone?

    What is the best printer for wireless printing witth the iPhone?

    Roaminggnome has the list......pick on of those TERRIBLE printers and go for it....
    I hope Apple see fit to broaden this list, because, having thrown away several of those brands in my life, I now have a network compatble BROTHER printer that's awesome,
    "There's an app for that," ie the BROTHER, but you can only print pictures and soforth.
    Apple, step up, open up the list of printers we can use!

  • What is the use of jsp when compare with Struts

    what is the use of jsp when compare with Struts

    JSP Tag Libraries are great for reusable content formatting and ligic.
    For example, let's say you have this Shopping site. Each item you sell is stored in a database, and you get them out depending on Catagories, creating a List of ItemBeans. You allways want to display the items with a catagory header, then a <table> with the item number, the description and the price.
    Instead of creating a bunch of logic in the JSP that does this, you can pass it on to a Tag that might look like this in your JSP:
    <shopping:itemTable catagory="${selectedCatagory}" items="${itemsForCatagory}" />
    This would make the JSP easier to read and work with.
    The actual uses are incredible. Have you used the <jsp:useBean ...> tag? That is an example of a use of the Custom Tag Libraries.
    Furthermore, look into JSTL (JSP Standard Tag Libraries). They are a collection of tags (API by Sun, coding by Apache) used to do many of the standard actions you might want/need to do in JSPs, like a conditional tag (c:if only do something if the test is true), multiple-conditional tags (c:choos c:when c:otherwise) like an if [else if] else construct. Looping through an array or Collection (c:forEach), storeing values in scopes (c:set) formating numbers and dates (the fmt library), xml transformations (xml library), and lots of other things that you could replace scriptlet code with.

  • What are the System Requirements for Web Server hosting Adobe Air application

    Working on a project that is using Adobe Air . The Adobe support site has system requirements for the client side application, but for the server side, what are the system requirements?
    Using a Windows server, would expect to have approx. 100 concurrent connections at any given time.

    Adobe AIR applications are installed on the end user's computer. They are not hosted on a web server. You can deploy an AIR file, which is the installer file for an AIR application, via your web server.

  • What is the recommended practice for bundling JRE with Java Application?

    Hello,
    I am using a software called Advanced Installer to create a Windows installer (.msi file).
    This .msi file contains :
    - a .exe file which is a wrapper for a .jar file (a Java Swing program),
    - and a directory for the JRE.
    I read an article on the web which recommended bundling the JRE with the Java program. And
    this is what I am doing. And my understanding is that if the user's system does not already
    have the JRE installed, the bundled JRE would allow my Java Swing program to run.
    However, when I tried to install my .msi file on a system that did not already have the JRE,
    my Java Swing program would not start. After installing the JRE on this system, my Java
    Swing program started and ran fine.
    Do I really need both JREs, one bundled with my Java Swing application and one installed at the
    system's location for my Java Swing program to start and run?
    Another question I have is that if every application would bundle its own JRE, there could be many
    copies/possibly versions of the JRE on the system, is this acceptable? What is the common or
    recommended practice?
    Thank you for your help.
    Akino.

    I'm sure why it didn't work. That is how I bundle the JRE. The only disadvantage about bundling is the size of the installer file will be pretty large. In my opinion, relying on a public version is not a good idea if you have no control of the target box. The user might, for some reason, decide to uninstall java or upgrade to a new incompatible version and your app. may stop working. I'm sure many on here will disagree with this though.
    I always use the marner .exe wrapper:
    http://www.megaupload.com/?d=FYZAVM77
    and inno installer:
    http://www.jrsoftware.org/isinfo.php
    They're both free to use and I've had no problems with them. Another wrapper is Javaround:
    http://sourceforge.net/project/showfiles.php?group_id=234356

  • Adobe v. Apple - Flash v. H.264 - what's the best format for web?

    So the iPad doesn't support flash.  I guess that means that if I upload my projects as flv's or f4v's and use a flash player then the apple obsessed people won't be able to watch my videos
    http://tech.fortune.cnn.com/2010/05/02/apple-vs-adobe-is-flash-dying/
    Personally, I don't really care if flash lives or dies.  I just want to be able to publish videos that anyone can watch in a player that anyone can use without having to download a plugin.  SO, what is the best format to use?
    To date, I've been shooting my footage in HD 1920x1080i, saving my PE projects as MPEG2 HD 1080i, and then converting to f4v's.  Now I'm wondering if I should be saving them using the H.264 preset instead and then presumably some lower quality settings for the web file?  And if so, what kind of end user player should I be looking for?
    Help anyone?

    Well, unfortunately Flash was the universal format, and then Steve Jobs decided that he did not like Adobe. As most browsers on Earth were FLV playback enabled and if not, were only a quick, free download away. Now, it seems that Apple's devices will only work with flavors of MOV. One can still download and install Apple's QT Player (though several recent versions did not work well with Adobe programs - Steve Jobs sabotage?).
    Instead of coming together on universal formats/CODEC's, it seems that many wish to fragment the market to support just their products. One is at the mercy of these hardware and software companies. Producers probably should now do several versions of everything, if they wish to cover all bases. Someone will have to download and install something.
    Good luck,
    Hunt

  • What is the harddisk requirement for SP2013 Application server + Search component?

    Dear all,
    In my SP2013 system, we don't have separated search server. So the all search components are resident with application server.
    According to: Hardware requirements—web servers, application servers, and single server installations
    http://technet.microsoft.com/en-us/library/cc262485.aspx#reqOtherCap
    I need 80GB for system drive
    According to: Hardware requirements for search topologies for the enterprise
    http://technet.microsoft.com/en-us/library/651dba4d-8751-4bd8-9492-f2842b2e1177(v=office.15)#HW_Enterprise
    Index component
    80 GB regardless of the number of search components hosted on the server.
    Analytics processing component
    80 GB regardless of the number of search components hosted on the server.
    Crawl component,Content processing component,Query processing component,Search administration component
    80 GB regardless of the number of search components hosted on the server
    Sorry that I am confused here. I need 160GB or 320GB? My current setup is 250GB. Is it risky? Thanks.
    Mark

    The answer depends on whether you are planning to run all the Search components on one server.  They can be distributed across multiple servers.  If you put them all on one server you need the following amounts
    80GB for the C: drive (system drive) for the OS and SharePoint binaries
    80GB for the Index component (you may need more than that depending on how much content is in SharePoint)
    80GB for the Analytics processing component
    80GB for the rest of the components
    That's a total of 320GB.  That's about right for a starting point for a Search Server that contains all the search components.  Moving one or more components to another server would decrease that total.  
    But you could probably get by with 250GB depending on how much content you are indexing.  But as your system grows you will proabably need more.  I normally start with an 80GB C: drive and a 300GB D: drive.
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • Design pattern for my application

    Dear sir,
    We are making an vision application, where up on obtaining UART commands from other sub unit we need to enter in to specific image processing functions(6 functions).
    So kindly let us know which labview design pattern can we use out of  Master/slave, producer/consumer(Data),  producer/consumer(Events), Qued message handler, standard state machine and User interface event handler design patterns.
    Thanks in advance,
    With regrads,
    Sri

    srikrishnaNF wrote:
    Hi SriSwati,
    You can use the Master Slave architecture,where your master will be getting UART commands and buffer those commands and the slave will read the buffer and do the image processing functions accordingly.
    Please refer this white paper http://www.ni.com/white-paper/3022/en/
    Regards,
    SrikrishnaNF
    Master/Slave doesn't buffer.  You only get the latest command since it uses Notifiers.  If you need to process all commands, then you need the Producer/Consumer, since it uses queues.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • What's the optimal output for web?

    i have quicktime Pro - i'm trying to extract video footage from a dv file (my cinematographer's reel) and post it on my website. is MPEG4 the best i can do? and if so, how do i optimize that? if the footage was shot in dv - do i set it at 29 frames in the export Options? what about "key frames" - do i set that at 24 (default) or some other number? looking to get a decent movie file that doesn't look like rubic's cube w/ all the pixel squares.
    Thanks!
    Steve

    Thanks Jon,
    just a few questions to your reply:
    H.264 would provide
    better quality at given data rate and scales much
    better but requires QT 7 for both you and your
    viewers.
    Do most people have QT 7 at this point or is it best to post the movie in the most accessible format and sacrifice some rez? My H.264 is greyed out - perhaps because i'm not using HD footage? any idea?
    Optimization
    depends on many things such as target encode display
    dimensions, amount of storage space/bandwith
    available, and even the actual content itself. Since
    you have not indicated your goals here, it is
    difficult to provide concrete guidelines.
    i'm not that technically advanced to know the answer to this. i'm basically posting this to iWeb - i have maybe half a gig of storage on my website so i don't have to be that frugal. just want something to be decent quality but probably no more than 20 MB
    In the absence of other,
    overriding needs, it is generally best to set the
    frame rate to "current."
    what about "key
    frames" - do i set that at 24 (default) or some other
    number?Key frame rate is
    dependent on the content. Rapid motion, transitions,
    and the like require more key frames while slow
    motion, non-changing scenes require fewer. Generally
    speaking it may be best to use the "Automatic"
    setting for "average" videos. This setting applies
    the basic "Rule of Five" or a frame rate equal to
    five time the frame rate. The advantage here is, if
    there is a large inter-frame change in data, QT will
    insert extra frames as/if needed. Basically, the more
    key frames, the better the quality but larger the
    file size or greater the compression between frames.
    that makes sense. i don't have any slow motion so i'd like to make it look
    as smooth as possible.
    Thanks,
    STeve
    looking to get a
    decent movie file that doesn't look like rubic's cube
    w/ all the pixel
    squares.Pixilation can still
    occur with MPEG-4 when target compression is too high
    (i.e., the data rate drops too low for the encode
    display dimensions and content). This is one of the
    ares where H.264 really stands out. It can usually
    produce fairly good HD 720p (1280 x 720 progressive
    main profile) quality at even iPod "LC" compatible
    data rates.
    G4   Mac OS X (10.2.x)  

  • What is the designated initializer for UIViewControllers that use loadView

    I'm using loadView to programatically create my views in a UIViewController subclass. However, initWithNibName doesn't run anymore. Where can I initialize variables? i.e. what is the new designated initializer when I use loadView?
    Thanks

    So are you saying there are two iCloud mail accounts in your mail preferences?  I don't know that the @mac.com address will work through iCloud, although you should be able to set it up as a regular IMAP account as it was before iCloud. The iCloud account should be using the @me.com address.  I assume you can access that account at the icloud.com portal?

  • What is the system requirements for MAM3.0 with MI7.1

    Hi Experts,
    We are planning to Install MI7.1 and want to deploy MAM3.0 application. Till now we are using MI2.5, now we want to upgrade this to MI7.1. Can any body please tell me what is the requirements of
    Server
    Client
    MAM Version
    Client Database
    Also please tell me whether MAM3.0 supports MI7.1 for PDA.
    Your help in this regard is highly appreciable.
    Regards,
    Murthy.

    Hi Murthy,
    first of all MI7.1 is not generally available at the moment. Secondly MAM3.0 is not working with MI7.1. There will be a MAM verison especially for MI7.1 available, but the release date is not official jet. Rumors tell something about next year - but as I said, no official date is mentioned.
    So I guess it is a wise decision to wait a little longer.
    And be aware with MI7.1 to UI of MAM has changed completely. It is not longer based in JSP - so all your enhancements need a complete rewrite!
    Beside that the requirements are totally open - cause nothing is officially released yet.
    Regards,
    Oliver

Maybe you are looking for

  • Moving files from PC to Mac System

    I want to move all my old PC files stored on my NAS to my new MAC system. How do I make those files readable to the MAC? Do I need to reformat the NAS?

  • Copy & Paste an Address in Mac Mail

    How do you copy & paste an address in a mail draft? I've tried everything including cntrl C but nothing. Coming from Windows, Mac mail has a lot to be desired!

  • Can you arrange photos in a particular order in Camera Roll on the iPad?

    Also, can you create subfolders within albums on the iPad? Thanks chaps!

  • Event Trigger BI Publisher 11g

    I have an event trigger defined as type After Data. The function executes.. inserts into a table (table used to verify if function is actually executing via BI Publisher). The problem I'm seeing is that the parameter in the report that globally goes

  • Web Inspector shows nothing?

    This is weird. Web Inspector is on and open, but nothing comes up when you select a chunk: I'm running 10.6.8, Safari 5.0.5 Things that have failed so far: I've reset Safari. I've reinstalled Safari. I've done a Disk Utility fix of permissions. I've