摘要:
march 2005 discussionvelocity: a template engine or a rule engine or both?most of the developers must be familiar with velocity as a great open source template engine and i don’t think i need t......
摘要:
利用thread解决paint()和用户输入响应同时将进行的问题。 public class mycanvas extends canvas implements runnable{ int r=0; public mycanvas() { thread t=new thread(this); t.start(); } public void run() { while(true) { r++;......
如何在windows NT 下安装jboss为服务?(How to install jboss as Windows NT OS Service?)
大部分情况下,我们是连续运行jboss,如何保证其不受外界干扰而继续运行不会被关闭?在unix/linux下,通过shell应该可完成那么在windows下呢?想达到这个目的需要把jboss安装为系统服务而jboss本身或windows本身没有提供安装为服务的方法达到这个目的需要借助另外的方法.比如自己写c/c++程序调用windows api这个可能比较浪费时间现在open source的project中已经有支持这个的了.javaservice.objectweb.org/">http://javaservice.objectweb.org/这里可以下载javaservice 的程序包下载完毕后,在解压后的目录中,有bin与docs两个目录在doc目录下有 description.html这个文件打开,找到example (jboss 3.0)根据其描述一步一步进行即可完成.说明:安装服务的windows操作系统必须为nt核心的 例如:nt 2000 xp 2003这些都行 但win98不行在说明的第三步,有些地方需要改变jbossservice.exe -i...
下一页 摘要:
import java.io.*;public class newiodemo {public static void main(string[] args) { try { // 1. reading input by lines: bufferedreader in = new bufferedreader( new filereader(args[0])); string s, s2 = ......