Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

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×Ü½á µÚ¶þÕÂ

µÚ¶þÕÂ
ÃæÏò¶ÔÏóµÄ³ÌÐòÉè¼Æ
Èí¼þ¿ª·¢µÄÎå¸ö½×¶Î
ÐèÇó·ÖÎö   ³éÏó½¨Ä£
ϵͳÉè¼Æ   Ä£ÐÍϸ»¯
±àÂëʵÏÖ  
²âÊԽ׶Î
ϵͳά»¤
Àà(class)ºÍ¶ÔÏó(object)ÊÇÃæÏò¶ÔÏó·½·¨µÄºËÐĸÅÄî
ÀàÊǶÔÒ»ÀàÊÂÎïµÄÃèÊö ÊdzéÏóµÄ¸ÅÄîÉϵĶ¨Òå
¶ÔÏóÊÇʵ¼Ê´æÔڵĸÃÀàÊÂÎïµÄÿ¸ö¸öÌå Òò¶ø³ÉΪʵÀýinstance ......

java×Ü½á µÚ°ËÕÂ

µÚ°ËÕÂ Òì³£
Òì³£
Á½Àà ´íÎóerror ϵͳÄÚ²¿´íÎó Î¥Àýexception ÆäËû±à³Ì´íÎó»òÍâÔÚÒòËØ¡¿
Òì³£´¦Àí»úÖÆ
Å׳öÒì³£throw µ±²»È·¶¨ÎªºÎÖÖÒì³£ºÍ²»È·¶¨Ôõô´¦ÀíµÄʱºòʹÓÃ
²¶»ñÒì³£catch
try{}
catch(){}
finally{}Ϊͳһ³ö¿Ú
fileinputstreamÀàµÄ³ÉÔ±·½·¨read()µÄ¹¦ÄÜÊÇÿ´Î´ÓÏàÓ¦µÄ(±¾µØΪasc2Âë)ÎļþÖжÁ³öÒ»¸ö×Ö½Ú ......

java×Ü½á µÚ¾ÅÕÂ

µÚ¾ÅÕÂ
»ùÓÚÎı¾µÄjavaÓ¦ÓóÌÐò
inputsreamreader is=new inputstreamreader(system.in)
bufferedreader br=new bufferedreader(is)
s=br.readline();
while(!s.euqal("")){}
FLIE f=new file()
filereader ÒÔ×Ö·ûΪµ¥Î»
bufferedreaderÀàµÄreadline
ÒÔÐÐΪµ¥Î»¶ÁÈëÒ»ÐÐ×Ö·û
filewriterÒÔ×Ö·ûΪµ¥Î»ÏòÎļþд³öÊý¾ ......

java¼ÆËãÆ÷С³ÌÐò

import   java.awt.*;
import   java.awt.event.*;
import   javax.swing.*;
public   class   Calculator
{
      public   static   void   main(String[]   args)
    ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ