What is An Application Server? In 3 Minutes!
- December 01, 2022
- 4453 Unique Views
- < 1 min read
Low on time and want to know what an 'application server' really is?
Here we offer our explanation. This video covers the difference between application servers and web servers, what an application server can do to make your life as a developer easier, and more, all in less time than your average pop song!
This is a high-level view that might be helpful to pass on to managers and procurement teams who aren't sure what an application server is.
Video by Alan Roth.
Application servers are a key concept in the world of Jakarta EE.
The Jakarta EE, previously Java EE, specifications are designed to work with a Jakarta EE compatible runtime, another word for an application server.
There is often a lot of confusion around the difference between application servers, runtimes and web servers.
Though Alan has given you a starting point here, go into more depth in our guide, 'Beginners Overview Guide to Java Runtimes':
Don’t Forget to Share This Post!
Comments (2)
Tobiloba
3 years agoI see that you save the point of interest as text in the DB but the response gotten from ChatGPT is JSON. Does this mean you convert the response into string using libraries like gson before saving it in the database?
Denis Magda
3 years agoHey, The response is a String object in the JSON format [1]. The repository takes this JSON string as is and stores to the database [2]. Presently, Spring Data auto-generates the CREATE TABLE statement on the startup and sets the "point of interest" column's type to "text" (or "varchar", don't remember). However, it's always possible to ask Spring Data to use the "json" or "jsonb" type for the column if you wish to query the JSON at the database level. Finally, Vaadin displays a list of PointsOfInterests. Those are generated using the org.json library [3]. Let me know if you have other questions. Hope this helps. [1] https://github.com/YugabyteDB-Samples/budget-journey-gpt/blob/main/src/main/java/com/yugabyte/com/TripsAdvisorService.java#L103 [2] https://github.com/YugabyteDB-Samples/budget-journey-gpt/blob/main/src/main/java/com/yugabyte/com/TripsAdvisorService.java#L74 [3] https://github.com/YugabyteDB-Samples/budget-journey-gpt/blob/main/src/main/java/com/yugabyte/com/TripsAdvisorService.java#L114