Seeking recommendations for Java and servlet tutorials

I am newbies in Java, except knowing some JavaScripts, JSP for web programming. Currently, I am using PHP, MySQL, Apache, and now I would like extend my skills to Java.
I visited the java website, it seems to have many different packages and tech for different requirement. What should I learn for web programming? And which database is mostly fit for Java language? Mysql? oracle?

If you want to do web programming, JSP and JavaScript is a good start. You'll also need to know servlets. Since you are new to Java, you'll also need to learn some of the basic classes. I would start with Sun's Java tutorial and when you have mastered that move on to their J2EE tutorial and focus on the chapters that deal with servlets, jsps and related technologies. The J2EE tutorial will include other topics that you may not want to learn right now.
All major relational databases can be used with Java. The JDBC api can be used for all of them. There might be some minor differences in how you code you queries but the way you do things is the same regardless of the database.

Similar Messages

  • Which tutorials may you suggest for JDBC and servlets?

    Hello, i would to learn about JDBC and servlets.
    May you please suggest me a good tutorial(e.g.post me a link) in order to study for JDBC and servlets?
    e.g. How to make a servlet etc.
    Thanks, in advance!

    I agree with PhHein, it's best to learn one technology and then the other. (Just my two cents, but start with JDBC from a simple standalone application, then when that is working, try to tackle Servlets, since you will need to also learn how to get them working in a container like Tomcat).
    Here is a tutorial that has both concepts in it at the same time. Site is down now, but is usually up. http://www.roseindia.net/jdbc/jdbcconnectivity.shtml
    Also, you will eventually want to download a J2EE container such as Tomcat or Jboss.
    - Saish

  • I just ran a software update for Java and MacBook Pro SMC, now my Mini Display Port to HDMI TV is not working. The TV is flickering. The Mac Display is fine.

    I was just watching / streaming TV off Safari on my actual TV.
    I'm using a Mini-Display Port to HDMI cable for the connection to the external display.
    Software update popped-up and said there was an update for Java and for SMC.
    I ran the update and upon the computer restarting, my external display (my TV) is no longer working. It is now flickering.
    It won't work in Mirroring or set up as an extended display.
    I've reset SMC / PRAM / Safe Mode / Even restored from a Time Machine backup (From before the updates were done).
    What could it be?!

    I keep saying this over and over, in the hope that people who do a search will find it.  Apple cannot possibly test for or be reponsible for the bazillion combinations of adapter, cables, and TV's out there.  The only monitors that are 100% guaranteed to work with the MacBook Pro are the Cinema Displays and Thunderbolt Displays, because, they're made by Apple.  They're expensive, but they work perfectly.
    My guess is that you bought a cheap MDP to HDMI cable, or have a defective one.  From my reading of these boards over the past few months, cheap cables have a high failure rate.  And the regular priced ones have only a slightly less of one.  Try a new one.  Make sure you do not damage the Thunderbolt port.

  • Any difference between webdynpro for java and webdynpro for abap ?

    Hi all:
       I would like to build one small system in EP.
       I can choose to use webdynpro for java and webdynpro for abap.
       I would like to ask any major difference between webdynpro for abap and webdynpro for java ?
       Is fpm supported in webdynpro for abap ?

    Hi,
    see this thread,
    ABAP Vs JAVA WebDynpro
    Regads,
    J.Joe

  • How many GB are recommended for downloading and watching movies on an ipad?

    how many GB are recommended for downloading and watching movies on an ipad?

    I agree. With a 16 gig you'll find that you only have room for a couple of movies once the operating system and any other apps take up their space.
    The other alternative would be to look into something like a wireless harddrive, where you can store your movies and stream them to your iPad via an app. However if you're purchasing content from iTunes that may/may not work. So if you consider that you may want to dig a little deeper and make sure it'll do what you want it to do.

  • SAP Recommendation for JAVA Version and BW 7.40 HANA.

    Dear All,
    give it right now some official recommendations for the JAVA Version if we migrate BW 7.01 to HANA 7.4.
    Regards
    Werner Schubert

    Hi Werner Schubert,
    Apart from what Michael has suggested, please see if the following link gives you some help.
    http://scn.sap.com/thread/3476708
    BR
    Prabhith

  • What are Best Practice Recommendations for Java EE 7 Property File Configuration?

    Where does application configuration belong in modern Java EE applications? What best practice(s) recommendations do people have?
    By application configuration, I mean settings like connectivity settings to services on other boxes, including external ones (e.g. Twitter and our internal Cassandra servers...for things such as hostnames, credentials, retry attempts) as well as those relating business logic (things that one might be tempted to store as constants in classes, e.g. days for something to expire, etc).
    Assumptions:
    We are deploying to a Java EE 7 server (Wildfly 8.1) using a single EAR file, which contains multiple wars and one ejb-jar.
    We will be deploying to a variety of environments: Unit testing, local dev installs, cloud based infrastructure for UAT, Stress testing and Production environments. **Many of  our properties will vary with each of these environments.**
    We are not opposed to coupling property configuration to a DI framework if that is the best practice people recommend.
    All of this is for new development, so we don't have to comply with legacy requirements or restrictions. We're very focused on the current, modern best practices.
    Does configuration belong inside or outside of an EAR?
    If outside of an EAR, where and how best to reliably access them?
    If inside of an EAR we can store it anywhere in the classpath to ease access during execution. But we'd have to re-assemble (and maybe re-build) with each configuration change. And since we'll have multiple environments, we'd need a means to differentiate the files within the EAR. I see two options here:
    Utilize expected file names (e.g. cassandra.properties) and then build multiple environment specific EARs (eg. appxyz-PROD.ear).
    Build one EAR (eg. appxyz.ear) and put all of our various environment configuration files inside it, appending an environment variable to each config file name (eg cassandra-PROD.properties). And of course adding an environment variable (to the vm or otherwise), so that the code will know which file to pickup.
    What are the best practices people can recommend for solving this common challenge?
    Thanks.

    HI Bob,
    As sometimes when you create a model using a local wsdl file then instead of refering to URL mentioned in wsdl file it refers to say, "C:\temp" folder from where you picked up that file. you can check target address of logical port. Due to this when you deploy application on server it try to search it in "c:\temp" path instead of it path specified at soap:address location in wsdl file.
    Best way is  re-import your Adaptive Web Services model using the URL specified in wsdl file as soap:address location.
    like http://<IP>:<PORT>/XISOAPAdapter/MessageServlet?channel<xirequest>
    or you can ask you XI developer to give url for webservice and username password of server

  • Sequence of deployment for EJBs and Servlets....

    Is there any way to control the order in which weblogic 6.0 deploys EJBs
              and servlets?
              We have a few startup servlets which use EJBs, however, weblogic 6.0
              seems to start the Servlets before it deploys the EJBs and thus our
              servlets fail.
              Haider Abbas Kazmi - Java Mobile App. Developer
              [haider.kazmi.vcf]
              

    6.1 solves this problem:
              http://e-docs.bea.com/wls/docs61/adminguide/appman.html#1030797
              Haider Abbas Kazmi <[email protected]> wrote:
              > This is a multi-part message in MIME format.
              > --------------9AC9295410C7463D3A71C1A6
              > Content-Type: text/plain; charset=us-ascii
              > Content-Transfer-Encoding: 7bit
              > Is there any way to control the order in which weblogic 6.0 deploys EJBs
              > and servlets?
              > We have a few startup servlets which use EJBs, however, weblogic 6.0
              > seems to start the Servlets before it deploys the EJBs and thus our
              > servlets fail.
              > --
              > Haider Abbas Kazmi - Java Mobile App. Developer
              > --------------9AC9295410C7463D3A71C1A6
              > Content-Type: text/x-vcard; charset=us-ascii;
              > name="haider.kazmi.vcf"
              > Content-Transfer-Encoding: 7bit
              > Content-Description: Card for Haider Abbas Kazmi
              > Content-Disposition: attachment;
              > filename="haider.kazmi.vcf"
              > begin:vcard
              > n:Kazmi;Haider
              > tel;cell:(416)9864702
              > tel;fax:(416) 6434832
              > tel;work:(416) 3666425 x315
              > x-mozilla-html:FALSE
              > url:http://www.everypath.com/
              > org:Everypath Canada;Research & Development
              > adr:;;260 King St;Toronto;Ontario;M5A 4L5;Canada
              > version:2.1
              > email;internet:[email protected]
              > title:Java Mobile App. Developer
              > fn:Haider Kazmi
              > end:vcard
              > --------------9AC9295410C7463D3A71C1A6--
              Dimitri
              

  • LDAP protection for JSP and Servlets

    Environment: WL 5.1 sp 8 on Solaris 7
    Question: I want to use LDAP Security on my site. Does Weblogic only utilze LDAP
    for servlets. What about my JSP files? And no, I can't protect just a directory
    with iPlanet Web Server because my JSP files are all over my directories and my
    servlets are in my /servlets directory. I need security on some of the jsp files.
    how would I accomplish this?

    Hello
    What do I install in order to create and use .jsp's
    and servlets and jdbc connectivity as well? Is it
    J2SE or J2EE. The answer is "Yes."
    In order to use J2EE, you need J2SE. If you do not feel comfortable with J2SE and programming Java in general (as is suggested by not being able to differentiate between J2SE and J2EE and how to download one/both), J2EE may be a bit complex to get started with.
    My suggestion:
    1) Start Here: http://java.sun.com/learning/new2java/index.html
    2) Download J2SE: http://java.sun.com/j2se/1.5.0/download.jsp choose the JDK 5.0 Update 3
    3) Do a beginners Java Tutorial: http://java.sun.com/docs/books/tutorial/index.html
    4) Read a book, try a lot, get comfortable doing it.
    Then Choose the JDBC:
    http://java.sun.com/docs/books/tutorial/jdbc/index.html
    Then, only after being compfortable in how Java and JDBC work, move to J2EE
    1) Download a Server (examples):
    Full J2EE implementation: J2EE Software Development Kits (SDK)
    Servlet/JSP Engine (Tomcat): http://jakarta.apache.org/site/downloads/downloads_tomcat-5.cgi
    There are others, Tomcat is fairly popular.
    2) Read the server's documentation thoroughly
    3) Read a J2EE tutorial: http://java.sun.com/j2ee/1.4/docs/tutorial/doc/index.html
    Note: depending on your server, the above tutorial may only be partially relevant.
    The download section is overwhelming
    and confusing to me :(
    Thanks for any guidance.

  • Netweaver Data base instances for Java and ABAP

    Hello Experts,
    Please help me to understand how the two technology stacks of SAP WAS (Java and ABAP) are configured to use underline data base in Netweaver.
    Is it manadatory to have two separate data base schemas, one for ABAP applications and other for Java applications in the Netweaver?
    If yes..the any idea about what are those schema differences??
    - Rajan

    Hello Krishna,
    Thanks for the reply.
    Is there any way I can access these shemas? Are they the same by structure or there are major differences?
    My requirement is to build a common schema out of these two and have the data from these two schemas to be consolidated in the new schema.
    Any help will be greatly appreciated.
    - Rajan

  • Forte for Java and webLogic

    How do I integrate WebLogic 6.1 and Forte for Java?

    Hi.
    You might check with Sun/Forte for info on how to do this.
    Regards,
    Michael
    Stjepan Maric wrote:
    How do I integrate WebLogic 6.1 and Forte for Java?--
    Michael Young
    Developer Relations Engineer
    BEA Support

  • Load balancing for JSPs and servlets

    Hi:
              I am using IIS as the proxy server, with the WLS plug-in, to a WLS
              cluster. This provides round robin load balancing just fine. Will it
              provide weight based load balancing if I set 'weblogic.system.weight'
              differently on each server, or is that not relevant for clustering JSPs
              and servlets?
              Sincerely,
              Ashish
              

    Currently the plugins ( for NES, IIS and Apache) just use the round robin
              algorithm. the property
              weblogic.system.weight is used only be weblogic's replica aware clusterable
              RMI/EJB stubs.
              To use this property for your JSP/Servlet load balancing you have to use
              weblogic server as proxy fron-ending your weblogic cluster.
              --Viresh Garg
              Ashish Vimal wrote:
              > Hi:
              > I am using IIS as the proxy server, with the WLS plug-in, to a WLS
              > cluster. This provides round robin load balancing just fine. Will it
              > provide weight based load balancing if I set 'weblogic.system.weight'
              > differently on each server, or is that not relevant for clustering JSPs
              > and servlets?
              > Sincerely,
              > Ashish
              

  • WebDynpro for Java and GuideProcedure for workflow.

    Hi All,
    I need inputs on how to create Webdynpro java screns for GP and create a workflow using them .
    I will be thankfull if someone could help to know how to send an email notification also in this workflow scenario.
    Thanks and Regards,
    Sai

    Hello,
    WebDynpro Java will be 'exposed' as callable objects - these callable objects are assigned to particular actions in a business process designed. First off, read through Guided Procedures and how processes are designed.
    As for the e-mail, there's a template to send e-mails via Guided Procedures -- you can define that e-mail via a template available with a particular callable object.
    For more details on implementing the scenario, look through the context menu of this tutorial:
    [http://help.sap.com/saphelp_nw70ehp1/helpdata/en/b1/019742ad14c46ae10000000a155106/frameset.htm]
    Goodluck.
    Regards,
    Jan

  • WD for Java and UWL work items (Adobe HCMPF)

    Hi Experts,
    I am implementing the Adobe forms HCMPF from the HR Administartive Services BP based on  the 'old' WebDynrpo for Java. SAP references in SAPnote 1024326 that when the WD Java is preferred over the WD ABAP one can configure the Application Parameter "isEnabled=X" for the Java WD's.
    This application parameter works fine for iViews like Start Processes and Search Process. However, the problems come when you open the work item for approving/editing a form that is received in the UWL.
    These workitems call the WD application that is defined in ECC. However, they do not call an iView from the PCD but the application directly. Therefore I was not able to configure the Application Parameter "isEnabled=X" for these applications (eg sap.com/paasrformstep).
    Can anyone please help and explain how to set the application parameter property for applications that are called directly fron the UWL work items?
    Without this we can only start the processes but not contunue them after the workflow has started.
    You expertise is greatly appreciated and will be rewarded when helpful!
    Regards,
    Thomas

    Solution found.
    Edit the XML UWL configuration to inlcude the application property for the workflow work items in questions.

  • How to develop Web Dynpro for Java and run it locally

    I want to learn Web Dynpro for Java but still struggling with the running it locally in my PC. What software do I need to install in my own PC in order to do that? I have NWDS in place and I can write the code and compile it already. Thanks!

    Hi Anthony,
    You need to have SAP Web Application server  (SAP WAS) to run all the webdynpro applications. WAS can be installed either on your local system or on a server which can act as a central server.
    You can download WAS from SDN, which is a trial version. Check this link.
    http://www.sdn.sap.com/irj/scn/nw-downloads
    For checking the minimul system requirments for installing WAS please check the PAM (Product Availability Matrix).
    I hope this solves you issue. Please revert back in case you need any further information on this.
    Thanks and Regards
    Pravesh

Maybe you are looking for

  • Use of the Apex API in pl/sql procedures.

    Hi, I have a page with a form region with fields working as filter for an interactive report. This report is conditionally showed when the user clicks on the filter button. It was working with the field :REQUEST, but in this way IR functions like dow

  • INTENSITY  attribute in BOX command

    HI FRIENDS.. can u tel me.. what is the purpose of INTENSITY  attribute in BOX command..? and also.. in sapscript i created one table using BOX statement but it show box with gray background, think is .... i don't want that gray background.. what to

  • Firefox 4 not displaying certain content

    On the below website, since firefox 4 was released it was working fine, but since firefox 4, it doesnt display certain text, please see below the two links provided of pictures, one displaying a picture from Microsoft IE, and Firefox version. Microso

  • Reversing a symbols timeline

    Hi there, I need to activate a timeline event on a symbol with a button press on another object, then when the button is pressed again, reverse the timeline event. This will have something sliding in and out of the stage. If the animation is placed r

  • Is it possible to get free license for AI if I am a student?

    hello. I am a student in UK college, after 1 year i will try to apply to the university. Currently i am studing Art & Design (Visual arts) level 2, for the next year I will apply to Art & Design (Design) level 3. In college we have been using AI and