Advanced Web Programming
JEE
Interesting sites
http://java.sun.com
http://www.javaworld.com
http://www.javareport.com
http://www.jars.com
http://www.javalobby.com
http://www.eclipse.org
http://jakarta.apache.org
Other links
HTML, CSS, XML specifications
Webmastering
API
JSE 6 API Specification
JEE 5 API Specification
MySQL JDBC Driver
mysql-connector-java-3.1.13.tar.gz
mm.mysql-2.0.4-bin.jar
Laboratory
- Eclipse environment, Jakarta Tomcat server
- Mysql clients and server
- Tomcat configuration, server.xml
- Login form sending data to authenticating servlet. If login and password is ok, user is redirected to page "protected.jsp", if no
is redirected to login form with error message. Find differences between sendRedirect(...) (HttpServletResponse object method) and then forward(...) (RequestDispatcher object method)
- The same as previous but logins/passwords are taken from database as well as roles. Based on role different menu is shown to the user and different pages he is able to visit.
- Web page collecting data about connections(ip, operating system, web browser type).
Information is written to the database and priviledged user is able to see statistic (in text form).
- Taglibs: Own implementation of <select> tag able to read data (dictionaries) from database
- I-st Project: Web application, which meets following conditions:
- min. 5 web pages
- topic of web site must be discussed with lecturer
- login, logout (based on database)
- personalization, possibility of edition own data
- roles: admin, user, guest, other
- forms validation
- reports based on database
- page build from parts, alternatively usage of tiles
- connection pooling (based on Tomcat JNDI)
- web page should be zipped to the one file: awpI_firstname_lastname.zip. Only correctly named files will be accepted
- II-nd Project: The same application as in I-st project written with usage of particular framework,
web page should be zipped to the one file: awpII_firstname_lastname.zip. Only correctly named files will be accepted
Additionally: