• Hibernate3 Filters

    2008-11-11 22:11:26   /   Java企业开发

    Hibernate3 adds the ability to pre-define filter criteria and attach those filters at both a class and a collection level. What's a "pre-defined filter criteria"? Well, it's the ability to define a limit clause very similiar to the existing "where" attribute available on the class and various collection elements. Except these filter conditions can be parameterized! The application can then make the decision at runtime whether given filters should be enabled and what their parameter values sho
  • Jump into JavaFX

    2008-11-10 20:23:35   /   WEB程序开发

    JavaFX seems like a viable alternative for RIA development, but you need to write, build, and run some scripts to know whether it's for you. In this article (the first in a short series), Jeff Friesen introduces you to the JavaFX Preview SDK. Get installation instructions for JavaFX with NetBeans 6.1, create a Hello World script, and explore scalable vector graphics conversion and rendering using Project Nile. Level: Beginner.It is remarkable to realize that one year ago we could only exp
  • Mule: A Case Study

    2008-11-09 09:58:49   /   Java企业开发

    The buzzword du jour in services oriented architectures is ESB. Enterprise service buses are the preferred tools for integrating systems with heterogeneous data interchange interfaces and based on a wide array of technologies, from COBOL to CORBA to JEE. This article is an introduction to ESBs and enterprise integration using Mule, the open-source ESB.Why Are ESBs Needed?Major vendors first sold message queuing as the ultimate interoperability solution, then SOAP and REST, before realiz
  • Defining Your Object Model with JPA

    2008-11-09 09:48:55   /   Java web开发及框架技术

    In the perfect world, your object model would map seamlessly to your database schema. Most organizations however, have database naming standards, requirements for how relationships are modeled and columns that all tables must have.The following example will show how to use JPA in a real-world scenario. You’ve been asked to quickly mock up a simple blog application; here are your constraints:All database table names are uppercase, words separated by an underscore (“_”)All table
  • Binding XML to Java

    2008-11-07 22:43:24   /   Java web开发及框架技术

    IntroductionManipulating XML data easily and efficiently in Java remains an important problem. Numerous approaches to XML binding exist in the industry, including DOM, JAXB, XML Beans, Castor, SDO and so on. In this article we will explore how the Eclipse Modeling Framework, EMF, solves the XML binding problem in a number of interesting ways, and we'll compare that to the alternatives.The model that is used to represent models in EMF is called Ecore, and since Ecore is itself a model,
  • ZK Rich Client Framework and Agile Development

    2008-11-07 22:40:09   /   WEB程序开发

    IntroductionThis article has two parts – a discussion followed by a tutorial.In the discussion, I will explain why rich client frameworks in general, and ZK in particular, not only allow for more pleasing, powerful UIs, but aid in applying an “Agile” development methodology. The discussion is based on the real experience of my firm which has been programming business applications with both “32-bit” and traditional web GUIs for years, but over the last year has implemented a shift t
  • Building with WebWork2

    2008-11-06 22:56:25   /   WEB程序开发

    IntroductionOther Articles in the Framework SeriesIntroduction to MaverickIntroducing the Spring FrameworkKeel: The Next Generation Meta-FrameworkWebWork is a Model 2 MVC web framework created by the OpenSymphony team which includes folks like Jason Carreira, Pat Lightbody, Mike Cannon-Brookes, Hani Suleiman and many more. Having already gained considerable reputation with their current 1.x release the team broke out and has been working on a 2.x version which already has a
  • Introducing Axiom

    2008-11-05 23:27:36   /   Java企业开发

    IntroductionAn XML Object model should be memory efficient and fast in processing XML. These two goals are very difficult to satisfy with the technologies that exist so far. However, with the introduction of StAX (Streaming API for XML), these goals are no longer difficult to implement. The Apache Web services community was also searching for a fast-performing and memory-efficient object model for their next generation Web service engine, Axis2. AXIOM (Apache aXIs Object Model) was the impl
  • Understanding Tomcat Security

    2008-11-05 23:25:15   /   WEB程序开发

    Understanding Tomcat Security
  • Maven Magic

    2008-11-05 23:16:11   /   WEB程序开发

    IntroductionMaven is a high-level, intelligent project management, build and deployment tool from the Apache project. There is nothing that Maven does that Ant cannot do. Ant gives the ultimate power and flexibility in build and deployment to the developer. Why do you need Maven then? Maven adds a layer of abstraction above Ant (and uses Jelly). Maven can be used to build any Java application, but in this article we will investigate the applicability of Maven from a J2EE standpoint. J2EE bu
  • JSF Anti-Patterns and Pitfalls

    2008-11-05 23:11:12   /   WEB程序开发

    This article covers anti-patterns and pitfalls of day to day JSF development. Most of these issues have kept the author up at night; some of these are the same old challenges with a new face, pun intended. These challenges include performance, tight coupling, thread safety, security, interoperability and just plain ugliness.The Validating SetterConstructors are a good place to put validation logic for a domain model. In a perfect world every XML marshalling framework, object-relational
  • Using JAAS for Authorization & Authentication

    2008-11-03 19:16:58   /   Java web开发及框架技术

    IntroductionThis paper explains how to use the Java Authentication and Authorization API (JAAS). It plugs JAAS into the Struts framework. Though this paper focuses on Struts, and in particular the example application distributed with Struts, the lessons learned should be applicable to any MVC web framework.In addition, while there are many articles on authentication with JAAS [1], [2] , using the API for authorization is relatively undocumented [3]. This paper will show how to use JAAS
  • Advanced Classloading in J2EE

    2008-11-03 19:11:54   /   WEB程序开发

    Introduction and MotivationClassloading can be one of the nasty issues in a J2EE environment. Questions come to mind like: How to integrate with 3rd party libraries, which have conflicting classes, how to use remote stubs, etc.This article will describe an especially sophisticated classloading system that combines ease of use with efficiency and compliant behaviour in order to deal with the mentioned questions. This classloading approach also contains a mechanism to separate internally
  • The road to jBI

    2008-11-03 19:10:58   /   WEB程序开发

    The increasing adoption of SOA principles and integration/ESB technologies also encompasses efforts to create standards around various aspects of SOA (e.g., JMS for messaging and transport, WS-* for communication via Web Services, etc.). While standards are good for IT in general, not all standards are created equal. The standards creation process can often fall victim to competing vendor factions, or can result in a Frankenstein of compromises. Good or bad, it is ultimately user adoption tha
  • The Benefits of Java EE5

    2008-11-02 21:52:41   /   Java web开发及框架技术

    From its inception more than a decade ago, the Java platform has matured considerably making it the preferred choice of many professionals & organizations for developing applications. In its most recent version for the enterprise -- dubbed Java EE 5 -- its designers have placed a special emphasis on doing more with less, so whether you're a seasoned expert or just starting out, it's likely you will find some fresh approaches that will simplify and ease your development efforts � this a
  • JAVA AND THE EMPOWERED DB

    2008-11-02 21:48:38   /   WEB程序开发

    Introducing R/O Mapping - A concept to have more business logic in the database and reduce the amount of Java code that deals with database issuesThe connection between object-oriented systems and relational databases is commonly solved by employing a so-called O/R mapping (ORM) framework whose goal it is to map object-oriented models to entity relationship models which are used, often generated, in relational databases. The bridging between two entirely different modelling techniques resul
  • BPEL AND JAVA

    2008-11-02 21:43:58   /   WEB程序开发

    April 2005Discuss this ArticleIntroductionThe idea and motivation behind almost each new technology and platform for enterprise application development is to provide an environment where better business applications can be developed with less effort –business applications which should closely align to the business processes, which should not be too complex, and which can be adapted to the changing nature of business processes without too much effort.Java has provided an e

我的存档

数据统计

  • 访问量: 2100
  • 日志数: 62
  • 建立时间: 2008-01-07
  • 更新时间: 2008-01-08

RSS订阅

Open Toolbar