service web and database

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • manjava
    New Member
    • Sep 2009
    • 132

    service web and database

    Hello everyone,

    i don't know to create web service wihth database on mysql if anyone know how can create the service web with database please help me

    Thanks
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    What reading on those subjects have you done so far?
    What did you learn and where specifically are you stuck?

    Comment

    • manjava
      New Member
      • Sep 2009
      • 132

      #3
      i reading on my university and i look for a tutorail about the web service with database such as mysql


      thanks

      Comment

      • Frinavale
        Recognized Expert Expert
        • Oct 2006
        • 9749

        #4
        You need to install a driver that will let you connect to MySQL before you can do anything. You can download the driver from the MySQL website here: MySQL Connectors. The one you want is for Java, it's called the J connector.

        Once you've installed the driver you can connect to a MySQL database. Sun provides articles on how to do this, here is an article that covers Using the MySQL Connector/J JDBC Driver With the Java SE Platform.

        I strongly recommend that you practice using a MySQL database in Java before you start working on web services. Once you're comfortable using MySQL, then write your web service.

        Again, Sun has many articles, including ones on Java Web Services.

        Please take the time to do research before asking us questions. The experts here are more than happy to give you a hand with a specific problem that you're facing but you have to do your time to learn the basics.

        -Moderator Frinny

        Comment

        • manjava
          New Member
          • Sep 2009
          • 132

          #5
          tkank you very much but my ask is need a exemple concret about service web on java and database with mysql so if anyone have a exemple please tell me

          thanks

          Comment

          • Frinavale
            Recognized Expert Expert
            • Oct 2006
            • 9749

            #6
            Please take the time to research the problem before you post your question. The experts here are more than willing to help you with a specific problem but you have to do your part to learn the basics and also formulate a specific question we can help with. Please take the time to read over Read This First.

            Before posting any question you are expected to attempt to find and work on a solution. When you find a specific problem with your attempt, that is the time to post here requesting assistance with any difficulties you have or about a particular function of the code that you don't know how to achieve. When posting your problem, details of the problem itself and where it's found are the bare minimum information required. The experts on this site are more than happy to help you with your problems but they cannot do your assignment/program for you.

            Code may be posted for reference purposes, but please don't expect us to work out the meaning of your problem by reverse-engineering your code. The question you post must make sense in its own right.

            Comment

            • regan2007
              New Member
              • Oct 2009
              • 12

              #7
              What programming language you want to use in creating a web service....?I need your immediate response

              Comment

              • manjava
                New Member
                • Sep 2009
                • 132

                #8
                java

                thank you very much

                Comment

                • regan2007
                  New Member
                  • Oct 2009
                  • 12

                  #9
                  Just visit these site:www.stardeveloper.com

                  Comment

                  • manjava
                    New Member
                    • Sep 2009
                    • 132

                    #10
                    a see but i don't found any tutorail about java web service with database mysql if you have another please tell me

                    Comment

                    • PRR
                      Recognized Expert Contributor
                      • Dec 2007
                      • 750

                      #11
                      Try: binging or
                      googling.
                      go through the tutorials, create simple programs and then try connecting and retrieveing data from DB.

                      Comment

                      • manjava
                        New Member
                        • Sep 2009
                        • 132

                        #12
                        i googling et binging before poste in this forum please am very stopped

                        Comment

                        • manjava
                          New Member
                          • Sep 2009
                          • 132

                          #13
                          i googling et binging before poste in this forum please am very stopped

                          Comment

                          • Frinavale
                            Recognized Expert Expert
                            • Oct 2006
                            • 9749

                            #14
                            Well, we could help you if you described why you were stuck?
                            What are you having problems with?

                            Comment

                            • manjava
                              New Member
                              • Sep 2009
                              • 132

                              #15
                              hello
                              i have a error when a execute :http://localhost:8080/ProjetService/...in/getMagasins

                              getMagasins my methode on service web

                              this is error echec pilote :java.lang.Clas sNotFoundExcept ion: com.mysql.jdbc. Driver
                              echec connection a la bdd :java.sql.SQLEx ception: No suitable driver found for jdbc:mysql://localhost:3306/boutiquegeograp hique
                              erreur selectionjava.l ang.NullPointer Exception

                              thanks for help

                              Comment

                              Working...