- 博客(12)
- 资源 (6)
- 收藏
- 关注
原创 Linux下常用软件的安装大全
1. 安装JDK(以jdk-1.6.0_21为例 )chmod 755 jdk-6u21-linux-x64.bin //设置本用户具有写、执行、读的权限sh jdk-6u21-linux-x64.bin //安装,需要输入yes来统一License agreementmv jdk1.6.0_21 ../local //统一安装到localvi /home/work
2012-10-18 15:22:38 1318
原创 Linux中Kill进程的N种方法
Linux中Kill进程的N种方法 常规篇:首先,用ps查看进程,方法如下:$ ps -ef……smx 1822 1 011:38 ? 00:00:49 gnome-terminalsmx 1823 1822 0 11:38 ? 00:00:00 gnome-pty
2012-10-17 11:03:37 1113
转载 Spring(9)-Spring Auto-Wiring Beans with @Autowired annotation
In Spring, you can use @Autowired annotation to auto wire bean on the setter method, constructor or a field. Moreover, it can autowired property in a particular bean.NoteThe @Autowired annotation
2012-10-04 22:36:56 1048
转载 Spring(8)-Spring Auto scanning components
Normally you declare all the beans or components in XML bean configuration file, so that Spring container can detect and register your beans or components. Actually, Spring is able to auto scan, detec
2012-10-04 21:56:52 923
转载 Spring(7)-Spring init-method and destroy-method example
In Spring, you can use init-method and destroy-method as attribute in bean configuration file for bean to perform certain actions upon initialization and destruction. Alternative toInitializingBean
2012-10-04 15:28:27 1266
转载 Spring(6)-Spring Collections (List, Set, Map, and Properties) example
Spring Collections (List, Set, Map, and Properties) exampleBy mkyong - March 14, 2010 springSpring examples to show you how to inject values into collections type (List, Set, Map, and Proper
2012-10-04 15:16:19 2666
转载 Spring(5)-Spring bean scopes example
In Spring, bean scope is used to decide which type of bean instance should be return from Spring container back to the caller.5 types of bean scopes supported :singleton – Return a single bean i
2012-10-04 12:08:05 847
转载 Spring(4)-How to load multiple Spring bean configuration file
ProblemIn a large project structure, the Spring’s bean configuration files are located at different folders for easy maintainability and modular. For example,Spring-Common.xml in common folder,Spr
2012-10-04 11:26:37 1520
转载 Spring(3)-Constructor injection type ambiguities in Spring
In Spring framework, when your class contains multiple constructors with same number of arguments, it will always cause theconstructor injection argument type ambiguities issue.ProblemLet’s see
2012-10-04 11:00:38 1291
转载 Spring(2)-Spring Dependency Injection (DI)
package com.mkyong.output; import com.mkyong.output.IOutputGenerator; public class OutputHelper{ IOutputGenerator outputGenerator; public void setOutputGenerator(IOutputGenerator outp
2012-10-04 10:27:33 638
转载 Spring(1)-Spring loosely coupled example
The object-oriented is a good design to break your system into a group of reusable objects. However, when system grows large, especially in Java project, the huge objects dependencies will always tigh
2012-10-04 10:22:06 784
原创 学习java好站点推荐
1) http://www.mkyong.com/这个站点运用众多的实例介绍了Spring/Hibernet/Struts/Maven/Apache Wicket/JAX-WS (SOAP)/JAX-RS (REST)/Maven/Google App Engine/Java MongoDB等等一大堆较实用的技术。
2012-10-04 10:03:02 600
《Java 开发手册》-阿里巴巴集团技术团队.pdf
2023-12-12
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人