有几个问题想请教一下大家:
1、使用ssh等一些常用框架的时候,一般如何更方便的导入jar包及导入哪些jar包呢?
2、书写xml配置文件的时候,头几行一般是怎么写呢?是需要配置一下Spring在eclipse中的集成,还是去找Spring的doc文件拷贝?
还有其他一些高效编程的方法,大家能分享一下吗?
PHPz2017-04-18 10:54:13
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.
迷茫2017-04-18 10:54:13
Use IDEA, the community version is also fine
Use Maven or gradle
Use Spring Family Bucket
伊谢尔伦2017-04-18 10:54:13
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.