Simple small projects for getting started with java include: 1. Calculator; 2. Diary software; 3. Online collaborative document editing; 4. Java editor; 5. Sudoku calculator; 6. Payment platform business process; 7. Simple verification code image generation based on Servlet; 8. SSM easyUI builds a simple personnel management system.
The operating environment of this tutorial: windows7 system, java8 version, DELL G3 computer.
If you are a beginner who is learning Java, or a novice who plans to switch careers to learn Java programming, then you will definitely be interested in what projects Java can do. You would definitely like to have some idea of what Java can achieve.
Today I will briefly talk about some projects where you can practice using the Java programming language.
1. Calculator
You can useJava
language to make a simple calculator on your mobile phone, which can add, subtract, multiply and divide. And this function is very simple, and it is almost the first small project that many people who learnJava
programming language often try. Although it is simple, it will be very fulfilling if you can do it.
2. Diary software
You can useJava
to create a diary software that can realize user registration, login and various operations on the diary. You can use this to record your life. It is a real "diary".
3. Java implements online collaborative document editing
The multi-person online collaborative document editor is a very commonly used function, suitable for document editing within a group; written usingjava
The code applies the very popularspring mvc
framework, introduces theckeditor
plug-in, and addslocalStorage
caching technology, and is finally completed usingEclipse
. Very suitable forJava
learners to practice.
4. Java editor
is developed usingEclipse
, and uses theJava
language to complete aJava
editor.
Its main functions:
Java
Code editing;
Compilation and operationJava
Program.
5. Sudoku calculator
UseJava
to implement the core algorithm of the Sudoku game, and pass it while feeling the charm of SudokuJava
Write a desktop program to complete the Sudoku calculator, and complete the learning and consolidation ofJava
basic knowledge points.
6. Simple payment platform business process
Simulate the simple business process of buyers on the payment platform paying to the payment platform and sellers withdrawing money from the payment platform. The final results are displayed in the form of console output. Learn more aboutJava
threads and synchronization through this process.
7. Simple verification code image generation based on Servlet
Generate verification code image throughServlet
in the background and pass it to the front deskHTML
page for display . Through the exercises in this tutorial, you can become more familiar withServlet
,Random
functions,StringBuffer
,OutputStream
, etc., and master the basic verification code generation.
8. SSM easyUI builds a simple personnel management system
SSM
(Spring
Spring MVC
MyBatis
) The framework is a lightweightJava EE
framework comparable to theSSH
framework.easyUI
is a collection ofUI
plug-ins based onjQuery
. Its goal is to helpweb
developers create functions more easily Rich and beautifulUI
interface.
Recommended learning:java video tutorial
The above is the detailed content of What are some simple small projects for getting started with Java?. For more information, please follow other related articles on the PHP Chinese website!