-
2008-11-23 19:17:13
/ Java web开发及框架技术
Scenario 1:Imagine we have a 3rd party JAR in our application plug-in's lib directory, and necessary CLASSPATH added so that it's classes may be used in our code.Most of these code libraries allow dynamic loading of classes. In order to get that through with Eclipse,most of us are aware of the trick:Thread currentThread = Thread.currentThread();ClassLoader oldLoader = currentThread.getContextClassLoader();try{currentThread.setContextClassLoader( XyzTest.class.getClassL
查看(12)
评论(2)
-
2008-11-22 08:42:51
/ Java web开发及框架技术
大多数 Java™ 编程语言开发人员通过作为 IDE 的功能认识了 Eclipse。Eclipse IDE 实际上由叫做插件 的交互式组件的集合组成。这些插件组成了 IDE 的基础,它们还可用于创建其他桌面应用程序。创建基于 Eclipse 的应用程序所需的最小插件集称为 Eclipse Rich Client Platform(RCP)。但是,插件本身不能启动。它们需要在一个环境中启动和操作。Eclipse 使用 OSGi R4 规范的实现提供了该环境。因为 Eclipse 在本质上是由 OSGi 驱动的,因此必须了解 Eclipse 插件的概念与 OSGi 框架有什么关系。在本文中,我将通过描述对 Ecli
查看(67)
评论(10)
-
2008-11-21 23:12:13
/ Java web开发及框架技术
The eviware team has released soapUI 2.5, the REST Release.soapUI 2.5, by eviware, introduces support for testing of RESTful services, including Inspection, Invocation, Functional Tests, Assertions and LoadTests. soapUI 2.5 allows tests of both WADL supported and WADLess RESTful Services. The REST testing support makes soapUI the first testing tool to properly support REST Testing.soapUI 2.5 also includes WADL generation and from WADLess services and Documentation generation from both
查看(34)
评论(1)
-
2008-11-21 23:10:58
/ Java web开发及框架技术
New features include a robust IDE for PHP, JavaScript debugging for Firefox and IE, and support for Groovy and Grails. NetBeans IDE 6.5 also delivers a number of enhancements for Java, Ruby on Rails, and C/C++ development. Java highlights include: built-in support for Hibernate, Eclipse project import, and compile on save.Combining an excellent out-of-the-box experience, compelling features, and a great plug-in ecosystem, NetBeans IDE 6.5 is a must- download for all developers.Downloa
查看(38)
评论(1)
-
2008-11-21 23:02:43
/ Java web开发及框架技术
ANT's finally a real build toolLike many other people, I've had a love-hate relationship with ANT for sometime now. On the plus side, ANT did away with a whole lotta nastiness that was associated with Make files. The tabs, the colons, the incompatibilities across operating systems, the embedded shell script hacks - all that is gone now. But unfortunately, ANT didn't exactly usher in a golden age of build systems. It's got its own quirks and flaws and design oddities that we've had to live w
查看(36)
评论(3)
-
2008-11-21 23:01:51
/ Java企业开发
The long awaited EJB3 specification draft was released last week, and after a long wait, we finally have something we can poke at and discuss.Expert Group ThanksBefore launching into the shortcomings of this draft, I'd like to publicly thank the expert group for the excellent work they've done.It's clear from even the most casual glances that EJB3 is exciting stuff that is a bold step forward, and will hopefully silence many of the EJB detractors and bring them back into the fold!
查看(49)
评论(3)
-
2008-11-19 22:39:17
/ WEB程序开发
IntroductionMy book Art of Java Web Development covers several different Model 2 web frameworks. One of the frameworks is Cocoon. Cocoon is more than one type of framework. It provides some of the same facilities as the other web frameworks, but Cocoon contains an entire additional personality: that of a publishing framework . Cocoon automatically transforms documents based on the request context. It presents a new kind of application service, leveraging XML technologies to create web sites
查看(51)
评论(6)
-
2008-11-19 22:33:32
/ Java企业开发
Quartz is an open source enterprise job scheduler from Open Symphony project. For details and downloading Quartz please look at http://www.quartzscheduler.org/quartz/. You can use Quartz to schedule jobs in your J2EE applications such as EJBs. This article will describe Quartz can be used in your J2EE applications to schedule cron like jobs. This will include how to configure Quartz in J2EE containers taking Oracle Application Server 10g Containers for J2EE (OC4J 9.0.4) as an example.Qua
查看(72)
评论(3)
-
2008-11-19 22:29:34
/ WEB程序开发
EmberIO - Dispelling NIO MythsApparently I've gotten XA stuff completely out of my system - and now I'm in a full-blown NIO obsession to compensate :-). I'm talking about EmberIO, of course, which as I briefly reported yesterday has been released on Sourceforge at version 0.3 Alpha. This blog entry will talk some more about EmberIO's strengths, more about the vision behind it, and try to show where EmberIO succeeds where other similar attempts have failed in the past.To review, the main
查看(40)
评论(2)
-
2008-11-19 22:27:52
/ WEB程序开发
GMaps4JSF aims at integrating Google maps with JavaServer Faces (JSF). JSF users will be also able to construct complex street view panoramas and maps with just few JSF tags. They would also be able to attach different components (markers, information texts , controls, ground overlays, polygons, polylines) to the map easily. GMaps4JSF also allows attaching different events to the components without writing JavaScript code to bind the event with the component. JSF users will write JavaScript c
查看(41)
评论(0)
-
2008-11-17 20:22:08
/ 电子图书与IT文档资料
Maxim Russia 2008-02.part01
查看(703)
评论(25)
-
2008-11-17 19:19:51
/ WEB程序开发
Before diving into the object-oriented features of JavaScript, let's first take a look at some of the basics. This chapter walks you through:The primitive data types in JavaScript, such as strings and numbersArraysCommon operators, such as +, -, delete, and typeofFlow control statements, such as loops and if-else conditionsVariablesVariables are used to store data. When writing programs, it is convenient to use variables instead of the actual data, as it's much easier to w
查看(112)
评论(22)
-
2008-11-17 11:04:00
/ Java web开发及框架技术
As someone remarked elsewhere, there's a strange phenomenon regarding buses: you wait ages for one, then three come along at once! The same seems to be true for JAX-RS implementations. At the moment we have:CXF - which is a merger between XFire and Celtix (an Open Source ESB, sponsored by IONA and originally hosted at ObjectWeb).Jersey - the JAX-RS Reference Implementation from Sun.RESTEasy - JBoss's JAX-RS project.Restlet - probably the first REST framework, which existed prior to JA
查看(50)
评论(2)
-
2008-11-15 08:34:37
/ Java企业开发
PrefaceMore and more mission-critical and large scale applications are now running on Java 2, Enterprise Edition (J2EE). Those mission-critical applications such as banking and billing ask for more high availability (HA), while those large scale systems such as Google and Yahoo ask for more scalability. The importance of high availability and scalability in today's increasingly inter-connected world can be proved by a well known incident: a 22-hour service outage of eBay in June 1999, caus
查看(269)
评论(28)
-
2008-11-15 08:33:22
/ Java企业开发
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
查看(86)
评论(1)
-
2008-11-14 20:05:16
/ 电子图书与IT文档资料
Maxim_2006泳装特辑.part1
查看(1119)
评论(44)
-
2008-11-13 21:16:30
/ 电子图书与IT文档资料
Maxim Kalender 2008 by xmac.part1
查看(167)
评论(5)
-
2008-11-11 22:16:37
/ Java web开发及框架技术
Since the first version of this article was published in October, 2003, the Spring Framework has steadily grown in popularity. It has progressed through version 1.0 final to the present 1.2, and has been adopted in a wide range of industries and projects. In this article, I'll try to explain what Spring sets out to achieve, and how I believe it can help you to develop J2EE applications.Yet another framework?You may be thinking "not another framework." Why should you read this article, o
查看(153)
评论(19)