Description: BeanShell是一个小型的,免费的,可嵌入式的,具有面向对象脚本语言特性的Java代码解释器。它是用Java语言写的。它能执行标准的Java语句和表达式,还自带简单的脚本命令和语法。它把编程对象当成一个简单的方法,这很像Perl和JavaScript.
你可以在写Java测试或调试时使用BeanShell,也可以用它作为你的应用程序的脚本引挚。简而言之,BeanShell可以动态的解释JAVA语言。也就是说BeanShell在许多方面对于Java的用处就像Tcl/Tk对于C的用处一样:BeanShell是可嵌入式的---你可以在运行时从你的应用程序调用BeanShell去动态的执行Java代码或是为你的应用程序提供脚本扩展。相反,你也可以从BeanShell调用你的应用程序及其对象,它可以让JAVA对象和API动态运行。正因为BeanShell是用JAVA写的,所以它可以和你的应用程序运行在同一个JVM空间内,你也可以自由的传递实时对象的参照(References)到脚本代码中并且作为结果返回。-BeanShell is a small, free of charge, to be embedded with object-oriented scripting language features of Java code interpreter. It is written in the Java language. It implementation of the standards Java language and expression, also own simple script commands and syntax. Programming Object put it as a simple method, much like Perl and JavaScript. You can write Java testing or debugging use BeanShell can also use it as your application's scripting engine. In short, the dynamics of BeanShell can explain Java language. BeanShell is in many respects for the usefulness of Java as Tcl / Tk for the usefulness of the same C : BeanShell can be embedded -- you can run from your application to BeanShell called dynamic execution of Java code, or for your application for extension of the script. I Platform: |
Size: 1430290 |
Author:limu7475 |
Hits:
Description: /*****远程控制服务器端源代码 本代码的作用和他的那段代码有些类似之处。 不过主要作用是接受并执行客户端的指令 实现起来比他的繁琐一些。 实现功能如下: 从配置文件中读取配置端口和用户名和密码 限制登录ip和登录连接数 可选择采用SSL通讯或者明文通信 接受客户端之类指令。 执行系统命令或者传送文件。-/***** remote control server source code of the role and his code during some similarities. However, the main role is to accept and implement the client's instructions to achieve together than some of the red tape. To achieve the following functions : configuration file read-port configuration and user names and passwords and restrict logged ip logged connections choice of SSL communication expressly or client communications accept such orders. Order Execution System, or the transmission of documents. Platform: |
Size: 7168 |
Author:李欣 |
Hits:
Description: 操作系统中的进程调度,进程调度模拟程序:假设有10个进程需要在CPU上执行,分别用:先进先出调度算法;基于优先数的调度算法;最短执行时间调度算法
确定这10个进程在CPU上的执行过程。要求每次进程调度时在屏幕上显示:当前执行进程;就绪队列;等待队列
-operating system process scheduling, process simulation scheduling procedures : Assuming a 10 CPU in the process of implementation, respectively : FIFO-scheduling algorithm; Based on the number of priority scheduling algorithm; shortest execution time scheduling algorithm to determine which 10 of the CPU the process of the implementation process. Scheduling requires every process when displayed on the screen : the current implementation process; Ready queue; Waiting for the queue Platform: |
Size: 104448 |
Author:魏然 |
Hits:
Description: 把绘制的图转成flash动画,可能对某些用户有用。下载后将.zip去了,在有java环境的情况下直接执行,它是java组件可以直接调用,也可以直接执行,当然也是学习的好源码-put the map drawing conversion flash animation, probably useful for some users. Will be downloaded. Zip to the java environment in the case of direct execution, It is java components can be directly called, can also direct implementation is of course a good source of learning Platform: |
Size: 524288 |
Author:wtp |
Hits:
Description: 使用spring构建一个简单的工作流引擎,便于初学者了解工作流引擎的开发模式。-The API discussed here is bundled as the main source code under the src/java directory.
Three unit tests exist in the src/testdirectory including
SimpleSequenceTestCase, RateDropTestCase and PoolingTestCase.
To run all the tests type "maven test" in a command shell and Maven will download
all the necessary jar files before compiling and running. To see all output in the console,
set maven.junit.usefile=false in the build.properties file. Otherwise, use all JUnit test
output will be logged to the files under the target/test-reports dirctory.
Actual XSL transforms will take place for two of the tests with results piped to output via log4j.
After successful execution of the test suite, you may wish to run the tests individually and watch
output real time. Try using "maven test:ui" to pull up the graphical test
runer, the select the test you want to run and watch the output in the console.
Platform: |
Size: 33792 |
Author:freey |
Hits:
Description: This example shows the ability of Java to declaratively restrict access to certain packages when run with SecurityManager.
By default, access to classes in "sun.*" packages is restricted. However, since Java runs without SecurityManager by default, these checks may not be always performed.
An explanation of example:
1. RestrictedPackageAccess class creates and calls sun.misc.BASE64Encoder
2. First, the default execution happens without SecurityManager, and everything is permitted
3. Secondly, SecurityManager is enabled, and the code doesn t pass the security check
4. However, when the code is run with a different policy, that allows access, the excution goes fine again. Platform: |
Size: 1024 |
Author:neo |
Hits:
Description:
马萨诸塞州技术学院的一篇论文,共21页,本文讨论了JAVA支持参数多态性,描述了执行机制
-This paper extends Java in one area where more power is
needed: support for parametric polymorphism,which allows
the defi nition and implementation of generic abstractions.
The paper discusses both the rationale for our design
decisions and the impact of the extension on other parts
of Java, including arrays and the class library. It also
describes an implementation of the mechanism, including
extensions to the Java virtual machine, and designs for the
bytecode verifi er and interpreter. The bytecode interpreter
has been implemented it provides good performance for
parameterized code in both execution speed and code
size, and does not slow down programs that do not use
parameterized code. Platform: |
Size: 129024 |
Author:lijuan |
Hits:
Description: This a JPEG encoding & decoding program of still image. It does not use level shifting. Discrete Cosine transform (DCT) is performed both by classical & Chen s Flowgraph methods. Predefined JPEG quantization array & zigzag order are used here. RUN - LEVEL coding is used instead of Huffman coding. Compression ratio is compared for each DCT method. Effect of coarse and fine quantization is also examined. The execution time of 2 DCT methods is also checked. In addition, most energatic DCT coefficients are also applied to examine the effect in MatLab 7.4.0 R2007a. Input is 9 gray scale pictures & output is 9*9=81 pictures to compare. Blocking effect is obvious.
-This is a JPEG encoding & decoding program of still image. It does not use level shifting. Discrete Cosine transform (DCT) is performed both by classical & Chen s Flowgraph methods. Predefined JPEG quantization array & zigzag order are used here. RUN - LEVEL coding is used instead of Huffman coding. Compression ratio is compared for each DCT method. Effect of coarse and fine quantization is also examined. The execution time of 2 DCT methods is also checked. In addition, most energatic DCT coefficients are also applied to examine the effect in MatLab 7.4.0 R2007a. Input is 9 gray scale pictures & output is 9*9=81 pictures to compare. Blocking effect is obvious.
Platform: |
Size: 95232 |
Author:Ho Joon Lee |
Hits:
Description: 由于嵌入式系统多数为实时系统,传统Java技术应用于嵌入式系统的主要不足之处表现为:由于Java虚拟机是在运行中对引用到的类进行动态装载、解析和连接,影响了系统的实时性;垃圾收集器(GC)的自动运行导致了任务执行时间的不可预测性;另外,Java语言规范和Java虚拟机规范讨论线程调度的地方非常笼统,导致在不同虚拟机实现中线程调度特性表现不一致。-Because embedded systems mostly real-time systems, Java technology in embedded systems traditionally the main shortcomings were as follows: As the Java virtual machine is running the classes of the reference to dynamic loading, analysis and connectivity, affected the system real-time garbage collector (GC) to run automatically lead to a job execution time unpredictability addition, Java Language Specification and Java Virtual Machine specification where the discussion thread scheduling is very general, leading to virtual machine implementations in different thread scheduling features inconsistent performance. Platform: |
Size: 5953536 |
Author:黄滟 |
Hits:
Description: JAIN SLEE is the specification for a Java Service Logic and Execution Environment (SLEE)
architecture, done in Java Community Process (JCP) by several individuals and companies,
including Red Hat. A SLEE is an application server, or service container, which defines a
component model for structuring the logic of communications services as a collection of reusable
components, and for composing these components into even more sophisticated services. This
model was designed and optimized for event driven applications. Platform: |
Size: 347136 |
Author:yakhii |
Hits:
Description: This an important programming paradigm where you can run multiple “threads” of execution in parallel. Parallel programming is useful in reducing the running time, or deal with asynchronous inputs, or sometimes just to model the problem in a better manner. Here we will use Java threads to get a taste of parallel programming.-This is an important programming paradigm where you can run multiple “threads” of execution in parallel. Parallel programming is useful in reducing the running time, or deal with asynchronous inputs, or sometimes just to model the problem in a better manner. Here we will use Java threads to get a taste of parallel programming. Platform: |
Size: 4096 |
Author:chuck |
Hits:
Description: 异常指的是程序运行时出现的非正常情况,又称为差错、违例等。在上一节中介绍的运行错误就是异常的主要现象。当异常现象发生时,会造成程序运行中断、系统死机等问题。Java程序可以用特定语句来处理异常并继续程序执行,而不让程序中断。Java语言提供一个异常处理类Exception类,专门处理程序执行期间的错误。每当Java程序运行过程中发生一个可识别的运行错误时,即该错误有一个异常类与之相对应时,系统都会产生一个相应的该异常类的对象,即产生一个异常。Java语言异常处理机制有以下一些优点
-Abnormal refers to the program running when the abnormal situation of, also known as discrepancies, violations, etc. In the previous section of the mistake is abnormal operation introduced the main phenomenon. When abnormal phenomenon occurs, can cause to run the program interrupt, system crash. Java program can use specific statements to deal with problems and continue program execution, and don t let the interruption of the program. Java language provides a Exception handling class Exception classes, special processing program during the execution of mistakes. Whenever Java program running occurred in the process of identification of a runtime error, the wrong when there is an exception class and the relative, the system will generate a timely corresponding the abnormal objects of a class, which produce an exception. Java language exception handling mechanism has the following some advantages
Platform: |
Size: 1117184 |
Author:蒋小明 |
Hits:
Description: 本书共分20章,第1-4章解释了java虚拟机的体系结构,包括java栈、堆、方法区、执行引擎等;第5-20章深入描述了java技术的内部细节,包括垃圾收集、java安全模型、java的连接模型和动态扩展机制、class文件、运算及流程控制等等,其中等6章和附录a-c完全可以作为class文件和指令含集的参考手册深入JAVA虚拟机第二版-This book is divided into 20 chapters, chapters 1-4 explain the java virtual machine architecture, including the java stack, heap, methods area, the execution engine 5-20 chapter in-depth description of the internal details of the java technology, including garbagecollection, the Java security model, Java connection model and the dynamic extension mechanism, the class file, computing and process control, etc., of which 6 and Appendix ac can be used as the class files and instruction set reference manual containing Platform: |
Size: 19424256 |
Author:杨庆怡 |
Hits:
Description: 《Java编程思想》内容包括操作符、控制执行流程、访问权限控制、复用类、多态、接口、通过异常处理错误、字符串、泛型、数组、容器深入研究、Iava’UO系统、枚举类型、并发以及图形化用户界面等内容。这些丰富的内容,包含了Java语言基础语法以及高级特性,适合各个层次的Java程序员阅读,同时也是高等院校讲授面向对象程序设计语言以及Java语言的绝佳教材和参考书。-" Think in Java " includes the operator to control the flow of execution, access control, multiplexing class, polymorphism, interfaces, exception handling error, string, generics, arrays, the container-depth study Iava' UO system, gold lift type, concurrency, and graphical user interface. These rich content, including basic syntax of the Java language, as well as advanced features suitable for all levels of Java programmers to read, but also great institutions of higher learning teaching-oriented object programming language and Java language textbooks and reference books. Platform: |
Size: 1827840 |
Author:薛** |
Hits:
Description: 本书赢得了全球程序员的广泛赞誉,即使是最晦涩的概念,在Bruce Eckel的文字亲和力和小而直接的编程示例面前也会化解于无形。从Java的基础语法到最高级特性(深入的面向对象概念、多线程、自动项目构建、单元测试和调试等),本书都能逐步指导你轻松掌握。
从本书获得的各项大奖以及来自世界各地的读者评论中,不难看出这是一本经典之作。本书的作者拥有多年教学经验,对C、C++以及Java语言都有独到、深入的见解,以通俗易懂及小而直接的示例解释了一个个晦涩抽象的概念。本书共22章,包括操作符、控制执行流程、访问权限控制、复用类、多态、接口、通过异常处理错误、字符串、泛型、数组、容器深入研究、Java I/O系统、枚举类型、并发以及图形化用户界面等内容。这些丰富的内容,包含了Java语言基础语法以及高级特性,适合各个层次的Java程序员阅读,同时也是高等院校讲授面向对象程序设计语言以及Java语言的绝佳教材和参考书。
- The book won wide acclaim worldwide programmer, even the most obscure concepts in the text affinity Bruce Eckel and small, direct programming examples will be resolved before the invisible. From the foundation of Java syntax to the most advanced features (depth of object-oriented concepts, multi-threading, automatic build, unit testing and debugging, etc.), this book can guide you step by step easy to master.
Received the award the book and reader comments around the world, it is easy to see that this is a classic. Author of the book has many years of teaching experience, for C, C++ and Java language has a unique, in-depth insights to small and easy to understand and straightforward example explains one obscure abstract concept. The book consists of 22 chapters, including operators, control execution flow, access control, multiplexing classes, polymorphism, interfaces, exception handling errors, strings, generics, arrays, container-depth study, Java I/O s Platform: |
Size: 1827840 |
Author:QJ |
Hits:
Description: 《java编程思想》是埃克尔著的一本教科类书籍。该书的作者拥有多年教学经验,对C、C++以及Java语言都有独到、深入的见解,以通俗易懂及小而直接的示例解释了一个个晦涩抽象的概念。该书共22章,包括操作符、控制执行流程、访问权限控制、复用类、多态、接口、通过异常处理错误、字符串、泛型、数组、容器深入研究、JavaI/O系统、枚举类型、并发以及图形化用户界面等内容。("Java programming ideas" is a textbook with eccher books. The author of the book has many years of teaching experience, and has a unique and in-depth view of C, C++ and Java language, and explains a number of obscure abstract concepts in a straightforward and straightforward example. The book consists of 22 chapters, including operators, control and execution process, access control, reuse, polymorphism, interface, through exception handling errors, strings, arrays, and generic container research, JavaI/O system, enumeration types, concurrency and graphical user interface.) Platform: |
Size: 89435136 |
Author:风~
|
Hits:
Description: 从本书获得的各项大奖以及来自世界各地的读者评论中,不难看出这是一本经典之作。本书共22章,包括操作符、控制执行流程、访问权限控制、复用类、多态、接口、通过异常处理错误、字符串、泛型、数组、容器深入研究、JavaI/O系统、枚举类型、并发以及图形化用户界面等内容。这些丰富的内容,包含了Java语言基础语法以及高级特性,适合各个层次的Java程序员阅读,同时也是高等院校讲授面向对象程序设计语言以及Java语言的绝佳教材和参考书。(It is not difficult to see that this is a classic from the award of this book and from the readers' comments from all over the world. The book has 22 chapters, including operators, control and execution process, access control, reuse, polymorphism, interface, through exception handling errors, strings, arrays, and generic container research, JavaI/O system, enumeration types, concurrency and graphical user interface. These rich contents, including the basic grammar and advanced features of Java language, are suitable for all levels of Java programmers to read. They are also excellent textbooks and reference books for teaching object-oriented programming languages and Java languages in Colleges and universities.) Platform: |
Size: 2126848 |
Author:白影 |
Hits:
Description: 从本书获得的各项大奖以及来自世界各地的读者评论中,不难看出这是一本经典之作。本书共22章,包括操作符、控制执行流程、访问权限控制、复用类、多态、接口、通过异常处理错误、字符串、泛型、数组、容器深入研究、JavaI/O系统、枚举类型、并发以及图形化用户界面等内容。(It is easy to see that this book is a classic from the awards and the readers' comments from all over the world. This book consists of 22 chapters, including operator, control execution flow, access control control, reuse class, polymorphism, interface, exception handling error, string, generics, array, container in-depth study, JavaI/O system, enumeration type, concurrency, and graphical user interface.) Platform: |
Size: 2042880 |
Author:yzh195 |
Hits: