java - 大家可以分享一下各自如何高效编程吗?就是一些常用的配置及习惯等等
PHP中文网
PHP中文网 2017-04-18 10:52:13
0
3
576

有几个问题想请教一下大家:
1、使用ssh等一些常用框架的时候,一般如何更方便的导入jar包及导入哪些jar包呢?
2、书写xml配置文件的时候,头几行一般是怎么写呢?是需要配置一下Spring在eclipse中的集成,还是去找Spring的doc文件拷贝?
还有其他一些高效编程的方法,大家能分享一下吗?

PHP中文网
PHP中文网

认证0级讲师

reply all(3)
PHPzhong

1. IDE usually comes with functions, for example: soout is automatically completed as System.out.println.

Based on this, many functions can be done, such as mc completion as method annotation, cc completion as class annotation:

2.getter setter

lombok is a good solution, but the solution that comes with the IDE is also good:
Auto-complete getter setter.

3.pom.xml

All dependencies should be managed by maven/gradle.

4.spring xml configuration problem.

I don’t have any suggestions. If the IDE can generate it, just generate it. If it can’t, just save it locally for copy and paste.

Maybe you can try springboot and no longer have to write spring configuration files.

迷茫
  1. Use IDEA, the community version is also fine

  2. Use Maven or gradle

  3. Use Spring Family Bucket

伊谢尔伦

1. Complete core java, including effective java, thinking in java, etc.
2. Understand each design pattern
3. Understand the JVM memory model and garbage collection
4. Some key classes Underlying implementation, such as hashmap, concurenthashmap, etc.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template