Personal summary about Java

About this article

As a memorandum of my own, I will describe my thoughts and research on Java in general. Almost used as a collection of links. Since I am inexperienced, I think it may be wrong, but please forgive me.

Java Web Application

Processing flow </ b>

flow Type Data to be passed Matters reference
View request JSP>Form tag Linkage of JSP form data and Java Servlet program
Control Processed value of request Servlet Annotation is important! Servlet 3.What is the content of the web application made with 0?
Model Scheduled to be listed logic Scheduled to be listed
Dao Scheduled to be listed DAO(SQL query processing) Scheduled to be listed
Model Scheduled to be listed logic Scheduled to be listed
Control Respawn Servlet Scheduled to be listed
View Scheduled to be listed JSP Scheduled to be listed

Exception handling

About try-catch-finally </ b> Java Road 2. try, catch, finally

Introduction to Java throws and try catch

try statement Exception handling Java introduction

About the scope of variables in try-catch-finally </ b> If you get an error that the object cannot be used in the finally statement, it may be because the declaration is made in the try statement. You can work around the problem by removing the declaration from the try statement.

I have a question about exception handling in JAVA (JDBC).

log#

What should be output to the log

compile#

If it is at the operation check level, consider compiling by various means. I would like to know if there are other means ...

Eclipse, local javac, javac by uploading files to the development server

Eclipse#

How to execute by giving command line arguments in Eclipse

[Creating a viable JAR] (http://tigertaizo.hatenablog.com/entry/2015/06/01/124222)

Create a war </ b> Start Eclipse> Project Explorer> Applicable Project> Right Click> Export> Web> WAR File

Add external Jar </ b> Start Eclipse> Project Explorer> Applicable Project> Right Click> Properties> Java Build Path> Library> Add External Jar

Execute with command line arguments </ b> How to execute by giving command line arguments in Eclipse

Command line argument

[Command line arguments] (http://www1.bbiq.jp/takeharu/java31.html)

Jar#

How to run Jar </ b>

Example java -classpath Jar name.jar main class name

With arguments java -classpath Jar name.jar main class name argument 1 argument 2

[How to create an executable JAR file in ECLIPSE] (http://qa.atmarkit.co.jp/q/471)

grammar#

How to write an abbreviated FOR statement </ b>

for(;;)

You can also write that. The above is Omission of counter variable declaration, initialization, and continuation condition specification

[Java cheat sheet] How to write various for statements] (http://kaya-soft.com/java-toranomaki/programming/loop/entry5-4_various/)

String

How to search the character string of the input form by partial match?

reference Notes on using wildcards in PreparedStatement

List# Describes how to get the elements in List of type: String [] How to get value from List<String[]>

Handling of CSV

Personally, the library called opencsv was easy to use. The JAR download page is the following net article "I tried to verify opencsv" reference I tried to verify opencsv [http://tomoyamkung.net/2013/08/09/java-opencsv/] opencsv-api Handling CSV in JAVA

File handling

The following classes are required when reading txt or csv File class

Stack trace#

A stack trace is information that records the execution process of a program. How to read Introduction to Java | Stack Trace [What is a stack trace? (Stack trace): --IT Glossary Binary](http://www.sophia-it.com/content/%E3%82%B9%E3%82%BF%E3%83%83% E3% 82% AF% E3% 83% 88% E3% 83% AC% E3% 83% BC% E3% 82% B9)

Recommended Posts