JavaTips.Com

A website that allows member to post tips related to Java and share them with other members. It also allows members to provide feedback regarding tips of other members.

Major Operations

The following are the major operations of this application.

Technologies and Products used

The following table lists operations and associated objects and files.

Operation Files Associated Objects
Login login.jsp MemberBean Java Bean
Home page home.html, home.jsp, listtips.jsp UserBean javabean
Registration of User register.html, register.jsp UserBean javabean, User EJB
Forgot password forgotpassword.jsp UserBean JavaBean
Changing password changepassword.jsp UserBean javabean
Displaying details of a tips of the current user mytips.jsp UserBean Bean
Posting a tip addtip.jsp, addtipfinal.jsp UserBean JavaBean, TipBean JavaBean
Displaying tip displaytip.jsp  
Providing feedback feedback.jsp UserBean JavaBean, TipBean JavaBean
Deleting a tip deletetip.jsp UserBean JavaBean, TipBean JavaBean
Sending mail to a User sendmail.jsp UserBean JavaBean

The following are the steps to related to be taken to run the existing part of the application :

  1. Download javatip.zip and unzip it into webapps directory of Tomcat installation directory.
  2. Make sure you copy from jdbc/lib/classes111.zip ( after renaming it to classes111.jar) or jdbc/lib/classes12.jar from Oracle directory into WEB-INF/lib directory
  3. Also make sure the classpath of Tomcat is changed to include weblogic.jar using setclasspath.bat in BIN directory of Tomcat
  4. Create account javatips with password javatips in Oracle.
  5. Create required tables in Oracle using TABLES.TXT file and also insert some sample data.
  6. Make sure Oracle and Tomcat are running.
  7. Start Weblogic Server and create the following
  8. copy examples.properties file from weblogic700\samples\server\src directory of the weblogic server to user directory of javatips application.
  9. Build the ejb in user directory of application directory using ANT. Set PATH to weblogic\weblogic700\server\bin directory because ANT is found in this directory
  10. Copy member_client.jar from user directory to WEB-INF/LIB directory of application (javatips).
  11. Run the application using the following url:
       http://localhost:8080/javatips
     
  12. You should see login page (login.jsp) of the application.