隨筆 - 14, 文章 - 0, 評論 - 15, 引用 - 0
          數據加載中……

          2005年6月17日

          收藏一篇java中的正則表達式

               摘要: JAVA與正則表達式(一年級) [ 作者: | 轉貼自:CSDN 文檔| 點擊數: 1840] §1黑暗歲月        有一個String,如何查詢其中是否有y和f字符?最黑暗的辦法就是: 程序1:我知道if、for語句和charAt()啊。 class Test{   publ...  閱讀全文

          posted @ 2005-06-28 11:27 Boris-Java 閱讀(1634) | 評論 (1)編輯 收藏

          雖然目前不是很懂,但是值得關注的一些東西

          jProbe
          jProbe是由Quest公司開發的一個強大的java性能分析,調優工具,實際上,jProbe的功能還不止在性能方面,jProbe由以下幾個產品組成:
          JProbe Memory Debugger-檢查Java軟件的內存使用情況。可以統計出當前運行的java代碼那些對象在消耗內存,消耗了多少等等。
          JProbe Profiler-剖析Java軟件的性能。可以統計出當前運行的java程序共運行了那些方法,每個方法使用了多少次,每次的平均時間以及累積時間等,還能繪制出方法間相互調用的示意圖,并以不同的顏色表達耗時的區別。
          JProbe Threadalyzer-識別線程級的死鎖和錯誤的訪問沖突
          JProbe Coverage-通過提供的語句級執行信息驗證測試框架的完整性。可以統計出在一段時間內,共運行了那些方法,這些方法的代碼覆蓋率有多少,并可以在源文件中標示出那些代碼被運行了,哪些沒有。

          網址:http://www.quest.com/jprobe/

          Tapestry
          Tapestry是一個新一代的webapp開發框架。主頁:http://jakarta.apache.org/tapestry/index.html
          是一種拋棄了jsp的應用框架

          HiveMind
          HiveMind是一個代碼構架框架,基本的思想也是ioc,越看越像spring,不過應該應用在不同的場合吧,學習中。主頁:http://jakarta.apache.org/hivemind

          Commons下的組件:
          Commons下很多組件都很有用,也許你會發現辛辛苦苦寫了半天的東西在這里面就有了!比如DBCP,BeanUtils,Mail和FileUpload等等。

          地址:http://jakarta.apache.org/commons
          Components 
          Attributes Attributes provides a runtime API to metadata attributes such as doclet tags, inspired by the Nanning and XRAI projects as well as JSR 175 and C# attrbutes. 
          BeanUtils Commons-BeanUtils provides easy-to-use wrappers around the Java reflection and introspection APIs.
          Betwixt Betwixt provides services for mapping JavaBeans to XML documents, and vice versa.
          Chain Chain provides a "Chain of Responsibility" pattern implemention for organizing complex processing flows. 
          CLI CLI provides a simple API for working with Comamnd Line arguments, options, option groups, mandatory options and so forth. 
          Codec Codec contains some general encoding/decoding algorithms. Includes some phonetic encoders, Hex, Base64, and a URL encoder. 
          Collections Commons-Collections provides a suite of classes that extend or augment the Java Collections Framework. 
          Configuration Commons-Configuration Tools to assist in the reading of configuration/preferences files in various formats. 
          Daemon An alternative invocation mechanism for unix-daemon-like java code. 
          DBCP Commons-DBCP provides database connection pooling services. 
          DbUtils DbUtils is a JDBC helper library that factors out mundane resource cleanup code for common database tasks. 
          Digester Commons-Digester is an XML-to-Java-object mapping utility commonly used for parsing XML configuration files. 
          Discovery Commons-Discovery provides tools for locating resources (including classes) by mapping service/reference names to resource names using a variety of schemes. 
          EL Commons-EL provides an interpreter for the Expression Language which is defined by the JavaServer Pages(TM) specification, version 2.0. 
          Email Email provides a simple library for sending e-mail from Java. 
          FileUpload FileUpload makes it easy to add robust, high-performance, file upload capability to your servlets and web applications. 
          HttpClient Commons-HttpClient provides a framework for working with the client-side of the HTTP protocol. 
          IO IO is a collection of I/O utilities. 
          Jelly Jelly is an XML based scripting and processing engine. Jelly borrows many good ideas from both JSP custom tags, Velocity, Cocoon and the scripting engine inside XDoclet. Jelly can be used from the command line, inside Ant or inside a Servlet.
          Jexl Jexl is an expression language which entends the Expression Language of the JSTL by bringing in some of the lessons leaned by the Velocity community. 
          JXPath Commons-JXPath provides utilities for manipulating Java classes that conform to the JavaBeans naming conventions using the XPath syntax. It also supports maps, DOM and other object models. 
          Lang Commons-Lang provides a very common set of utility classes that provide extra functionality for classes in java.lang. 
          Latka Commons-Latka is an HTTP functional testing suite for automated QA, acceptance and regression testing. 
          Launcher The Launcher Component is designed to be a cross platform Java application launcher. Commons-launcher eliminates the need for a batch or shell script to launch a Java class. The original Java classes come from the Jakarta Tomcat 4.0 project. 
          Logging Commons-Logging is a wrapper around a variety of logging API implementations. 
          Math Math is a library of lightweight, self-contained mathematics and statistics components addressing the most common practical problems not immediately available in the Java programming language. 
          Modeler Commons-Modeler provides mechanisms to create Model MBeans compatible with the Java Management Extensions (JMX) specification. 
          Net Net is a a collection of network utilities, based on the NetComponents codebase, including FTP clients etc. 
          Pool Commons-Pool provides a generic object pooling interface, a toolkit for creating modular object pools and several general purpose pool implementations. 
          Primitives Commons-Primitives provides smaller, faster and easier to work with types supporting Java primitive types. Currently Primitives is primarily focused on collections of primitives. 
          Resources Resources provides a lightweight framework for defining and looking up internationalized message strings keyed by a java.util.Locale and a message key. 
          Transaction Commons Transaction provides implementations for multi level locks, transactional collections and transactional file access and some other utility classes commonly used in transacional Java programming. 
          Validator The commons-validator package provides a simple, extendable framework to define validators (validation methods) and validation rules in an xml file. There is support for internationalization of validation rules and error messages. 
          VFS VFS is a Virtual File System component for treating files, FTP, SMB, ZIP and such like as a single logical file system.

          The Sandbox
          This project also contains a workspace that is open to all Jakarta committers. It's a place to try out new ideas and prepare for inclusion into the Commons portion of the project or into another Jakarta project. Users are free to experiment with the components developed in the sandbox, but sandbox components will not necessarily be maintained, particularly in their current state.
          Sandbox 


          Cache Cache provides object caching services. 
          Clazz Clazz focuses on introspection and class manipulation. 
          Compress Commons Compress defines an API for working with tar, zip and bzip2 files. 
          Contract This component makes all the nice features available to the java programming language that come along with contract based programming. 
          Convert Commons-Convert aims to provide a single library dedicated to the task of converting an object of one type to another. 
          Events Commons-Events provides additional classes for firing and handling events. It focusses on the Java Collections Framework, providing decorators to other collections that fire events. 
          Feedparser Generic FeedParser interface and concrete implementations for Atom, FOAF, OPML and RSS. 
          Functor A functor is a function that can be manipulated as an object, or an object representing a single, generic function. 
          I18n This component adds the feature of localized message bundles that consist of one or many localized texts that belong together. Think of an error message that consists of title, text, summary and error details. 
          Id Id is a component used to generate identifiers. 
          Javaflow Continuation implementation to capture the state of the application. 
          JCI Java Compiler Interface 
          JJar Jakarta JAR Archive Repository 
          Mapper Mapper is a thin abstraction layer around a project's chosen data mapping technology (a.k.a. DAO pattern). 
          Messenger Messenger is an easy to use and lightweight framework for working with JMS in the web tier. 
          Pipeline This component provides a set of pipeline utilities designed around work queues that run in parallel to sequentially process data objects data objects. 
          Scaffold Scaffold is a toolkit for building web applications. 
          SQL Commons SQL is a component for working with databases and generating DDL. It contains a simple set of beans that represent a relational database schema such as a Database, Table, Column etc. 
          ThreadPool ThreadPool is a simple component for asynchronously dispatching work to another thread in a pool for simple multi threaded programming. 

          Workflow Workflow provides a framework for building workflow management systems. 

          XMLIO Simple and fast importer for XML configuration or import files. 

          posted @ 2005-06-17 17:02 Boris-Java 閱讀(1350) | 評論 (1)編輯 收藏

          主站蜘蛛池模板: 伊宁市| 巴彦淖尔市| 新丰县| 苗栗县| 河池市| 巩义市| 惠东县| 茂名市| 翁源县| 光泽县| 安阳市| 庄河市| 彰化市| 武穴市| 商城县| 嘉荫县| 左云县| 盐津县| 阿尔山市| 张掖市| 雷山县| 泊头市| 台北市| 集贤县| 来宾市| 武强县| 龙泉市| 大方县| 兰州市| 三都| 邯郸县| 开封市| 济阳县| 开阳县| 长宁县| 兴业县| 尉氏县| 蛟河市| 碌曲县| 铜川市| 江陵县|