9 Reasons Why Java EE 6 Will Save Real Money
1.Prototyping: in general (Enterprise) Java projects start with evaluation which frameworks to use. This can take from few hours, to several months (although these times are hopefully over). Java EE 6 comes with “one stop shopping”. You can download Java EE 6 with the IDE (eclipse, netbeans, jdeveloper and commercial IntelliJ) and just start hacking. You can install and develop a prototype in minutes. The package sizes are small e.g. NetBeans 6.8 with Glassfish v3, Derby and all required plugins take 146 MB Eclipse with Glassfish / Java EE tooling is also small: 147 MB for MacOS X.
2.Development: Java EE 6 implementations are lightweight. Glassfish comes with 30 MB for the Web Profile, or 75 MB (everything). Deployment takes only few milliseconds. Incremental deployment is supported out-of-the-box. You only have to save the file. The other application servers (JBoss, Caucho's Resin, Geronimo / openEJB) are expected to be similarly lightweight. Because the majority of the libraries and frameworks is already located on the server, you have only to deploy the application code. The deployment archive contains mainly your application code and is so surprisingly small - a kilobyte deployment is possible.
3.Production: Glassfish, JBoss, Geronimo and probably the others do follow the opensource model. You can decide whether you need commercial support or not. You can start small - then scale.
4.Licensing: Java EE 5/6 applications are surprisingly portable - there are no more vendor specific deployment descriptors required. You can easily port your application from one server to another. It is actually the matter of copying of an WAR / EAR archive from one directory to another. We actually did it in the past to ensure application server independence. These are is possible since Java EE 5 and so 2006. Knowing that, you have a good position to be able to get better offers for licensing / support. You are not dependent on a particular vendor and can pick the most
相关文档:
//Java的IO的一个实例
import java.io.*;
import java.util.zip.*;
public class abc5{
String temp=new String();
String t=new String();
public void readByLinefromConsoleAndPrint(){
System.out.println("==从控制台获得输入==");
try{
BufferedReader in=new ......
第四章
运算符,表达式和流程控制
变量用于记录数值可变的数据
java变量使用前必须先声明和初始化
成员变量在类的定义中声明
在创建对象的同时创建有关的成员变量
成员变量创建后系统自动对其进行默认初始化和显式初始化 成员变量依附于对象而存在
&&与 ||或 =赋值运算符
分支语句
if else
int i;
swit ......
第五章 数组
数组时多个相同类型数据的组合
数组属于引用类型 数组型数据为对象(object)
每个元素相当于该对象的成员变量
数组的元素可以是任何数据类型 包括基本类型和引用类型
int a[];
Mydate a[]; 引用类型数组
java中声明数组时不能指定其长度 int a[5];非法
java中使用new来创建数组对象
int a[]=new int[10 ......
Java 2 平台引入了 java.lang.ref 包,其中包括的类可以让您引用对象,而不将它们留在内存中。这些类还提供了与垃圾收集器(garbage collector)之间有限的交互。Peter Haggar 在本文中分析了 SoftReference 、 WeakReference 和 PhantomReference 类的功能和行为,并就这些类的使用给出了一些编程风格上的建议。
当在 Ja ......