|
|
Scheduling Jobs in a Java Web Application Web application frameworks are built to service requests when they come in, typically from web users. This seems fine, but what if you need to execute code at specific times (for example, to generate reports in the middle of the night when CPU use is low)? Quartz provides best-of-breed Java scheduling functionality, and in this article, Chris Hardin shows how to get Struts to load up Quartz and your scheduled work. [Java] Getting Started with Maven In this excerpt from Maven: A Developer's Notebook, authors Vincent Massol and Timothy M. O'Brien show you how to install and start working with Maven, the do-it-all Java project builder/manager. [ONJava.com]
Managing Applications with HP OpenView Java Management Extensions are an ideal way to instrument applications so that they can be embedded in a managed environment, providing peace of mind to line-of-business managers. In this tutorial, Grace Lin introduces the basic ideas behind JMX, and shows how you can use JMX Metric Builder and HP OpenView to monitor applications. [dev2dev Articles] Integrating Ant with Eclipse, Part 2 It's one thing to be able to run Ant builds from within Eclipse, but the integration of the top Java build tool and IDE goes deeper than this. In this excerpt from Ant: The Definitive Guide, 2nd Edition, Steve Holzner shows how to customize your Ant/Eclipse integration. [Java] Asynchronous Messaging Made Easy With Spring JMS Java Messaging Service (JMS) requires a lot of work to set up sessions and manage messages, work that can distract you from your application-specific logic. The Spring framework's SpringJMS offers a simpler solution that keeps the JMS administration out of your face. Srini Penchikala takes a look. [Java]
Distributing the Future Playing Together Nicely: Getting REST and SOAP to Share Each Other's Toys Convincing your colleagues and clients to consider a RESTful approach to SOA is difficult when the accepted standard is SOAP-style services. In this article, Jason R. Briggs introduces a SOAP interface that can be used to deliver SOAP messages from REST resources. [Java] Integrating Ant with Eclipse, Part 1 Ant and Eclipse are the top Java build system and IDE, both by wide margins, so it's only natural you'd want to integrate them. In this excerpt from Ant: The Definitive Guide, 2nd Edition, Steve Holzner shows how to create and run Ant build.xml files from within Eclipse. [Java] Successfully Planning for SOA: Long-term SOA Planning In this final article in the Successfully Planning for SOA series, David Groves examines three aspects of the BEA Domain Model: Building Blocks, Projects and Applications, and Organization and Governance, with a focus on how to integrate them into your long-term SOA planning. [dev2dev Articles] Using Spring with JDO and Hibernate Everyone knows about Hibernate, but what about Java Data Objects? Both of these object-relational persistence frameworks are well supported by Spring, and in this excerpt from Spring: A Developer's Notebook, Bruce Tate and Justin Gehtland show you the advantages of each and how to integrate them with Spring. [Java] J2EE Without the Application Server J2EE apps sound big because they usually are big, running on big enterprise-class application servers--servers that often provide a lot of functionality that you don't really want or need. In this article, Guy Pardon advocates a mix-and-match approach to combining Spring with best-of-breed persistence and transaction frameworks to build enterprise applications without a traditional J2EE app server. [Java]
XML Annoyances What Is a Portlet, Part 2 Portlets aim to be your next desktop, providing small pieces of web-based functionality that can be aggregated on a portal page. In this article, Sunil Patil delves deeper into the JSR-168 portlet spec by showing off edit mode, JSP integration, the portlet tag library and preferences API, and Pluto's admin console. [Java] The Java Podcasters, Part 2 In this second article on Java-oriented podcasting, some more unique voices are featured, including a single-product podcast, and an amusing show that kicks back its feet and declares itself "drunk and retired". In this article, we interview the voices behind the ZDot, NetBeans Podcast, and DrunkAndRetired.com podcasts. [Java] Developing Ajax Applications That Preserve Standard Browser Functionality Ajax applications are praised for their richness, interactivity, and responsiveness, which are achieved by loading data asynchronously using the XMLHttpRequest object instead of loading new pages. In this article, Mark Schiefelbein shows how to preserve standard browser history functionality while taking advantage of these Ajax features. [dev2dev Articles] The Java Podcasters, Part 1 As podcasting takes off, a number of podcasts specifically tailored to the Java developer have become available. Ranging from the serious to the silly, covering the whole Java realm or just a single product, there seems to be something for every developer with a set of headphones. In this article, we interview the voices behind the Swampcast and Java Posse podcasts. [Java] Twelve Best Practices For Spring XML Configurations Spring is powerful and popular, but in practice, the configuration files it needs for beans, dependencies, and services can quickly become confusing and hard to maintain. Jason Zhicheng Li offers some real-world advice on how to keep control of your configs. [Java] Designing A Successful Portal Deployment Deploying a portal is easy, but how do you design it to provide lasting business benefits? Quinton Wall provides some sound advice on this topic, ranging from using your content management system effectively, to building a healthy community. [dev2dev Articles] Using Lucene to Search Java Source Code Most uses of the Java-based Lucene search engine are for searching typical text documents. But what if you want to search Java code itself? Renuka Sindhgatta argues that this would be a boon for finding reusable code, and shows how to adapt Lucene to parse Java code for maximum searchability. [Java] Spring: Integrating iBATIS iBATIS is one of the object-relational (OR) frameworks embraced by the Spring framework, and it's an ideal choice for those seeking a middle ground between full-blown OR and hand-written JDBC. In this excerpt from Spring: A Developer's Notebook, Bruce Tate and Justin Gehtland show how to integrate iBATIS with Spring. [O'Reilly Network] There Is No Open Source Community Conventional wisdom argues that open source success is the result of individual iconoclasts who work against the economic grain to institute a methodology of sharing. That's nice--but it ignores strong economic trends that push open source development and adoption. John Mark Walker explains why the myth of the open source community is wrong and even harmful to business. [ONLamp] An Exception Handling Framework for J2EE Applications One common hassle in J2EE development is exception handling: many apps devolve into a mess of inconsistent and unreliable handling of errors. In this article, ShriKant Vashishtha introduces a strategy for predictably collecting your exception handling in one place. [Java] Maven Project Reporting and Publishing, Part 2 Maven helps you not only with building and tracking your project, but also with releasing it. In this second excerpt from Maven: A Developer's Notebook, authors Vincent Massol and Timothy M. O'Brien show how Maven can publish artifacts like JAR/WAR/EAR files, automate announcements, generate changelogs, and publish a project website. [Java] Using the Spring AOP Framework with EJB Components EJB components can comfortably coexist with the Spring Framework. In this article, Eugene Kuleshov shows how, and demonstrates how this naturally leads to a wealth of additional functionality that can be transparently added using AOP. [dev2dev Articles] Using Dependency Injection in Java EE 5.0 Dependency injection, also known as inversion of control, is a programming technique being adopted by many programmers and frameworks, including the popular Spring framework. But using it in J2EE 1.4 requires a burdensome deployment-descriptor-based approach. Debu Panda shows how Java EE 5.0 provides relief in the form of annotations-based dependency injection. [Java] Maven Project Reporting and Publishing, Part 1 Maven's not just about building; it's about viewing, understanding, and managing your projects. In this first part of a two-part excerpt from Maven: A Developer's Notebook, authors Vincent Massol and Timothy M. O'Brien introduce Maven's reporting features for issue tracking, dependencies, code style, and more. [Java] Experiences with the New Java 5 Language Features Jess Garms and Tim Hanson recently worked on a Java 5 compiler. In this article, they document some of their experiences with the new language features, and include tips and best practices for using the features in your programming. [dev2dev Articles] Using Global/Distributed Transactions in Java/JDBC with Oracle Real Application Clusters Maintaining transaction integrity, and rolling back failed steps, becomes more difficult on a cluster. One option is to move some of the load balancing decisions to your code, and accounting for which cluster nodes you're using. Sachin Shetty shows how this works in the context of an Oracle Real Application Cluster. [Java] ONJava: 2005 Year in Review 2005 may not have seen a new version of Java, but it was a year of tremendous activity that saw Java assert its popularity, even while some wondered how well-suited Java is for its second decade. In this article, ONJava editor Chris Adamson wraps up the year in Java by looking back at some of the year's most popular articles. [Java] Bug Trackers: Do They Really All Suck? The most complained-about development tool is often the bug tracking system. Matthew B. Doar, author of Practical Development Environments, offers advice on what to do about some of the most common frustrations with bug trackers, such as tracking bugs in multiple releases; tracking files affected by a bug; and more. [O'Reilly Network] Killer Game Programming in Java: A 3D Checkerboard, Part 2 In part one of this two-part excerpt from Killer Game Programming in Java, author Andrew Davison strode through some complex programming issues for developing Java 3D graphics, such as how to add shapes, lighting, and backgrounds to a Checkers3D application. Here in part two, Andrew continues the theme by demonstrating how to create a floating sphere for the Checkers3D app. [Java]
Hibernate Class Generation Using hbm2java
Hibernate uses mapping files to express the mapping of Java classes to database tables. In a complex project, keeping mappings in sync with your Java code can be burdensome and error-prone. Fortunately, the Through Project Looking Glass with Hideya Kawahara 3D has taken over video gaming. When will it take over mundane computing areas such as file managers, word processors, and desktop environments? Maybe soon, if Hideya Kawahara and the Project Looking Glass team have their way. John Littler explores the ideas, implementations, and possibilities of 3D interfaces in this interview. [Linux] Lightweight R/O Mapping O/R frameworks map Java classes to database tables and SQL code. While popular, this approach is unpopular among DBAs, with the database at the mercy of an external tool. Another approach is to go the other direction: write tables and stored procedures and generate Java classes from that. Norbert Ehreke introduces Amber, a framework that embodies this approach. [Java] Killer Game Programming in Java: A 3D Checkerboard, Part 1 Our book excerpt today is for all you Java gamers, especially the 3D junkies--we know you're out there. In part one of a two-part series taken from Chapter 15 of Killer Game Programming in Java, author Andrew Davison describes how to create a scene in a Checkers3D application, using Java 3D. And check back next week when Andrew shows how to create a floating sphere for the Checkers3D app. [Java] Using and hacking Subclipse - the Subversion plugin for Eclipse Subversion is a compelling replacement for the CVS version control system. This article shows how to access a Subversion repository (such as CodeShare) using the Subclipe Eclipse plug-in, and how to extend the plug-in itself. [dev2dev Articles] |
|
|
|
TheServerSide Java Symposium is near The forthcoming, 4th Annual TheServerSide Java Symposium will be held from March 23 to March… Steve Anglin Proper handling of database-related exceptions This is the issue that I keep running into on various projects, so even if… Dejan Bosanac Word of the Day: Contradistinction The Word of the Day today from Dictionary.com is "Contradistinction". It means "Distinction by contrast".… Timothy M. O'Brien Everybody's Everything by Chris Adamson [java.net weblogs] Derby and Amazon S3? by David Van Couvering [java.net weblogs] Spicing up your JTabbedPane - part III by Kirill Grouchnikov [java.net weblogs]
There are no current events at this time. > More |
|
Sponsored by: |
||||||||||||||||||