Skip to content

Commit d2c5575

Browse files
authored
add emojies
1 parent 2145d16 commit d2c5575

File tree

1 file changed

+41
-40
lines changed

1 file changed

+41
-40
lines changed

README.md

Lines changed: 41 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
# Web-ChatApplication
2-
### [JAVA Based WebApplication]
1+
# Web-ChatApplication :sunflower:
2+
### [JAVA Based WebApplication] :100: :vertical_traffic_light:
33
4-
- [x] Web-ChatApplication developer [@dvspandey](https://github.com/dvspandey)
5-
- [x] Web-ChatApplication Deployment [Link](https://web-chatapp-dvs.herokuapp.com/).
6-
- [x] Web-ChatApplication [Flow Chart](https://github.com/dvspandey/Web-ChatApplication/blob/master/Document/PersistenceFlow.png)
4+
- [x] Web-ChatApplication developer [@dvspandey](https://github.com/dvspandey) :sunglasses:
5+
- [x] Web-ChatApplication Deployment [Link](https://web-chatapp-dvs.herokuapp.com/). :clap: :horse_racing:
6+
- [x] Web-ChatApplication [Flow Chart](https://github.com/dvspandey/Web-ChatApplication/blob/master/Document/PersistenceFlow.png) :+1:
77

88
<div style="text-align:center">
99
<table>
1010
<tr>
11-
<td align=center> LOGO </td>
11+
<td align=center> LOGO :heavy_check_mark: </td>
1212
</tr>
1313
<tr>
1414
<td> <img src="https://github.com/dvspandey/Web-ChatApplication/blob/master/Code/WebContent/img/logo.jfif" /> </td>
@@ -18,28 +18,28 @@
1818

1919
<!-- ![alt text](https://github.com/dvspandey/Web-ChatApplication/blob/master/Document/PersistenceFlow.png?raw=true) -->
2020

21-
### Application with JSPs and Servlets
21+
### Application with JSPs and Servlets
2222

2323

24-
## Objective
24+
## Objective :eyes:
2525
**It provides client application which runs on the users’ desktop and server application which runs on any machine on the network. To start chatting our client should get connected to a server where they can do private chatting with registered users.**
2626

2727

28-
## Software requirements of the project
28+
## Software requirements of the project :rainbow:
2929
Windows & Higher version (32/64-bit) license copies as per requirement
3030
Tomcat9 Server
3131
JDBC connectivity
3232

3333

34-
## Implementation Languages used to develop the project
35-
- Java
36-
- HTML
37-
- CSS
38-
- JavaScript
39-
- Not using AJAX | Socket Programming here, but use Seprate two Frames.
34+
## Implementation Languages used to develop the project :snowman_with_snow:
35+
- Java :comet:
36+
- HTML :comet:
37+
- CSS :comet:
38+
- JavaScript :comet:
39+
- Not using AJAX | Socket Programming here, but use Seprate two Frames. :umbrella:
4040

4141

42-
## Database
42+
## Database :blossom::blossom:
4343
The total number of tables in the database that was identified to build our system is 2.
4444
1. CHATAPP_LOGIN
4545
- This Table have several coulumns and this helps to **Login | Register | List all user **
@@ -56,28 +56,29 @@ The total number of tables in the database that was identified to build our syst
5656
- REFERENCES CHATAPP_LOGIN ("EMAIL") ON DELETE CASCADE
5757

5858

59-
## Backend
59+
## Backend :surfing_woman:
6060
**JDBC**: JDBC stands for Java Database Connectivity. It is a part of JavaSE (Java Standard Edition). JDBC API uses JDBC drivers to connect with the database.
6161

62-
## JSP & Servlets:
62+
63+
## JSP & Servlets: :parrot:
6364
- Java Server Pages (JSP) is a server-side technology that allows development of Web-based applications.
6465

6566
- JSP stands for Java Server Page. It is used to create a web application just like Servlet technology. We can think of JSP as an extension to Servlet because it provides more functionality than servlets such as expression language, JSTL, etc.
6667

6768

6869

6970

70-
## Frontend
71-
###### HTML (HyperText Markup Language)
71+
## Frontend :basketball_man:
72+
###### HTML (HyperText Markup Language) :monkey:
7273

7374
- HTML stands for HyperText Markup Language and it is a standard markup language for creating Web pages. It describes the structure of Web pages.
7475

75-
###### CSS (Cascading Style Sheets)
76+
###### CSS (Cascading Style Sheets) :monkey:
7677

7778
- CSS is a language that describes the style of an HTML document. It describes how HTML elements should be displayed.
7879

7980

80-
## web.xml
81+
## web.xml :elephant:
8182
* Here i use web.xml configuration file as my Properties file.
8283
- Because we can't use direct Properties file in our webapplication as per my knowledge But it is possible in Standalone java applications
8384
- using **java.util.Properties** which helps to read properies file value because it is subclass of hashtabe so it contains keys and values pair
@@ -89,46 +90,46 @@ The total number of tables in the database that was identified to build our syst
8990
- Reusability
9091

9192

92-
## Servlets used in the project
93+
## Servlets used in the project :parrot:
9394
* Servlets used in the project 5
94-
1. LoginServlet.java
95+
1. LoginServlet.java :feet:
9596
- This servlet is use to handel Login related request and provide Non-techencal guidence to user to handel next steps.
9697
- This uses a helper class "com.nt.dao package" where login SQL Queries and Database connection logics exsist.
9798
- The - LoginServlet - is **Lode-on-startup=0** Servlet which contain init() method with user defined code
9899
- This code is a logic for giving **Servlet-Context** object to that helper class
99100
- becuse helper classs is using driver class name, url, pwd, and SQL Queries from **web.xml** configuration file with the help of getInitparameter() method
100101
- of ServeltContext object
101102

102-
2. RegisterServlet.java
103+
2. RegisterServlet.java :feet:
103104
- This servlet is use to handel register request comming to server and provide Non-techencal guidence to user to guide for next steps..
104105
- It also uses that same helper class which contains logic to register user into Database
105106
- That helper class also take query and JDBC properties form web.xml using ServletContext obj which is provided by **LoginServlet.java** on Load-on-startup init() method.
106107

107-
3. ListAllRegisteredUserServlet.java
108+
3. ListAllRegisteredUserServlet.java :feet:
108109
- This servlet get request and sends all user who are registered (except that user who requested for List of registered user) in webApplication as response
109110
- It not take any help of helper class but it self contains logic to connect DataBase and perform SQL operations
110111
- It take JDBC properties and SQL query for select all users from database with the help of **ServletContext** object and **web.xml** configuration file
111112

112-
4. ShowSavedChatServlet.java
113+
4. ShowSavedChatServlet.java :feet:
113114
- This servlet get request and sends all private Chat messages as a responce of perticular user.
114115
- It not take any help of helper class but it self contains logic to connect DataBase and perform SQL operations
115116
- It take JDBC properties and SQL query for select all users from database with the help of **ServletContext** object and **web.xml** configuration file
116117

117-
5. StoreChatServlet.java
118+
5. StoreChatServlet.java :feet:
118119
- This servlet helps to store private chat into database.
119120
- It not take any help of helper class but it self contains logic to connect DataBase and perform SQL operations
120121
- It take JDBC properties and SQL query for select all users from database with the help of **ServletContext** object and **web.xml** configuration file
121122

122123

123-
## Helper class
124-
1. com.nt.util
124+
## Helper class :eagle:
125+
1. com.nt.util :dolphin:
125126
- SqlQuerySupplier.java
126127
- This class is help Login(LoginServlet.java) | Register(RegisterServlet.java) Servlet.
127128
- It takes Servlet Context object with help of init() method of Login(LoginServlet.java) servlet and,
128129
- Store that Object into Static Refrence Variable of ServletContext Type
129130
- Using this ServletContext object this class get all properties of JDBC and SQL queries from web.xml and,
130131
- This class have a getQuery(String purpose) method which returns SQL query as String to caller
131-
2. com.nt.dao
132+
2. com.nt.dao :dolphin:
132133
- ChatAppLoginDAO.java (Data Access Object)
133134
- Basically this class is develop with feeling as Spring bean class which useful for perform persistent logic
134135
- but that need injuctions and injuction will happens with IOC container but i'm develop this application without Spring Framework so there is no IOC container
@@ -141,15 +142,15 @@ The total number of tables in the database that was identified to build our syst
141142
- finally ChatAppLoginDAO class get JDBC propertes using ServletContext object Or we can supply properties manually and,
142143
- SqlQuerySupplier class give query to perform Operations to ChatAppLoginDAO class
143144

144-
## JSP Files (JAVA SERVER PAGES)
145-
- welcomePage.jsp
146-
- loginUserMsg.jsp
147-
- registerUserMsg.jsp
148-
- userDashboard.jsp
149-
- userLogOut.jsp
150-
- chatWindowMain.jsp
151-
- messagesScreen.jsp
145+
## JSP Files (JAVA SERVER PAGES) :construction:
146+
- welcomePage.jsp :watermelon:
147+
- loginUserMsg.jsp :lemon:
148+
- registerUserMsg.jsp :pineapple:
149+
- userDashboard.jsp :strawberry:
150+
- userLogOut.jsp :green_apple:
151+
- chatWindowMain.jsp :grapes:
152+
- messagesScreen.jsp :orange:
152153

153154

154-
## Conclusion
155+
## Conclusion :tokyo_tower:
155156
This project is a chat application where you can chat with registerd friends. You will have to ensure that the tomcat9 server and the apache server are connected and they both should be open while running the project. This project covers many important fundamental aspect of Java language form OOPs concepts to the web development concepts.

0 commit comments

Comments
 (0)