惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

宝玉的分享
宝玉的分享
NISL@THU
NISL@THU
E
Exploit-DB.com RSS Feed
L
LINUX DO - 热门话题
L
Lohrmann on Cybersecurity
K
Kaspersky official blog
Project Zero
Project Zero
Cisco Talos Blog
Cisco Talos Blog
T
The Exploit Database - CXSecurity.com
P
Palo Alto Networks Blog
C
CXSECURITY Database RSS Feed - CXSecurity.com
T
Threatpost
S
Schneier on Security
G
GRAHAM CLULEY
The Hacker News
The Hacker News
T
Threat Research - Cisco Blogs
Scott Helme
Scott Helme
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
P
Privacy & Cybersecurity Law Blog
C
Cyber Attacks, Cyber Crime and Cyber Security
Cyberwarzone
Cyberwarzone
C
CERT Recently Published Vulnerability Notes
T
Tor Project blog
AWS News Blog
AWS News Blog
Simon Willison's Weblog
Simon Willison's Weblog
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
爱范儿
爱范儿
P
Privacy International News Feed
云风的 BLOG
云风的 BLOG
P
Proofpoint News Feed
S
Securelist
G
Google Developers Blog
The Last Watchdog
The Last Watchdog
Google Online Security Blog
Google Online Security Blog
美团技术团队
F
Fortinet All Blogs
小众软件
小众软件
Recorded Future
Recorded Future
V
Visual Studio Blog
B
Blog RSS Feed
H
Help Net Security
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Google DeepMind News
Google DeepMind News
Blog — PlanetScale
Blog — PlanetScale
博客园 - 聂微东
Stack Overflow Blog
Stack Overflow Blog
Martin Fowler
Martin Fowler
Latest news
Latest news
Spread Privacy
Spread Privacy
H
Heimdal Security Blog

博客园 - 朴笛

two RegExp in weebo 值得学习掌握的10种编程语言 - 朴笛 - 博客园 从布什当选谈POJO ---2004 Hibernate路线图 ---2004 哪吒的风火轮 ---2004 对错 ---2004 - 朴笛 - 博客园 将面向对象进行到底---2004 使用Sysdeo Tomcat plugin集成Eclipse 和 Tomcat servlet是基础(1) --- 2004 Servlet(2) ---2004 华山学剑---2004 人生成功三部曲---2005.1 你好LOG4NET ---2005 你好,jspwiki ---2005 学习软件模式设计的四本书 ---2005.1 浅读《编写有效用例》---2005.1 读《有效用例模式》---2005。1 《敏捷建模》Scott W.Ambler ---2005.1 Philosophy(费老)---2005.1
向开源的世界的园丁们致意---2004
朴笛 · 2006-09-14 · via 博客园 - 朴笛

“我们的祖国是花园,花园的花朵真鲜艳”

 开源的世界也是如此,百花齐放。
 作为刚入门的新手,
 这两天我在学习一些开源基础知识,
 边学边整理,浅见。
 权且也算是向开源的世界的园丁们的一种致意吧。

 ==============================================
开源世界的入门钥匙Ant
a simple Ant structure
===============================================
<project>
   <property>
   <target>
      <task>  (stamp,javac,Ear,jar,tar,zip ,mail ,java ... <mkdir dir="${dist}/lib"/>)
      <taskdef name="myjavadoc" classname="com.mydomain.JavadocTask"/>
      <type>  (fileset,mkdir...)
   </target>
   ...
   <target>
</project>


================================================
处理XML文件的标准Jar
================================================
org.dom4j.*      
Document document
  Element
    addComment
    addProcessingInstruction
    Element
      addAttribute


===============================================
通用日志处理架构
log4j & log4net
===============================================
Loggers          level
  appenders      destination
    layouts      format log messages


================================================
从文档标记自动生成Java程序
Xdoclet
================================================
1.Tags are grouped by namespaces
 (@ejb.bean)
2.Tags exist at both class and method level
 (@spring,@hibernate,@jdo, @ejb,@struts,@jsf)
3.choose EJBDoclet or WebDoclet?
4.Generally you should define the XDoclet task for Ant, setup the configuration parameter.


==============================================
由数据层到中间层自动生成程序
Middlegen
==============================================
1.connect database (%Middlegen-Hibernate-r4%\config\database\*.xml ,mysql.xml)
2.将mysql 驱动mysql-connector-java-3.0.11.jar 复制到%Middlegen-Hibernate-r4%\lib
3.运行ant在窗口中你会看见mysql数据库中的表,点击[generte]按钮,在%Middlegen-Hibernate-r4%\bu  ild\gen-src\airline\hibernate\中会产生 *.hbm.xml文件。
4.*.hbm.xml