Java Web???????????????1??
???????????? ???????[ 2013/12/4 11:59:25 ] ????????
???????web????????????л?????????????????н????????????????????????????????Web???????в??????Web???????????Spring??hibernate??JBPM????????ehcache??????????????Щ????????????ú??????Ч??????????л??????????????????????????????ú??????????Ч???????????????????????????????????????????????ü?????????????????????????????????в??????
???????????????Ч????????????????
????1????????Junit4????????м???????????setUp()?г?????????????????£?
@Override
protected void setUp() throws Exception {
super.setUp();
String[] paths = { "classpath:applicationContext.xml" };
ApplicationContext ctx = new ClassPathXmlApplicationContext(paths);
SpringContextListener.setApplicationContext(ctx);
// ############???servlet???????????????????????·??
Constant.CURRENT_PROJECT_PATH = "src/";
// ############????????л??bean
userManager = (UserManager) ctx.getBean("userManager");
userService = (UserService) ctx.getBean("userService");
}
|
????2?????Sprint-test.jar????????????????????????????
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations = "classpath:applicationContext.xml")
@TransactionConfiguration(transactionManager="transactionManager"??defaultRollback=false) //true?????????в??????????и????????
public class JBPMProcessTest2 extends AbstractTransactionalJUnit4SpringContextTests{
|
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11