搜索资源列表
用Java实现Web服务器
- 用Java实现Web服务器 本文实现了GET请求的Web服务器程序的方法,通过创建ServerSocket类对象,监听端口8080; 等待、接受客户机连接到端口8080; 创建与socket字相关联的输入流和输出流 然后,读取客户机的请求信息,若请求类型是GET,则从请求信息中获取所访问的HTML文件名,如果HTML文件存在,则打开HTML文件,把HTTP头信息和HTML文件内容通过socket传回给Web浏览器,然后关闭文件。否则发送错误信息给Web浏览器。最后,关闭与相应Web浏览器连接
在ucOS下面的webserver中的连续传图片的java代码
- 在ucOS下建立Webserver,内面有网页可以传送动态连续监视画面,本java代码编出来class文件后可以完成此功能-ucOS established in Webserver, inside a web page can be transmitted dynamic continuous surveillance picture, the java class codes out documents to be completed this function
java类库实例
- java类库详细讲解,配以实例,是掌握java类库的捷径-explain in detail, and with examples - is a shortcut to java class libraries
java mail源码
- 用java实现发送邮件,压缩文件中有个j2ee.jar:已经包含了javamail,JAF包,只是Java mail需要的 1)直接拷贝j2ee.jar,将其添加到jbuilder的library中,或系统ClassPath中。 2)压缩文件中还包含一个配置文件MailServer.properties,需要放到工程文件的class目录 3)这个源代码也是在网友的基础上修改的。如有问题,欢迎交流讨论。 -mail, compressed files are 000 j2e
JAVA的计算器
- 这个无限位计算器,N!及N的平方了。本来是打算用堆栈去实现的,突然发现了BigDecimal这个好东东~~于是乎~~堆栈在偶的计算器里退休了。。。 这个是在JDK 5.0 Update 3下用 NetBeans 4.1写的,我试过了两个1.4.2版本的,总说找不到MAIN()方法,对NetBeans打的包。。偶有置疑。。。所以拆开来。。。*.calss + 一个批处理+*.java打成了个压缩包传了上来~~ -the infinite spaces calculators, N!
利用Java实现串口全双工通讯
- 一个嵌入式系统通常需要通过串口与其主控系统进行全双工通讯,譬如一个流水线控制系统需要不断的接受从主控系统发送来的查询和控制信息,并将执行结果或查询结果发送回主控系统。本文介绍了一个简单的通过串口实现全双工通讯的Java类库,该类库大大的简化了对串口进行操作的过程-an embedded system usually through its serial port control system for full-duplex communications, For example, a pipe
aescrypt-java-3_0
- 利用java实现文件的AES加密功能 This Java AES Crypt package contains the Java class es.vocali.util.AESCrypt, which provides file encryption and decryption using aescrypt file format. Requirements The Java AES Crypt package only works in Java 6, but can be
MyChat
- java编写的类qq 聊天程序用netbeans开发用到了 数据库-java class to prepare qq chat program used by the development of the database netbeans
Card
- 利用Card类和循环语句编写一个扑克牌游戏-In this lab, you will finally put the Card class to good use, as we build a proper card game with the assistance of Java loops.
jd-gui-0.2.7.windows
- java的反编译软件,用于.class 反编译为.java的文件-java uncompile from .class to java
My-Java
- 本人开发的一款java编译器,当年学java时候用的。 主要功能:1.*.java文件编辑、2.*.java文件编译及运行、3.自动判断主类名(java文件保存时体现)、4.JDK环境变量检测及设置(winXP证实可用,理论上支持win7)... 开发环境:Microsoft Visual Studio 2005(Visual Basic 2005)。 仅供学习,如要盗版,请经过本人同意。 联系方式:QQ747192928。 可能存在Bug,请多包涵。- I
ExtendedAVLTree.java
- 扩展AVLTree,添加克隆,合并和打印方法-extend the AVLTree class to include the following methods: clone(AVLTree<K,V> tree);merge(AVLTree<K,V> tree1, AVLTree<K,V> tree2 );void print(AVLTree<K, V>)
java-tankegame
- 用java实现的小游戏~坦克大战~分为几个类~坦克类~子弹类~希望喜欢-~ Tankedaizhan game with java class to be divided into several classes ~ tanks to bullets to hope like
java-fax
- 附件中为java传真功能,可以直接使用其中的类来调用传真功能-Accessories for java fax function, you can directly use one class to call the fax function
异常处理机制
- Java的一些基础的异常处理机制演示。怎么去写标准的Java异常类。(How to write Java's Exception, and to write other exceptions class of Java.)
MyTest2
- java模拟鼠标操作工具类,实现自动操作鼠标键盘完成需要的重复任务(Java simulates the mouse operation tool class to implement the repetitive tasks required to automatically operate the mouse keyboard)
Head+First+Java.pdf.tar
- 生动有趣的JAVA入门级教程,适合想入坑的JAVA菜鸟(Lively and interesting JAVA introductory class tutorials for JAVA rookies that want to go into the pit)
codavaj-1.3.0
- java sample project is out of the box convert javadocs to java class
Java连接数据库并完成查询等操作
- 编写程序实现简单成绩管理。所有数据存储在数据库中;要求能够统计每门课程的平均分及各分数段的人数,也能按班级统计每门课的平均分及各分数段的人数;能够按学号或姓名查询学生考试成绩,也能按分数段查询学生。(Write a program to achieve simple performance management. All data are stored in the database; it is required to be able to count the average score of
JAVA
- 定义长方体类Cuboid,要求如下:(1)私有成员变量包括长length、宽width和高height;(2)构造方法包括一个公共的空构造方法,一个能够初始化所有成员变量的构造方法;(3)包括所有的setter和getter方法,其中setter方法要求对形参进行验证,例如长、宽和高都大于0;(4)功能方法包括计算表面积getArea()、计算体积getCubage()、判断是否正方体isCube()、输出该长方体的长宽高printCuboid()、绘制该长方体(给出提示信息即可)drawing
