在项目的开发中,有时候需要将Java应用程序打包成Windows服务,我们就直接可以通过windows的服务来启动和关闭java程序了。
本博文将通过有两种方法实现该功能,手动创建法和Maven自动打包法。
一. 准备
下载java service wrapper
网址:http://sourceforge.net/projects/wrapper/或http://wrapper.tanukisoftware.com/doc/english/download.jsp
我下载的版本是wrapp...
分类:
移动开发 时间:
2015-01-23 18:18:14
阅读次数:
167
最近用WPF写了个类似按键精灵的辅助程序,主要是模拟鼠标事件来替换重复的工作,功能还算比较实用吧,不过开发所用的语言是English,感觉英文更好看些,都是一些基础的单词,实在看不懂的话就去金山词霸吧,鼠标移到控件上会有相关功能的英文注释。这个版本在xp下运行没问题,但是在win7下鼠标事件可能会失...
分类:
其他好文 时间:
2015-01-22 19:59:42
阅读次数:
160
METS(Medical English Test System)考试是由国家教育部考试中心、中华医学会、中华护理学会共同主办的全国性医学英语等级考试,是为全国医学院校在校生和卫生技术人员设计的专业英语考试,考查考生的医护专业英语应用能力。该考试被列为国家引智“十一五”规划重点项目,2007 年 6 月首次开考,2010 年推出的新考试大纲参考了国内相关考试的级别和有影响力的国际语言能力标准体系,...
分类:
其他好文 时间:
2015-01-22 09:33:01
阅读次数:
281
How are you与How are you doing,有何不同呢?貌似没有不同……回答都是"Fine, thank you, and you?"有区别的是How do you do?这个的回答是How do you do?ref:http://english.stackexchange.com...
分类:
其他好文 时间:
2015-01-19 15:39:23
阅读次数:
135
Mr. Kitayuta has kindly given you a stringsconsisting of lowercase English letters. You are asked to insert exactly one lowercase English letter intos...
分类:
其他好文 时间:
2015-01-18 23:57:23
阅读次数:
275
1、system-view进入系统视图模式2、sysname为设备命名3、displaycurrent-configuration当前配置情况4、language-modeChinese|English中英文切换5、interfaceEthernet1/0/1进入以太网端口视图6、portlink-typeAccess|Trunk|Hybrid设置端口访问模式7、undoshutdown打开以太网端口..
分类:
其他好文 时间:
2015-01-15 01:52:12
阅读次数:
238
Problem Description Now you are back,and have a task to do: Given you a string s consist of lower-case English letters only,denote f(s) as the nu...
分类:
其他好文 时间:
2015-01-12 23:44:24
阅读次数:
272
Patienceandpersistencehaveamagiceffectbeforewhichdifficultiesdisappearandobstaclesvanish.Sorrythesubscribleyoudialispowwer-offpleasetryagainlater.Dream.makeplans.believeinyourself.andgoforwhatyouwant.Theopportunitytodobettertomorrowthanyoudidtodayisaprivile..
分类:
其他好文 时间:
2015-01-09 10:55:09
阅读次数:
104
Yet,unfortunately,when it comes to the time for you to talk about these topics in English,......(unfortunately 一般会译为“不幸的是”,但以下是更恰当的表达)然而,遗憾的是,当要用英语来谈论...
分类:
其他好文 时间:
2015-01-08 21:28:13
阅读次数:
179
NSString *str1 = @"can you \n speak English"; NSString *str = @"\n"; //在str1这个字符串中搜索\n,推断有没有 if ([str1 rangeOfString:str].location != NSNotFo...
分类:
移动开发 时间:
2015-01-08 21:25:29
阅读次数:
179