Tell me if I've got this right ...

I'm going to create a J2EE web application driven against an Oracle database. I want to confirm my approach for development to ensure I'm not on the wrong track so please help me make sure I understand this correctly.
I'm creating a JSP page with a form that posts to a Servlet, the Servlet pulls the form data out and makes a call to the database based upon it, the returned result is being stored inside of a CachedRowSet which is then pushed into the Response scope, I then redirect users to another JSP from the Servlet, the JSP then pulls the CachedRowSet from the Response scope and renders the results using this CachedRowSet bean.
Is this proper?

Is this proper?Yes it is proper, and in fact it's what a lot of web architects are recommending these days. As some other posts have said, if you are writing a small system you can get away with servlets only, or JSPs only, but for something professional (I see you are using Oracle) an MVC design like your description would be better.
Personally I don't care much for JSPs because once "they" decide to change the look-and-feel of your website, there's a lot of repetitive work necessary to do that change. Unless you have planned for that possibility. But I haven't come up with anything much better.

Similar Messages

  • Want to check if Iv'e got this right:  PC External Drive    PC Mac

    Hi,
    I'm going to attempt something and I just want to make sure I'm doing it right (I've searched the forums and this is what I've come up with).
    I have an iPod formatted to a Windows XP computer and all my iTunes on that computer.
    STEP 1:
    I want to move my entire iTunes library off the C drive and onto an external hard drive (I'm out of space on my computer and will erase the library from the C drive once the transfer is done, leaving the library only in the external drive).
    I assume this is what I need to do?
    http://docs.info.apple.com/article.html?artnum=301748
    I've read in the forums that sometimes there are problems with the iPod recognizing/synching to the new drive -- but I'm assuming if I follow the procedures in that tutorial then any problems I have can be fixed (i.e., By transferring in that way I'm NOT doing any permenant damage to my library, filelists, labels, etc.) -- correct?
    I just want to check this before I do Step 1.
    STEP 2
    About 6 months from now I expect to get a new computer, and I expect it to be a Mac. I would want to transfer all my music to the Mac and discard my current PC. There's lots of stuff on the board about doing this. E.g.,
    http://docs.info.apple.com/article.html?artnum=93367
    My one question now -- which is probably a silly one -- is this: Is the fact that all my music will need to be transferred from my PC's external hard drive (as opposed to the internal C drive) cause any significant additional problems? I think the answer is no but I just want to make sure.
    Any clarification you can give on this would be appreciated. Thanks.
    iPod   Windows XP Pro  

    Thanks. I've got one related one.
    Let's say I copy everything to my external hard drive but -- for the time being -- still leave the original on my c drive. Is there a way to test that the iTunes is working off of the external drive?
    In other words, before erasing the songs on the C drive, can I do this and check to see that iTunes works with the external, the iPod interfaces with the external, etc. And then when I'm sure, erase the stuff on the C drive?
    If so, how do I go about verifying this?
    By the way, all of these songs are in mp3 format.
    thanks,

  • Moving to another drive. Have I got this right?

    I hope you guys aren't as mean as your rep!   Arch has a reputation for being hard to install.  So, I decided that I would install to a USB hard drive and move it if I was successful.  Well it wasn't as bad as all that.   I have a working system with an xfce desktop and I like it.:)   So, time to run my Manjaro installation to a backup drive and move onto my laptop's main drive.  I think I know how I want to do it but, I'd like someone to check me.  Here are the steps I think I need to do:
    Use gparted to backup the existing partitions to another USB drive.  That's running now.
    Blow away the partitions on the main drive.
    Boot from a liveCD and use gparted to resize the partiions on the USB drive as needed and copy them where the partitions used to be on the main drive.
    Edit /etc/fstab to mount the right paritions to the right mount points.
    Modify grub to boot the arch installation.
    I should mention that the windows installation that came with the laptop is still on the main drive and I want to be able to boot into it and I'm not using UEFI.  I'm comfortable moving around the partitions and I have editted an fstab before.  I'm not so sure about grub...yet.  If you have a good link, please let me know.  As a last resort, I have a boot rescue disk that can probably handle it.  I've used it to straighten out worse but, I'd like to learn how to do it myself.
    So, did I miss anything?

    I did move successfully...sort of.  Some observations and a question.
    WonderWoofy you were right.  I was going to just move the partitions around with gparted because I could queue up all the operations and go to bed.  In the morning viola, everything the way I want it. It didn't quite work out.  Gparted got errors copying my /home partition.  So, I blew away what it copied, created a new partition, and rsynced the files in my home partition over.  That worked fine and I'm sure it was faster than copying the partition would have been.
    I got /etc/fstab editted and that worked fine.
    Now for the surprise.  Grub's not as dumb as it was last time I played with it.  It was a while back.  It might have even been lilo.  I wanted to boot off the install on my USB drive to mess with grub.  Forgive me, if you understand grub and this sounds dumb and please help me remedy my ignorance.  My bios was set to boot off the USB and there was a grub instance on there.  That instance was set to boot me into arch.  It looked like it found the arch partition on my main drive and booted into that.  It worked though.  So, I shut down and unplugged the USB and started back up.  A grub menu came up with two arch entries, two windows entries (One's the recover partition that came with the laptop) and two manjaro entries.  The ones I want seem to work.  I don't know what it'll try to boot if I select a manjaro entry.  I'd like to get rid of them though.
    I don't see anyplace grub could be detecting manjaro.  None of the web pages I can find that address editting that menu seem to speak about the grub setup I'm finding here.  Everything I've ever read on grub cautions against editting the grub.cfg directly but, I am tempted.  Any suggestions?
    EDIT:
    Never mind.  A more careful reading of the grub archwiki lead me to try this command:
    # grub-mkconfig -o /boot/grub/grub.cfg
    That did it.
    Last edited by MickeyRat (2013-06-14 01:01:54)

  • Surround sound mix, have I got this right (CS6).

    OK, done some reading and this is what I think I need to do with my 6 WAV files.
    Channel 1 Left - Drag dot in surround pannier to top left.
    Channel 2 Right - Drag dot in surround pannier to top right.
    Channel 3 Centre - Drag dot in surround pannier to top left (and pan Centre percentage to 100%).
    Channel 4 Left Surround - Drag dot in surround pannier to bottom left.
    Channel 5 Right Surround - Drag dot in surround pannier to bottom right.
    Channel 6 LFE - Drag dot in surround pannier centre (and pan LFE to 0gb).
    Unless specified LFE and centre percent infinity db and 0%
    Does this sound correct?

    Channel 6 LFE - Drag dot in surround pannier centre (and pan LFE to 0gb).
    If you do this, there will be output on LFE and Front Left/Front Right, but there only should be output in LFE. If you pan Centre to 100% there will be output on LFE and Centre - that's also wrong. I also don't know how to get output ONLY on LFE!
    Besides, this is the right order for your Monos:
    1: Left
    2: Right
    3: Left Surround
    4: Right Surround
    5: Centre
    6. LFE

  • 16:9 with miniDV and iMovie - have I got this right?

    Hi everyone,
    Firstup I have a Sony DCR-TRV33E miniDV camera which I can set to 4:3 (default) or 16:9
    From your experience will the camera simply put black lines on top and bottom of the picture? i.e. letterboxed 4:3 video?
    Will iMovie assume the input is 16:9 so it will stretch out the letterboxed 4:3 from the camera creating an ultra widescreen and somewhat skewed video?
    I know I should just try it out but i'm moving jobs, 2nd baby is due in 2 weeks, etc. etc. simply rather try and learn a bit before I stuff around with it as time is short!
    Thanks for all tips!
    Cheers
    Jason

    Gruezi Jason,
    From your experience will the camera simply put black lines on top and bottom of the picture? i.e. letterboxed 4:3 video?
    There are two ways digital camcorders create 16:9 video:
    • simply by cropping (letterboxing) the footage.This goes for most camcorders
    • some camcorders have "oversized" CCDs and are thus able to stretch out the footage.
    In any case, both methods will result in loss of resolution (especially the first one) as not all the lines are used to display the video. See also Dan Slagle's Unofficial Movie FAQ:
    http://www.danslagle.com/mac/iMovie/tips_tricks/6004.shtml
    Will iMovie assume the input is 16:9 so it will stretch out the letterboxed 4:3 from the camera creating an ultra widescreen and somewhat skewed video?
    When shooting 16:9, the footage will be flagged as widescreen and can thus be recognized by iMovie as such. You'll need to create DV-PAL Widescreen projects to capture your video with the proper aspect ratio.
    hope this helps
    mish

  • Interfaces have i got this right?

    Hello folks just wondering if i've understood interfaces correctly.
    Interfaces are like a contract between user and serviceprovider.
    So basicly i could have a Interface Tool
    a class Monkey
    a class Hammer
    a class Ninja just for the sake of it
    and the code for Tool would be
    interface Tool{
          use();
    }and the code for hammer would be
    class Hammer implements Tool{
        void use(){
              //bang something
    }and the code for Ninja would be
    class Ninja implements Tool{
         void use{
               //throw some stars
    }and the code for Monkey would be
    class Monkey{
         Tool tool1=new Hammer();
         Tool tool2=new Ninja();
         void work(){
              tool1.use();
              tool2.use();
    }But what if Tool was a class and Hammer and Ninja extended Tool instead? Then what would be the point of using interfaces?
    Edited by: ColacX on Jul 19, 2009 5:40 AM

    It's both inheritance/polymorphism. Purely technically, there's hardly a reason for it. But interfaces are much more convenient.
    But imagine you want to test a method that takes an instance of type Tool as a parameter. If Tool is just an interface, you can create a basic implementation of it that supports your tests. This doesn't seem like much at first, but if the instantiation of the Tool class depends on several other classes in return, things start to get difficult to "mock". Like a ResultSet for instance - either quick-implement it to do what you need, or set up an entire database just for a unit test.
    Another advantage is that everyone who's programming against your API doesn't need to have the current class implementations. Just share the (more stable) interfaces with other teams, and they can program and test, even though your class is still under construction, too. Changes to the class also happen more often than changes to the interface.
    And of course, you can only extend from one class, but implement many interfaces.If Ninja already extends AsianWarrior, along with Samurai, you'll have a hard time making extend Tool as well. ;)
    ®

  • Let me see if i got this right......

    From what i've read on these forums i came to the conclusion that the CPU idle whine is a software problem whilst the power inverter (lcd brightness) whine is a hardware problem. Is this correct?

    The "CPU whine" has been described as stopping when certain software is running, i.e., changing processor load, but not really a software problem. The load buzz heard related to display brightness can be a sign of a bad display inverter board.

  • Have I Got This Right?  (RAM)

    Sorry to beat this dead horse, but I've gotten my info about Logic/OS X's use of RAM from different unclear sources, and I just wanted to run my understanding by you guys. How much of the following is true?
    1) Because Logic is a 32-Bit application, whether in Tiger or Leopard, it and all its AU plugins share a pool of RAM limited to 4GB, except:
    2) EXS24, which can access a separate 4GB per instance.
    3) Even if an AU plugin was 64-bit, it would still only have access to a part of Logic's pool of 4GB
    3) In Tiger, any application (32-bit or 64-bit) running alongside Logic can access its own additional memory up to 4GB.
    4) In Leopard, a 64-bit application can access much more than 4GB, but not Logic, because it is still 32-bit.
    THANKS!
    Context: trying to figure out what to do about running VSL SE on the same machine as Logic -- 4GB installed. I think I add 4GB and run VSL in Ensemble app?

    Running Vienne Ensemble standalone is the way it works. You can even make copies of the VE app and use more than one instance at the same time.
    Concerning logics RAM limitation: since VIs like Omnisphere use more and more of RAM this limitation is getting really anoying. I recently had a session where logic started to crash over and over until I found out that logic already had 2,7 gB of RAM assigned. I'm not sure if it's logic or if even leopard isn't really a 64 Bit system. Hopefully we don't have to wait another year until apple is able to provide a real 64 Bit system for his pro customers.
    best regards

  • I am being asked to upgrade to iCloud Drive but indications are that I will not be able to access up to date details on any of my documents on my Mac without going into iCloud first.  Have I got this interpretation right or can I save changes to acce

    I am being asked to upgrade to iCloud Drive but indications are that I will not be able to access up to date details on any of my documents on my Mac without going into iCloud first.  Have I got this interpretation right or can I save changes to access the new versions on my iMac?

    That is Apple's statement:
    Using iWork with iCloud Drive - Apple Support
    Options for iWork customers
    You can upgrade to iCloud Drive today if you want to keep your documents up to date in iOS 8 and OS X Yosemite, and you want to use the iWork web apps on iCloud.com and the Share via iCloud feature.
    You can upgrade to iCloud Drive later if you want to keep your documents up to date with your apps on iOS 7 or earlier and OS X Mavericks or earlier.
    Upgrade to iCloud Drive today
    To access the most recent versions of your documents from a Mac with OS X Mavericks or earlier, you’ll need to go to iCloud.com and access Pages, Numbers, and Keynote from there. On a PC, you can install iCloud for Windows and set up iCloud Drive.
    If you upgrade to iCloud Drive now:
    Your documents will keep up to date across devices with iOS 8, Macs with OS X Yosemite, PCs with iCloud for Windows, and iCloud.com.
    Your documents will no longer keep up to date on devices with iOS 7 and Macs with OS X Mavericks or earlier.
    You’ll be able to use the iWork web apps on iCloud.com.
    You’ll be able to use the Share via iCloud feature with iOS 8, OS X Yosemite, and iCloud.com.
    Documents you previously shared via iCloud will be accessible to collaborators.
    Upgrade to iCloud Drive later
    Note that until you upgrade your iCloud account to iCloud Drive, you won’t be able to use the iWork web apps on iCloud.com or the Share via iCloud feature.     If you don’t upgrade to iCloud Drive at this time:
    Your documents will keep up to date across devices with iOS 8 and across devices with iOS 7 and Macs with OS X Mavericks or earlier.
    You won’t be able to use the iWork web apps on iCloud.com.
    You won’t be able to use the Share via iCloud feature.
    Documents you previously shared via iCloud won’t be accessible to collaborators until you upgrade to iCloud Drive.

  • Hi. I have got problem with my ITunes. Every time I´m opening the program I´ve got the message: One unkwown problem is appering (-42032) Can anybode please tell me what to do wit this error? Thanks

    Hi. I have got problem with my ITunes. Every time I´m opening the program I´ve got the message: One unkwown problem is appering (-42032) Can anybode please tell me what to do wit this error? Thanks

    Gary,
    discussions may sometimes be slow for an hour or so (at which point the opening page of discussions will eventually apologize for the inconvenience, back on line soon...) but your description looks like a cache problem.
    Try OnyX freeware to do some cleanup and see if that helps.
    http://www.titanium.free.fr/index.html

  • I recently got my iphone from AT&T which came with a charger and know the charger says "this cable is incompatible with this iphone and is not reliable" can anyone tell me how I can fix this or what to do?

    I recently got my iphone from AT&T which came with a charger and know the charger says "this cable is incompatible with this iphone and is not reliable" can anyone tell me how I can fix this or what to do?

    Contact AT&T to have them replace the cable.

  • After i updated my firefox from 3.16 to 4.0.1, have some websites i can't load, and they showed: " database error" but b4 i never got this problem. Can someone tell me why ?

    after i updated my firefox from 3.16 to 4.0.1, have some websites i can't load, and they showed: " database error" but b4 i never got this problem. Can someone tell me why ?

    Nothing is working and I can't find the Roboform toolbar. Your lack of direct support is really irritating- a live chat at least would be helpful.

  • HT4623 i tried to update my iphone4 to iOS 6 it restarted and got stuck. it being restarted since i have updated it and its not yet switched on. tell me what to do with this fish????

    i tried to update my iphone4 to iOS 6 it restarted and got stuck. it being restarted since i have updated it and its not yet switched on. tell me what to do with this fish????

    So what happened to the phone during the process?  It should have gone black and restarted a couple of times and there would have been a white progress bar as the update installed.  Sounds to me like you've downloaded the update file but not actually installed it.  The quickest way to see version of the software is installed is to go to Settings-General-About and check Version.

  • When I installed iTunes 10.6 to windows 7, during the process i got this message -" There is a problem with this windows installer package. A program required for this install to complete could not be run"

    when I installed iTunes 10.6 to windows 7, during the process i got this message -" There is a problem with this windows installer package. A program required for this install to complete could not be run" and after that the setup closed automatically. Plaese tell me if any setting up of windows is in order.

    Try looking at the two previous discussions listed on the right side of this page with your same question.
    Also, try searching/posting in the iTunes forum since you do not have an iPod problem.

  • Just got this Laptop and the audio is not working for videos

    My operating system is Windows 8.1 with Bing. I just got this laptop computer for my college work and love it, but my audio does not work when I watch Videos.  The laptop makes a weird tappign noise often. I need my audio to work for my course work online. The audio when I watch videos online either does not work at all or it breaks up as I am handling the laptop in the m hands. I have already did troubleshooting tests on the laptop and it can not find any problems but I know something is not right due to the noise and now my audio not working Please help me or tell me how HP can fix my laptop in a speedy mannor. It needs to go to the shop. That noise irritates me and I know that any kind of laptop pc is not suppose to make noises like that. The audio must work for my to complete my college homework and classwork online.
    Thank you for any assistance you may be able t give me. Lindsay

    Scroll down on the page and fill out the form to contact HP Warranty Support:
    https://support.hp.com/us-en/contact-hp/product/HP-15-r000-Notebook-PC-series/6875200/model/7531307
    ******Clicking the Thumbs-Up button is a way to say -Thanks!.******
    **Click Accept as Solution on a Reply that solves your issue to help others**

Maybe you are looking for

  • Buying the new ipod touch 5g

    can you only but the product red in the apple retail stores or other stores?

  • Query taking long time for EXTRACTING the data more than 24 hours

    Hi , Query taking long time for EXTRACTING the data more than 24 hours please find the query and explain plan details below even indexes avilable on table's goe's to FULL TABLE SCAN. please suggest me....... SQL> explain plan for select a.account_id,

  • Payment Proposal Challenge

    HI, I need to do a payment proposal run by document numbers and there are hunderds of documents but the transaction F110 only allows 3 documents per run.  Any workaround this problem that anyone has found? Thanks in advance.

  • Does anyone know what's going on with my trackpad?

    It started to pop open about 3 months ago and is just getting worse and worse. The trackpad still works but I've been using a mouse most of the time. I've never dropped my Macbook or done anything to make this happen. I'm not sure what's going on and

  • AE user event error

    Have an AE which has errors: Init - registers dynamic user events and Runs VI. Write - Attempts to generate user event to write data to VI which is running (Error 1) Close - Attempts to retrieve control value (safety cluster_out) from running VI and