Mind answering some basic questions for a few bright HS students?

I am a HS computer science teacher who seeks a professional mentor regarding JDBC. While I have successfully
- installed a MySQL database,
created, queried, updated the database,
- read the Java Tutorial and:
used Connect/J and written a main method to manipulate a
database
created very simple applets to query or update a database with
their run methods.
I have basic questions about how pieces fit together in web application development and how one can best take advantage of OOP when dealing with a database. My motivation are a few very bright post-AP students who have an excellent grasp of OOP and data structures; they are curious to see how Java is used in web applications.
The sample code I have found on the Web has all been small main method examples. I would like to see and discuss a truly OOD application with JDBC, and to discuss how the pieces fit together.
So, aware of our ignorance and of how dangerous a little knowledge can be, and not expecting to go live with an application anytime soon, we seek a very high level understanding of current professional practice (like: "Where does tomcat fit in here?") as well as some direction while we get our hands dirty. (I hope that makes sense.)
If you have time to correspond with us via e-mail, answer some very basic questions, and perhaps take a look at some code as we work through it, we would love to hear from you off-line ([email protected]). We would also appreciate knowing where to look for a good OOD sample application. Thanks.

Complete this tutorial and you will have a much better understanding.
http://java.sun.com/javaee/5/docs/firstcup/doc/toc.html
Also here is the tutorial for j2ee ( a little detailed but useful):
http://java.sun.com/javaee/5/docs/tutorial/doc/

Similar Messages

  • Can someone please answer some internet questions for me?

    i just got a refurbished eMac with up to date software. i have a DSL router set up for the other computer i have, and I am wondering how (or IF) I can tag onto that service without having to pay for extra internet service. is this possible? if so what hardware would i have to buy?

    Hi Jarod,
    Yes you can network them, one can be wireless the other on ethernet, but i am not clear on the workings of an eMac, this Forum: Internet and Networking your eMac Good luck enjoy your new eMac : )

  • I put a $15 iTunes card and the money went in but every time I try to buy a game it tells me to answer some security questions and I for got the answers. What do I do?

    I put a $15 iTunes card and the money went in but every time I try to buy a game it tells me to answer some security questions and I for got the answers. What do I do?

    Hi Dylain,
    You can manage your Apple ID account here: https://appleid.apple.com/
    Here's an article on how to reset those questions: http://support.apple.com/kb/HT5312
    If you have problems, you can contact Apple Support here: http://www.apple.com/support/itunes/contact/
    Hope this helps!
    ~Joe

  • Some basic questions on File Adapter

    Hello all,
    I have some basic questions on XI and File Adapter and hope you can help me. Any answer is appreciated.
    1. Can I use NFS transport protocol to poll a file from a machine in the network, which is not the XI? Or do I have to use FTP instead?
    2. If I understand it correctly - when using the FTP-File Adapter, XI has the role of a ftp client. I have to run a ftp server on my distant machine. XI connects to FTP-Server and polls the file.
    Can it also be configured the other way round? The scenario I think of would be: FTP client installed on distant machine, which connects to FTP-Server(XI) and loads up a file. So XI would act as FTP Server.
    I know this works, if I install a ftp Server on the computer my XI runs on, and use the NFS-File Adapter to observe the folder. But I want to know, if I need a second, independant ftp server for this.
    3. And last but not least: When do I need the active ftp mode instead of passive?
    Thanx a lot for your answers!
    Ilona

    > Hello all,
    > I have some basic questions on XI and File Adapter
    > and hope you can help me. Any answer is appreciated.
    >
    >
    > 1. Can I use NFS transport protocol to poll a file
    > from a machine in the network, which is not the XI?
    <b>yes</b>
    > Or do I have to use FTP instead?
    >
    <b>also you can do it</b>
    > 2. If I understand it correctly - when using the
    > FTP-File Adapter, XI has the role of a ftp client. I
    > have to run a ftp server on my distant machine. XI
    > connects to FTP-Server and polls the file.
    > Can it also be configured the other way round? The
    > scenario I think of would be: FTP client installed on
    > distant machine, which connects to FTP-Server(XI) and
    > loads up a file. So XI would act as FTP Server.
    > I know this works, if I install a ftp Server on the
    > computer my XI runs on, and use the NFS-File Adapter
    > to observe the folder. But I want to know, if I need
    > a second, independant ftp server for this.
    >
    <b>XI cannot act as FTP server, but it is always a client. When XI is reading (File sender adpater) when XIis writing than it is File Receiver adapter</b>
    > 3. And last but not least: When do I need the active
    > ftp mode instead of passive?
    >
    <b>It depends on your firewall configuration. The best and the fastests is active mode but not always available.</b>
    > Thanx a lot for your answers!
    > Ilona

  • Some basic question about SCM Installation

    Hi Folks,
    Could you please advice me about some basic questions about SCM and its installation -
    Q1. Do I need to have an R/3 System to be able to practice OR demo the SCM system?
    Q2. If, yes, which version of SCM is compatible with the ECC 5.0?
    Q3. What are the basic requirements to install SCM (version compatible with ECC 5.0) and ECC on a oracle db and windows OS?
    Q4. Does SCM have APO and BI as an inbuilt functionality OR does the user need to purchase these as an Add-On?
    I know these are some basic questions, but these will help me give me a direction.
    With best wishes,
    Krishna

    Hello Krishna -
    Q1. Do I need to have an R/3 System to be able to practice OR demo the SCM system?
    ---> There are various Modules in SCM Like APO (Sub Modules  DP (stand alone), SNP Needs Master data from R/3 and has to pass on transactional Data to R/3, PPDS same as SNP, GATP same as SNP), ICH needs Data from R/3 to work with. Core Interface (CIF) connects R/3 to APO for transferring data.
    Q2. If, yes, which version of SCM is compatible with the ECC 5.0?
    -->For thorough understanding explore the following links
    http://help.sap.com/saphelp_scm41/helpdata/en/9b/954d3baf755b67e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_scm50/helpdata/en/9b/954d3baf755b67e10000000a114084/frameset.htm
    Q3. What are the basic requirements to install SCM (version compatible with ECC 5.0) and ECC on a oracle db and windows OS?
    -->Refer Above
    Q4. Does SCM have APO and BI as an inbuilt functionality OR does the user need to purchase these as an Add-On?
    --> APO comes with a small BI inbuilt functionality. you can only perform certain functions using that BI.
    Hope this helps.
    Regards,
    Suresh Garg

  • Some basic questions on ESS and MSS

    Hi Experts,
    This is the first time I am going to deal with
    ESS and MSS.
    I have some basic questions about it and they are
    listed below:
    1. In an organization if they want to integrate
    ESS and MSS, how do they go about? What I mean
    is, will they install the packages in the R/3
    system and then use the to portal features to
    make iViews of ESS and MSS.
    2. Or is there a seperate package for the portal
    and the R/3 system
    3.What is the best way to customize ESS and MSS
    iViews? Is WebDynpro used to customize ESS and
    MSS applications, if yes how?
    4. Are these ESS and MSS packages different for
    ECC and the older version of R/3 systems? If yes what are the major differences?
    Please do let me know on these subjects and also
    if anyone of you have any links or documents
    associated with this scenario please do send me.
    Thank you
    Regards
    Luke

    Hi,
    here is what I know..
    1 & 2. Depending on the backend SAP version, the relevant ESS/MSS Business Packages have to be installed on the Portal. On the backend it will be via an Add-on.
    3. The webDynpro versions of ESS/MSS are available from mySAP ERP2004/2005 (ECC5/6). The best way to customize the iViews would be through the NetWeaver DevStudio.
    ent
    4. Yes, the ESS/MSS packages are differ depending on the backend SAP version.
    You can find all the  different packages & their info right here on SDN. From the home page click on the Portal Content Portfolio on the right hand side of the page>Browse Content Portfolio>Self Service for ESS & Line Manager for MSS.
    Regards,
    Suresh Datti

  • Some basic questions on HANA

    Hi All,
    I have some basic questions on SAP HANA,
    I heard from one of my colligues that it is mandatory to learn SQL scripts for HANA, is it true?
    Or basic knowledge is enough for HANA???
    Is it added advantage while working on HANA or can we manage with basic knowledge of SQL???
    I tried to find answers for these questions in SCN, but I could not get proper answers, So could you please provide answers for above my questions.
    Thanks in advance,
    Venkat Kalla

    Hi Vladmir,
    SAP HANA is a platform and is more than just database. Which can serve both OLTP and OLAP.
    But since it is a database, Sp SQL skills helps you while modelling in SAP HANA. So When will it be helpful ? It is while addressing some complex requirements using SAP HANA.
    At the end of the day, when you want to work in HANA ( a super duper database ) and you still thinking of whether to learn SQL or not?
    Regards,
    Krishna Tangudu

  • Some basic questions about DAC

    Hello
    I am just starting to use DAC now and I have some basic questions about DAC..
    1: How many different kinda image tables are there, what are they used for?
    2: In order to check which ETL mapping with in the same execution plan is taking a long time, what to do? I mean is there a table that stores such info?
    3: How to determine which ETL task to run after and which after?
    4: Is subject area always map to the Informatica workflow folder? Or what should subject area be?
    Please shed some lights on it, deeply appreciate!
    Thanks

    Hi,
    I have problems to understand you question but will do a try:
    From a logical point of view objects can be only serialized reasonabely when they have a state of it's own which can be reestablished at a later point in time and space without further dependencies.
    F.E. a "serialized file" would NOT make much sense cause it depends heavily on the state of the underlying file system.
    You can't expected that is can be deserialized at a later point of time (physical file refered may not longer exists) or on another machine, where the serialized object was transported to.
    Technical - at zero approach - it's more or less trivial. Simply implement Serializable and all non static, non transient fields of your object will be serialized automatically.
    But there is a couple of pitfalls, you should study documentations regarding this feature.
    Hope this helps
    Martin

  • I got a new ipad and went buy music on iTunes and in is telling me that this is a new device on this account and wants me to answer some security questions I dont remember setting thes up and dont know the answers how do i reset the security questions

    i got a new ipad and went buy music on iTunes and in is telling me that this is a new device on this account and wants me to answer some security questions I dont remember setting thes up and dont know the answers how do i reset the security questions

    Click here and search the article for '2 out of 3' without the quotes; this generally involves either a message being sent to your rescue email address or contacting the iTunes Store staff directly.
    (74313)

  • Good day, I forgot to answer the security question for shopping with my account, how can I recover them?

    Good day, I forgot to answer the security question for shopping with my account, how can I recover them?

    1. See my User Tip for some help: Some Solutions for Resetting
        Forgotten Security Questions: Apple Support Communities.
    2. Here are two different but direct methods:
        a. Send Apple an email request at: Apple - Support - iTunes Store - Contact Us.
        b. Call Apple Support in your country: Customer Service: Contacting Apple for
            support and service.
    3. For other queries about Apple ID see Frequently asked questions about Apple ID.
    4. Rescue email address and how to reset Apple ID security questions
    5. For online assistance use Apple - Support - Express Lane

  • Some basic questions about serialization

    Hi,
    I have some basic questions on serialization.
    1. What are the basic criteria to make an object serializable(except that it must implement serializable ?) I mean that objects of some class inherently cannot be serialized so any object must have some features which makes it serializable/non serializable.
    2. I know it makes no sense to serialize a socket because it is fixed only by specifying ip and port at both ends, and is valid only when the network connection remains valid. Still in the context of my previous question, I would like to know why a socket cannot be serialized.

    Hi,
    I have problems to understand you question but will do a try:
    From a logical point of view objects can be only serialized reasonabely when they have a state of it's own which can be reestablished at a later point in time and space without further dependencies.
    F.E. a "serialized file" would NOT make much sense cause it depends heavily on the state of the underlying file system.
    You can't expected that is can be deserialized at a later point of time (physical file refered may not longer exists) or on another machine, where the serialized object was transported to.
    Technical - at zero approach - it's more or less trivial. Simply implement Serializable and all non static, non transient fields of your object will be serialized automatically.
    But there is a couple of pitfalls, you should study documentations regarding this feature.
    Hope this helps
    Martin

  • HT1937 I've forgotten the answers of security questions for my account

    I've forgotten the answers of security questions for my account

    Read here:
    http://support.apple.com/kb/HT5665
    If no success, go here, ask for assistance:
    https://expresslane.apple.com/Issues.action

  • HT1473 What if i dont know the answer to my questions for my itunes?

    WHat if i do not know the answer to my questions for itunes and it locked up my card and wont allow me to buy my album i wanted?

    Forgotten Security Questions/Answers
    You need to contact Apple by:
    1 - Use the Express lane and start here:
    https://expresslane.apple.com
    then click More Products and Services>Apple ID>Other Apple ID Topics>Forgotten Apple ID security questions.
    or
    Apple - Support -form iTunes Store - Contact Us
    2 - Call Apple in your country by getting the number from here:
    http://support.apple.com/kb/HE57
    or           
    Apple ID: Contacting Apple for help with Apple ID account security
    3 - Use your rescue email address if you set one up
    Rescue email address and how to reset Apple ID security questions
    For general  information see:
    Apple ID: All about Apple ID security questions

  • Need answers for some basic question

    The Informatica server software usually runs on some server machine.The client tools usually run on those Windows PC with which developers to their work. That's a pretty much standard client/server architecture.On Windows servers you will often (not always) find the client tools as well, but that's by no means mandatory.Communication between PowerCenter clients and PowerCenter server usually takes place via TCP/IP; the protocol, as far as I know, has been developed by Informatica in-house app. in 1993-1995. The installation of the server software usually is the task of some server administration team. You will also need some DBA team because the Informatica software (almost) always stores its controlling, scheduling, and runtime information in some relational database system. Importing of relational structures (meaning table and view structures) usually is done on a client PC which connects to the respective source and/or target DBMS via ODBC.The server uses either native database client installations (for Oracle, IBM DB2, Microsoft SQL Server, and Sybase) or ODBC to communicate with the source / target databases. Best thing is that you download the documentation and start browsing the Installation and Configuration Guide; this PDF file explains quite a few concepts fairly well. Regards,Nico

    Hi, 1) a server installation is a server installation and nothing else. It also contains some clients (namely the command-line client tools), but definitely not the GUI clients (this is an extra installation always to be done on a Windows PC as of this time).2) That depends on your business processes. Sometimes files will be placed in some directory (e.g. /opt/transfer/inp) and then the respective workflow shall start, so it might read this file directly. If some business user can only deliver via email, then you will need an extra process which extracts the file(s) from the email and places them somewhere where the server processes can access them.3) Unix is a computer operating system. Windows is a computer operating system. They are just in use in different cases (at least often). Some basic Unix knowledge (about the most common system tools and a bit of shell scripting) is definitely useful / necessary if you want to work with Unix systems.4) A data warehouse stores information which usually is needed for enterprise-wide strategic business decisions. A server is a machine offering software services. One kind of servers are database servers, and data warehouses usually (not always) are stored in a databases. So some sort of server is the technical basis for a data warehouse.5) Usually these two terms are identical in meaning.6) Unix is an operating system. A shell is a program which enables you to interact with a Unix system. Shell scripting means that you automate moderately complex or highly complex tasks using a programming language which is provided by the shell. Different shells offer different scripting facilities and features. Writing a shell script is a matter of programming. Your questions are by no means stupid. They just show that you still have a lot to learn, but that's ok, we all should try to learn more as long as we live. Regards,Nico

  • Please answer a programming question for an admin

    I'm not a programmer (although my interest is growing), so I can't answer this question in a discussion regarding how Win32API w/OLE and COM is SO much better than programming for Unix/OS X applications.
    The original discussion was in regards to OS X's superior Unix based security, he devolved to this. Having only begun my venture into programming, his questions are a little above my head at this point. I'm also interested (as an amature programmer), how this would be accomplished in OS X/Unix.
    Thanks in advance.
    Here's his position:
    *(1st entry)*
    I have unsed Windows and many flavors of Unix and I have written programs in Assembler, Fortran, Pascal, Cobol, RPG, Smalltak, Basic, PowerBuilder, Delphi, C, C++, C#, Java, and Perl, and I have been programming for over 20 years, so I do have extensive knowledge about programming.
    So I have one question for you:
    If you had to build a business application that has to allow users to, spell and grammer check, and perform financial calculations, and render the HTML, how would you compare the effort to do this in Windows versus that in Linux, AIX, Solaris or any other Unix operating system?
    I can make this business application have these features in ONE DAY on Windows, because COM and OLE lets me, use Word to spell and grammer check, Excel to do the financial calculations, and IE to render the HTML!
    I make my living building complex customized business software, and Windows allow me to build these applications by myself in weeks, when it would take me and a team of programmers months to do these same things in Unix because of the lack of an the Win32 API, COM, and OLE, or I would have to BUY third party libraries that did these things, and deal with the licensing, versioning, and vendor problems that go with them, and none of those third party librabries would be close to Word, Excel, and IE in CAPABILITY!
    HONESTLY tell me and others reading this thread how you would go about create the customized business application I described above by yourself in a Unix instead of Windows, and tell us how many MONTHS or YEARS it would take you, or how you would have to BUY some other third party libraries to do what Word, Excel, and IE!
    Anyone who thinks a Unix has more CAPABILITIES than Windows, has never used Win32API/COM/OLE/.Net, and does not build customized complex business software for a living, because we people that do are the reason that you find some much customized business desktop software for Windows, and so little for any Unix.
    I have nothing against Unix, and it is great for simple business tasked server software, but for complex business tasked desktop software Windows with Win32API/COM/OLE/.Net wins hands down!
    *(2nd Entry)*
    A System administrators view of an operating system and an application developers view are entirely different, and the Win32API/COM/OLE/.NET simply make my job so much easier, and you simply don't understand because you do not have to deal with the "dirty' details of making what a user wants, which is why your definition of "integration" and mines are totally different!
    With the spell check you talked about, how will you keep in in synch with the dictionary in Word where the user is constantly adding and removing words?
    No, you would have the user to have to maintain two different spell check dictionaries, and you would totally ignore the grammer check requirement!
    Cutting and pasting data between applications is simple integration, and not the complex type that I am talking about.
    Can you make your application display and use the MacGourmet menus appear in its own window, and to access and use the MacGourmet functionality (ie. search for a recipe) in its own window?
    Give me one example of a Unix application that can display the menus of another application, yet alone control its features!
    Of course you can't, because you need COM and OLE!
    I am quite familiar with different flavors of Unix, but those operating systems do not have the rich API and program integration features namely COM and OLE that Windows has, because it violates the Unix idea of security by process isolation!
    Yes that idea of process isolation keeps the operating system safe from malicious code in applications and from one application taking the others down, but you lose the power of programs working together, and you simply cannot build the type of customized business applications that I build by myself, without reinventing the wheel over and over and without having a large team with lots of programmers.
    For example, my customers and millions of others spend all day working in Word and Excel, and the Windows idea that I can transparently integrate my complex business applications right in Word and Excel menu, and into their templates and macros, is why third party developers like me prefer Windows over Unix, regardless of how much better security in Unix is.
    Do not get me wrong, Java improves business application development on Unix, but unfortuantely it is not feasable to rewrite ever legacy application in Java, and Java does not integrate well with other programming languages.
    I used to code business application for both IBM MVS and Sun Solaris, and I never want to go back to those "bad" old days again, once I took the time to learn how to PROPERLY code using Win32API/COM/OLE/.NET!

    At risk of feeding the troll I'll wander in here:
    NOTE: Since this is an Apple programming boards and I have limited experience programming on traditional Unix systems (and most of that in college) I will confine my answers to the area I know.
    If you had to build a business application that has to allow users to, spell and grammer check, and perform financial calculations, and render the HTML, how would you compare the effort to do this in Windows versus that in Linux, AIX, Solaris or any other Unix operating system?
    I can make this business application have these features in ONE DAY on Windows, because COM and OLE lets me, use Word to spell and grammer check, Excel to do the financial calculations, and IE to render the HTML!
    Note that this scenario assumes the user has Microsoft office installed. The person argues that they don't have to purchase libraries to program but what they are effectively doing is simply transferring that cost to user. I don't have to purchase libraries but everyone of my users needs to. Good for you, very good for Microsoft but bad for your customer - IMHO. OK, I know "But all Windows business users have Office installed already." When it comes free with the system then I'll retract my objection.
    Under OS X and Cocoa many of these functions are intrinsic to the system layer and do not require any applications to be installed. Using Cocoa you can write a simple Word processor that has rulers, full font manipulation (including kerning, spacing and leading), Document Save and Load, Printing, Export to PDF as well as spell-checking in under 10 lines of actual code. Adding a custom file type and icon for full system integration will add another 5 minutes to your programing.
    In case you think I'm blowing smoke here is a tutorial from 2002 (yes, this has been possible for over 5 years) outlining the 8 line Word Processor build in Cocoa. http://www.stone.com/TheCocoa_Files/What_s_sofunny.html
    And yes, Cocoa also includes Webkit so I can add full HTML rendering by dragging in a WebKit window to my user interface. For an experienced Cocoa programmer this certainly sounds like less than a day of programming - in fact it sounds like a good tutorial for a middle-experienced training day or 2 day class in Cocoa.
    I won't include the link to the 1 line web browser you can build in Cocoa using Webkit because it's shorter than the description. Feel free to search for it if you want to.
    HONESTLY tell me and others reading this thread how you would go about create the customized business application I described above by yourself in a Unix instead of Windows, and tell us how many MONTHS or YEARS it would take you, or how you would have to BUY some other third party libraries to do what Word, Excel, and IE!
    BUT this is all done from the stock system that is on every OS X computer not simply those with Office installed. Obviously you'd need to add some features that were more complicated than this - because any halfway decent programmer could turn this stuff out - and polish takes a while but to meet the requirements of the challenge it would take 2 days tops.
    Is every *nix programming environment like this? I don't know I can only answer for the system that I have experience with and is the concern of this board. If you really have questions regarding *nix programming then I suggest you find an appropriate board and troll^H^H^H^H^H ask there.
    If you're ever serious about programming on the Mac feel free to stop by and actually take a look at it. I think you'll be surprised.
    =Tod

Maybe you are looking for

  • KM Scheduler not working EPh1 version

    Hi all,        I have written a scheduler which uses EJB. This works fine in 7.0 SP14 version but it stops working in EPh1 version. It throws an error(from logs) Exception in operation startApp with application  sap.com/ear~file.   sap.com/ear~file i

  • How do i restore my macbook pro to its out of the box settings?

    Hi folks, I recently got a new macbook pro and used Time Machine to import all of my data and settings from my old macbook into my new one. I am now realizing that there is a bunch of stuff on my old hard drive that I don't want on my new one. What I

  • How to maximize a window in Yosemite

    Hi. Today I found out that when you click the maximize button in Yosemite, instead of maximize the window to a predetermined space, the window goes full screen. Is there a way to set it back to the previous behaviour? I'm working with two monitors an

  • Spinning Ball from Safari after Wakeup

    Hi, I have a 15" Macbook Pro 2 GHz Intel Core i7 with upgraded ram to 8 GB and a 120 GB SSD. Upon wakeup after putting my macbook to sleep, Safari will stall with a spinning beach ball for what seems like half a minute. It appears to be the only app

  • Thanks for setting up iCloud on an iOS divice

    thanks for iCloud on an iOS dicice please tell me how to set up iCloud on android