Last week, I start my journey on back-end web development. Below are some references from internet for getting some basic understanding on java web development.
Resources
Introduction into Java Web development
This tutorial introduces some basic concept about web development and java part: JSP and servlet.
REST with Java (JAX-RS) using Jersey - Tutorial
This helps me to build a simple JAX-RS web app and deploy it to Tomcat servlet container.
MySQL and Java JDBC - Tutorial & Connect To MySQL With JDBC Driver
These help me understand how to use JDBC to access MySQL database.
Definition
A servlet is a Java programming language class used to extend the capabilities of a server. Technically speaking, a "servlet" is a Java class in Java EE that conforms to the Java Servlet API.
Servlets are most often used to
- Process or store data that was submitted from an HTML form
- Provide dynamic content such as the results of a database query
- Manage state information that does not exist in the stateless HTTP protocol, such as filling the articles into the shopping cart of the appropriate customer
Problems
Below are some solution for the problem I met
INSTALLING Oracle Java JDK 7 On Ubuntu 12.04 Step By Step
How do I import the javax.servlet API in my Eclipse project?
Right click on project ---> Properties ---> Java Build Path ---> Add Library... ---> Server Runtime ---> Apache Tomcat ----> Finish.
Apache2, MySQL, php, phpmyadmin installation on ubuntu12.04
注意,要把 phpadmin conf 加到 apache 裡面
sudo vim /etc/apache2/apache2.conf Include /etc/phpmyadmin/apache.conf //Add the phpmyadmin config to the file sudo service apache2 restart //then restart apache
Java Naming and Directory Interface
-- EOF --
No comments:
Post a Comment