[JAVA] The road to creating a Web service (Part 1)

Background of Web service creation

A friend told me that it would be convenient if there was a Web reservation service. A friend of mine is independent as a personal trainer (a kind of general tutoring for sports trainers), and gives guidance in the form of renting a fitness facility when requested by a customer. For guidance requests from customers, I receive phone calls and emails from my personal mobile phone and receive reservations, but it seems that there are frequent sudden requests such as "I want to ask you in 30 minutes from now", so I contacted during guidance If you don't get it, you will miss a business opportunity. For him, I decided to create a Web reservation service for my own study.

Examination of service contents

First of all, I thought about the outline as follows. ■ Service overview A service for booking training guidance for personal trainers on the Web

■ Provided services ・ Member registration function ・ Registration confirmation function (Registration is completed by clicking the URL attached to the email) ・ Schedule confirmation function ・ Reservation function (reservation / cancellation) ・ Reservation result email sending function ・ Access MAP function (Google map linkage)

■ Design / Design proposal -The color scheme is based on black and white, and even though it is mature, the design uses colors to give it softness. ・ The users are wealthy (many elderly people), so it is easy to use and has a simple button layout and size. ・ Since reservations and schedule confirmation are the main tasks, emphasis is placed on making the calendar easy to see and understand. Design also emphasizes that ・ Consider a design that makes it easier for the administrator to use member information later.

■ Operation verification terminal ・ PC (Chrome, IE) ・ Smartphone (iPhone, Galaxy)

Development environment

The development environment is under consideration as follows. [soft] -VMware Player 6.0.7 ・ CentOS7.4 -Apache HTTP Server 2.4.6 -Apache Tomcat 9.0.8 -Java1.8.0_171 ・ Html / Bootstrap / JavaScript ・ Eclipse ・ GlassFish ・ Postgresql ・ Security software (undecided) ・ Chrome desktop

[hard] ・ Windows7 32bit memory 2GB notebook PC ・ Windows7 HomePremium 64bit memory 4GB desktop PC

Since the specifications of my laptop cannot withstand development in eclipse, I access my desktop PC at home with Chrome desktop and work. (The reason why Remote Desktop is not used is that Home Premium does not support Remote Desktop) For the framework, JSF will be used in consideration of the stability of Java EE and the reduction of work man-hours.

Development procedure

■ Environment construction ・ Development environment construction on CentOS

■ Design creation ・ Design proposal creation with xhtml / Bootstrap (general frame)

■ Manufacture in java ・ Prepare JSF environment using GlassFish for Eclipse ・ Developed using JSF

■ Design modification ・ Move with JavaScript

■ Operation check test -Create and implement a simple test specification so that the same test can be performed for each operation verification terminal. ・ Failure repair

■ Transition to production environment

About the future

When the work is divided to some extent, we plan to update the work status to Kita. Currently, we are building the environment, and we have confirmed until tomcat starts. I'm about to start designing, but since it's a proposal I made while studying, the work may change drastically. In that case, I will revise the posted articles as needed.

I am glad if you can give me some advice because it is a service creation while there are many unclear points.

Recommended Posts

The road to creating a Web service (Part 1)
The road to Web service creation (Part 2)
The road to creating a music game 2
The road to creating a music game 3
The road to creating a music game 1
Three Reasons to Frustrate Before the Release of a Web Service
3. Create a database to access from the web module
How to run the SpringBoot app as a service
How to create a placeholder part to use in the IN clause
Java-Class Instance Creation Part.2
Java-Class Instance Creation Part.3
Java-Class Instance Creation Part.4
Instance creation, constructor, field, etc.
The road to Web service creation (Part 2)
A trip to decipher Spring's "GUIDES" Consuming a RESTful Web Service Edition.
Connecting to a database with Java (Part 1) Maybe the basic method
I want to develop a web application!
4. Creating a manifest and running a web module
Wait for PostgreSQL to start with Docker and then start the WEB service
Java SE8 Silver ~ The Road to Pass ~
Creating a java web application development environment with docker for mac part1
Gorigori SIer SE tried to create a Web service by personal development
Creating a matrix class in Java Part 1
Creating Java Web Applications to Azure Web Apps
Sign in to a Spring Boot web application on the Microsoft ID platform
[Ruby] Sending a POST HTTP request to the Web API using OAuth authentication
A memorandum to clean up the code Ruby
Make a margin to the left of the TextField
How to display a web page in Java
Road to Java Engineer Part1 Introduction & Environment Construction
Set the time of LocalDateTime to a specific time
[Java / PostgreSQL] Connect the WEB application to the database
Introduce docker to the application you are creating
A story about creating a service that proposes improvements to a website using a machine learning API
The part I was addicted to in "Introduction to Ajax in Java Web Applications" of NetBeans
Dreaming of easily creating a Web API for the DB of an existing Java system
Tutorial to create a blog with Rails for beginners Part 1
Tutorial to create a blog with Rails for beginners Part 2
Tutorial to create a blog with Rails for beginners Part 0
Wait for PostgreSQL to start with Docker and then start the WEB service
The road to Web service creation (Part 2)
The road to creating a Web service (Part 1)
Mastering Kotlin ~ Convert Java File to Kotlin File Road to Graduation ~ Part 3
A brief introduction to terasoluna5, see the text below
I tried to decorate the simple calendar a little
Mastering Kotlin ~ Convert Java File to Kotlin File Road to Graduation ~ Part 2
Things to watch out for when creating a framework
A memorandum when creating a REST service with Spring Boot
Mastering Kotlin ~ Convert Java File to Kotlin File Road to Graduation ~ Part 1
Kotlin may take the world from App to Web
How to make a mod for Slay the Spire
How to get started with creating a Rails app
I want to add a delete function to the comment function
Build a WEB system with Spring + Doma + H2DB Part 2
How to study kotlin for the first time ~ Part 2 ~
How to study kotlin for the first time ~ Part 1 ~
[JavaFX] Try to make a software MIDI keyboard Part 2 Slide your finger to change the scale