摘要:
JBoss开发Web Service作者:kongxx配置使用JBoss版本3.2.3。JBoss.Net是用来提供Web Service的模块,建立在Apache的Axis项目之上。通常我们使用的“default”server中不包括JBoss.Net服务,而是包含在“all”server中。因此如果需要使用Web Service则需要使用“all”server,或者新建一个server来提供Web Service。在$JBOSS_HOME/server/下新建一个目录(如:kongxx),然后复制$JBOSS_HOME/all下所有文件到kongxx下,使用一下命令启动JBoss:run 阅读全文
摘要:
http://www.theserverside.com/news/thread.tss?thread_id=26955 阅读全文
摘要:
千呼万唤始出来,Eclipse总算出3.0版了 阅读全文
摘要:
//The Server using System;using System.IO;using System.Net;using System.Net.Sockets;using System.Text; namespace SocketTest{public class Server3{public Server3(){}public void run() {string data;IPEndPoint ipep = new IPEndPoint(IPAddress.Any, 9050);Socket newsock = new Socket(AddressFamily.InterNetwo 阅读全文
摘要:
//使用dbutils1.0版本 import java.util.*;import java.util.logging.*;import java.sql.*;import org.apache.commons.dbutils.*;import org.apache.commons.dbutils.handlers.*; public class TestDBUnits {public static void main(String[]args) throws Exception {TestDBUnits test = new TestDBUnits();for(int i = 0 ; i 阅读全文
摘要:
using System;using System.Text;using System.Runtime.InteropServices;namespace DevInfo{??? class DeviceInfo??? {??????? public const int DIGCF_PRESENT??? = (0x00000002);??????? public const int MAX_DEV_LEN = 1000;??????? public const int SPDRP_FRIENDLYNAME = (0x0000000C);? ????????? // FriendlyName ( 阅读全文
摘要:
using System;using System.Runtime.InteropServices;using System.Text;namespace DevClasses{/// /// Summary description for Class./// class DeviceClasses{? /// ? /// The main entry point for the application.? /// ? public const int MAX_NAME_PORTS=7;? public const int RegDisposition_OpenExisting=(0x0000 阅读全文
摘要:
原文: http://www.theserverside.com/articles/article.tss?l=JDBCPerformancehttp://www.theserverside.com/articles/article.tss?l=JDBCPerformance_PartIIhttp://www.theserverside.com/articles/article.tss?l=JDBCPerformance_PartIII译文:http://dev.csdn.net/article/29067.shtmhttp://dev.csdn.net/article/29068.shtmh 阅读全文
摘要:
//取CPU编号 private String GetCpuID() {ManagementClass mc = new ManagementClass("Win32_Processor");ManagementObjectCollection moc = mc.GetInstances(); String strCpuID = null ;foreach( ManagementObject mo in moc ) {strCpuID = mo.Properties["ProcessorId"].Value.ToString();break; }retu 阅读全文
摘要:
using System;using System.IO;using System.Xml;public class Sample { public static void Main() { XmlTextReader reader = null; try { //Load the reader with the XML file. reader = new XmlTextReader("elems.xml"); //Parse the XML and display the text content of each of the elements. while (read 阅读全文