- +
Ticked Off at Tick the Box Mentality 04/02/2008 13:01:15
Does your executive search firm know the difference between an MIS manager and a CIO, and if it does, can it explain that difference to its corporate clients?Does your executive search firm know its MIS managers from its elbow? Does it even know the difference between an MIS manager and a CIO, and if it does, can it explain that difference to its corporate clients? - +
Strategies for Dealing With IT Complexity 24/12/2007 10:30:47
Every innovation, every business process improvement, comes with an IT complexity tax that must be paid by CIOs in time, money and sweat. Here are strategies to mitigate the increasing complexity of IT as it enables new business.Every innovation, every business process improvement, comes with an IT complexity tax that must be paid by CIOs in time, money and sweat. Here are strategies to mitigate the increasing complexity of IT as it enables new business. - +
9 Paths to Higher Performance 10/12/2007 14:09:23
When an organization brings together talented people in a creative, collaborative environment it fosters a culture of high performance, which in turn leads to superior business resultsLike high-achieving individuals, some organizations seem to have the Midas touch. Virtually every initiative they touch earns them gold and even those that fail never seem to cost them much of anything at all
Read up on the latest ideas and technologies from companies that sell hardware, software and services. Strategies for Eliminating .PST Files
Email Archiving 101—Customer Case Study
Vendor Influence Curves And How You Can Get The Best Value Out Of Your Network
How to Beef Up Your Sales Pipeline
Cutting printer costs
Mimosa™ NearPoint™ for Microsoft® Exchange Server: Email Archiving 101
Web Security SaaS: The Next Generation of Web Security
Solve Exchange Storage Problems Once and For All: A New Approach without Stubs or Links
Zones provide focussed content from Computerworld and leading technology partners.Newsletter Subscription
Rod Johnson holds a prominent status in the Java development community. He is the founder of the Spring Framework for Java, a consultant and author. He wrote the books, Expert One-on-One J2EE Design and Development and Expert One-on-One J2EE Development without EJB. He also is CEO of Interface21, an international consulting firm. InfoWorld Editor at Large Paul Krill spoke with Johnson during TheServerSide Java Symposium in Las Vegas last week about topics such as simplifying and open sourcing Java, aspect-oriented programming, the Spring Framework, and how .Net stacks up as a competitor to Java.
What obstacles do you see to simplifying Java programming and how much simplification does it need?
In terms of simplification, I think the Java language itself did a pretty good job of simplifying a lot of constructs, certainly compared to the history behind it with C++. And I think that [with] Java 5, the language level continues that. In terms of where we find the greatest complexity, it's really in the area of server-side Java, and I think we've made huge progress in the last few years towards POJO-based (Plain Old Java Objects) development. I think that certainly the reality is server-side Java development today is much simpler than it was with the original J2EE model.
What are the main benefits of aspect-oriented programming and why should developers hop on the bandwagon if they haven't already done so?
The main benefit of aspect-oriented programming is that it complements object-oriented programming. Object-oriented programming has spread into a very, very successful paradigm, and one of the great things about it is the way in which it helps you foster reuse and remove duplication. So, for example, if you have an account class and you [extend] from that savings account, checking account, credit account, etc., you have a very nice way of using that hierarchy to encapsulate logic that you want to reuse. Where it does, fall down, however, [is] in addressing what we call crosscutting concerns. Crosscutting concerns are pieces of functionality that may apply to a whole system that would, if they're implemented in the traditional object-oriented way, affect multiple classes and methods. Let's take, as an example, the notion of auditing. There is, of course, the ability to have helper functionality in a base class, like a base account class, that will, for example, run auditing behavior. But what happens if we say that every method that can lead to a change in the state of the savings account should be audited? There is no way in classic OO-modeling to avoid duplication in doing that. You will end up with the auditing code scattered between multiple methods. And of course it gets much worse when you say that auditing should apply to savings accounts, that it also should apply to different areas of functionality, such as inventories, addresses, etc. The problem of duplication becomes still worse. So aspect-oriented programming introduces the concept of an aspect. An aspect really is a way of modularizing the code that will apply a crosscutting concern. [With] the Spring Framework, the transaction management and security are delivered by an aspect approach, so users are not necessarily forced to explicitly work with OOP constructs, but they nevertheless benefit from this modularization of code that would otherwise be scattered.
Explain your role in the development of the Spring Framework. And could you briefly compare Spring to other frameworks, such as JavaServer Faces and WebWork?
The Spring Framework grew out of my first book on J2EE, Expert One-on-One J2EE Design and Development, which was published in late-2002. That book really helped to start what we might call the lightweight revolution in J2EE. It really argued that the traditional model was way too complex, and with the book I actually published 30,000 lines of code, which was originally intended to show my view on how things could be done in a simpler way through an application framework. But of course, many readers became very interested in this and quickly I was persuaded to make it an open-source project. So development started in earnest in early-2003. Compared to other frameworks, Spring really created a niche for itself. So Spring is what we call an application framework, and it actually addresses multiple architectural tiers. So if you look at frameworks [such as] Struts or WebWork, they more often than not just address one architectural layer. So Struts and WebWork are both Web frameworks. Compared to JSF, Spring and JSF are not really in the same space. JSF is essentially a component model for rendering Web resources, whereas Spring is more a framework that aims to bring an overall structure and coherency to your application as a whole. So Spring actually can be used with JSF. Spring does provide its own MVC (Model-View Controller) Web framework, which I guess can be regarded as being in the same space as Struts and WebWork, but on the other hand, Spring is a modular framework.
You once said the Java Community Process reminds you of an old Soviet-style planned economy. Could you elaborate on that?
I think [it was in] the traditional approach, and in fairness to the JCP, I think this has begun to change now. But the traditional approach involved a committee, which was more often than not dominated by vendors, defining essentially the programming model. The problem with this approach was that it really wasn't based on either competition or experience. So more often than not, you [found that] really quite complex programming models, such as the original EJB (Enterprise JavaBeans) programming model, were defined by groups of people who did not actually develop applications. So they developed servers. They were highly skilled and highly intelligent people, but that's not the same thing as being regularly exposed to what people were doing in banks and all the real businesses that actually used this software. So the reason that I referred to the notion of capitalism versus the Soviet system is that the effect of this was that there was something that was mandated. This was the way you were going to do it for the next few years. And it meant that if the approach was not a good approach, it would actually survive for a long time. And it also meant that there wasn't that much opportunity for the kind of innovation that we see, for example, in business or where you get a lot of competition forcing people to [lift] their [game] and innovate.
Computerworld Member Login
Discover how SOA can create smarter outcomes for your business.
Attend and learn:
- How SOA is helping leading companies to become more agile
- Where you should be applying SOA processes in your company
- The top SOA implementation mistakes to avoid
Click here for more information.
- +
Computerworld Live Podcast #97: The Future of Enterprise Networking 25/07/2008 09:45:36
This week CW Live chats with Mark Thompson, global sales and marketing manager for HP ProCurve, on the future of the enterprise networking. Mark discusses the trends we can expect to see in the near future and how the right infrastructure can ensure your enterprise network is secure. - +
Computerworld Live Podcast #96: Security at the Edge 11/06/2008 09:22:22
CW Live speaks with Amol Mitra, HP ProCurve Director of Marketing for Asia Pacific and Japan. Today's topic: how enterprises are starting to shift away from simply controlling security via server logins, firewalls and moving to more adaptive security frameworks. - +
Data Management Edition #10: Multi-Petascale Systems 02/05/2008 09:12:33
This week we look at sustainability and the development of multicore technologies to build multi-petascale systems. - +
IT Security Edition #11: How to poison the Storm botnet 01/05/2008 08:51:55
This week CW Live presents a case study on how to poison the notorious Storm botnet . Plus we take a look at Cisco's plans for Ironport. - +
IT Security Edition #10: Cyber-battles fought and won 24/04/2008 11:09:47
Vendors bow to end user pressure to improve product security, and we take a look at the latest concepts shaping the cyber-battlefield of the future.
F-Secure achieves excellent results in Internet security suite comparison 2008-10-10 14:37:00+10
M2M Connectivity announces the new Sierra Wireless MC8792V embedded module for 900 MHz 3G/HSPA networks 2008-10-10 08:51:00+10
Pitney Bowes MapInfo Launches New Version of AnySite 2008-10-10 05:58:00+10
IOGEAR Gears Up in Australia 2008-10-09 20:18:00+10
Internet Service Providers offer new unlimited Online Backup from F-Secure 2008-10-09 19:42:00+10
Choices in Storage Architecture for Oracle Environments
Database systems have always been at the core of the IT landscape. Not only is storage an increasingly large cost component of database investments, but storage architecture can significantly and directly impact the performance, availability, and recovery of data. Read on to explore the interaction between Oracle databases and EMC and Network Appliance storage architectures.










