Location:
Search - javaee api
Search list
Description: 简介
JavaEE在开发的时候,如果是系统内部常量,一般提倡用枚举常量类,写在单独的类中,但是经常要修改的变量,比如数据源配置,如果存在数据库中,有种浪费。但是存在TXT中扩展性不好,就笔者观察,一般的程序员都喜欢把经常修改的常量存在xml文件或者properties文件。
存在xml文件最大的好处是扩展性很好,一般用sax或者dom这两个方向的框架,比如DOM4J,JDOM等。Sun推出的JAXM(Java API for XML Messaging)也是用的DOM4J。由于SAX的处理方式类似流媒体,是逐行的,不需要全部加载。而DOM是全部加载在内存,生成树。因而SAX的读取比DOM性能好,但是修改的话DOM略胜一筹。properties文件的扩展性不如xml,但是有很多xml没法实现的优势,比如加密之类的~
Helloworld
笔者根据自己开发中感受,写了一个工具包,用来体现读取xml或者properties的流程,大家在使用的时候记得修改文件路径。一共包含五个文件.本demo主要是用来模拟读取数据库的账户和密码的,读者可以在此基础上扩展。-Brief introduction
JavaEE development at the time, if the system constants are generally used to promote constant enumeration type, write in a separate category, but often want to modify the variables, such as the data source configuration, if the database exist, in one waste. But the existence of bad TXT extension on my observation, the programmers in general are often modified to enjoy the constant existence xml documents or document properties.
Xml files exist to expand the biggest benefits of a good sax or dom in general with the direction of these two frameworks, such as DOM4J, JDOM, etc.. Sun introduced JAXM (Java API for XML Messaging) is also used DOM4J. SAX approach because a similar streaming media, are progressive and do not need the full load. And DOM are all loaded in memory, spanning tree. SAX and thus the better read performance than the DOM, but DOM is better if modified. properties of paper as an extension of xml, but can not realize there is a lot of the advanta
Platform: |
Size: 1054720 |
Author: Greysh |
Hits:
Description: J2EE说明性文档!有助于初学者学习和使用Java类库和编程!-J2EE descriptive document! Help beginners to learn and use Java class libraries and programming!
Platform: |
Size: 5390336 |
Author: Michael |
Hits:
Description: 里面分别有junit和javaee的帮助文档。-junit and to help document the javaee.
Platform: |
Size: 1940480 |
Author: anthony |
Hits:
Description: J2EE,javaee_6的api,我从Java官方网站下下来后自己编译的.-J2EE, javaee 6 of the api, I downloaded from Java' s official website and compile it myself.
Platform: |
Size: 5643264 |
Author: zhaoyibin |
Hits:
Description: j2ee1.4—api帮助文档,帮助初学者熟悉学习javaee api.-This document is built from the HTML documentations available at java.sun.com. It is regularly updated, when new versions of original documentations become available. To download updates and many other WinHelp and HTMLHelp Java documentations for free, visit Franck Allimant s web site :
Platform: |
Size: 3771392 |
Author: 张伟 |
Hits:
Description: 里面2个chm格式文档,1个是JDK1.6的中文版API,1个是JavaEE API,希望对大家有帮助-Chm format, which two documents, one is the JDK1.6 the Chinese version of API, 1 were JavaEE API, we want to help
Platform: |
Size: 41703424 |
Author: 李笳平 |
Hits:
Description: javaEE API帮助文档为学习javaweb提供了很大的方便-javaEE API Documentation
Platform: |
Size: 7143424 |
Author: 周成 |
Hits:
Description: JavaEE_API_5.0.rar
网络编程,非常好的文件-JavaEE_API_5.0.rar
web Programming,is very helpful documents.
Platform: |
Size: 5168128 |
Author: tp |
Hits:
Description: 权限系统
1. 目的:开发通用的权限系统。
2. 系统架构:struts2.8+hibernate3.5+spring3.0
2. 浏览器: 因为开发是一直使用的是chrome,开发完后才发现不兼容ie
3. 注意事项:如果出现
java.lang.NoSuchMethodError: javax.persistence.OneToMany.orphanRemoval()Z
由于hibernate-jpa-2.0-api-1.0.0.Final.jar和javaee的javax.persistence包冲突,删除javaee包的javax.persistence就可以解决了
4. 项目采用的annotation代替以前的xml配置,可以更好的方便维护
5. 项目入口:http://localhost:8080/ops(项目名)/manage/login.jsp
用户名:asdf 密码:asdf
-Access system 1. Objective: To develop a common access system. 2. System Architecture: struts2.8+ hibernate3.5+ spring3.0 2. Browser: Because development is has been using chrome, only to find after the development is not compatible ie 3. Note: If there is java.lang.NoSuchMethodError: javax . persistence.OneToMany.orphanRemoval () Z because hibernate-jpa-2.0-api-1.0.0.Final.jar and javaee of javax.persistence package conflict remove javaee package can be resolved javax.persistence 4 items used xml annotation instead of the previous configuration, you can better facilitate the maintenance of 5 project entry: http://localhost:8080/ops (project name)/manage/login.jsp User Name: asdf Password: asdf
Platform: |
Size: 19406848 |
Author: paggywong |
Hits:
Description: JavaSE/JavaEE所用API全集。含HTML及CSS的API文档-JavaEE-API to the API documentation with complete, containing JavaSE API documentation, JavaEE API documentation, HTML and CSS API documentation
Platform: |
Size: 61333504 |
Author: |
Hits:
Description: JavaEE框架:JBoss Seam 是一种企业级Java 的应用程序框架。
将JSF与EJB3.0整合、集成AJAX、讲业务流程作为首要的基础建设、声明式状态管理、Bijection(双向注入)、更喜欢XML注解、集成测试-Java Seam API
Platform: |
Size: 1814528 |
Author: 王亮 |
Hits:
Description: 编程API文档javaEE zhongwen JavaEE5_API-Programming API documentation javaEE zhongwen JavaEE5_API
Platform: |
Size: 6856704 |
Author: 吴映楷 |
Hits:
Description: javaee中调用淘宝的api,非常不错、、、非常适合初学者的宝典-very good!
Platform: |
Size: 2388992 |
Author: 宋新良 |
Hits:
Description: 是一个javaEE的API电子文档,需要的时候可以随时查阅,非常方便-is a API for javaEE
Platform: |
Size: 5164032 |
Author: 张益圣 |
Hits:
Description: javaee官方英文版api文档,zip格式。需要的可以转换为chm格式-this is javaee api document
Platform: |
Size: 838656 |
Author: 小敏敏 |
Hits:
Description: Java EE 5 中文版API,Java类、Java接口说明(This is a doc of JavaEE API,include Java class and Java Interface.)
Platform: |
Size: 7728128 |
Author: 蓝色矢车菊
|
Hits:
Description: 关于java,javaEE的英文的API文档(API document on javaEE)
Platform: |
Size: 5772288 |
Author: lizhen1900
|
Hits:
Description: Ajax,AngularJS,Bootstrap,css2,css4,DHTML,DOM,DTD,EasyUI,Ext2.2,Html5,html,JavaEE,JSP,lINUX,MySQL,Servelt,Spring,Struts2,W3C,XML,
Platform: |
Size: 69684224 |
Author: 北风不飘逸
|
Hits:
Description: javaee编写的人工智能AI(用过调用某网的API实现的),注释详细,分享代码互相提高(JavaEE written artificial intelligence AI (used to call a network API Implementation), detailed notes, share code, improve each other)
Platform: |
Size: 833536 |
Author: MartSeven
|
Hits:
Description: 在MyEclipse环境下运用Struts2技术访问Servlet API,包括HttpServletRequest、HttpSession和ServletContext(Access to Servlet API using Struts2 technology in the MyEclipse environment, including HttpServletRequest, HttpSession, and ServletContext)
Platform: |
Size: 7525376 |
Author: 一天12 |
Hits: