New-age Transactional Systems - Not Your Grandpa's OLTP
John Hugg discusses high volume transaction processing applications with high and low frequency profiles, and how VoltDB can be used for that purpose.
The content has been bookmarked!
There was an error bookmarking this content! Please retry.
Posted by Scott Delap on Sep 24, 2007
The first article in the series provides an introduction to the technology:
...Web Beans is a component model that is compatible with technologies in both tiers. Web Beans integrates with both JSF and EJB3, allowing an EJB3 session bean to act as a JSF managed bean, thus unifying the two component models. Additionally, Web Beans provides a conversation model and persistence context management, thereby solving state management problems and optimistic transaction management problems that affect JSF and JPA...A Web Bean is an application component containing business logic. A Web Bean may be called directly from Java code, or it may be invoked via Unified EL. A Web Bean may access transactional resources. Dependencies between Web Beans are managed automatically by the Web Beans container. Most Web Beans are stateful and contextual. The lifecycle of a Web Bean is always managed by the container...
The second article in the series covers the injection, binding annotations, and component types of the specification. Supported injection types are:
The third article in the series provides examples of declaring components via XML instead of annotations. Finally King covers scopes, contexts, and resolver methods. With available scope types as follows:
Expectedly such a large amount of content has created a similar amount of commentary. One of the more interesting observations is:
There's been a lot of talk over the past few years that perhaps Interface 21 should push to formally make the Spring Framework a part of the JEE specs -- it seemed like it might be possible with Rod Johnson officially declaring his support for JEE 6... well it looks like "Crazy" Bob Lee and the team behind Guice may have found a back door to get themselves into the party first -- according to a new series of articles about the upcoming Web Beans, the new spec is actually influenced by a combination of Seam and Guice ... I find these articles interesting in that Google has apparently taken the JBoss approach to supporting the JCP -- that is, create an independent product to fill a whole in the JEE specs, and then use the JCP to make that product into a spec itself (take a look at the JPA for a previous example)...
Similar comments can be found with the articles themselves:
Interesting - the tie in to Seam is obvious, but this is the first I've seen of any involvement from the Guice team... I can't help but wonder if the term 'Web Beans' is accurate...
To which King replies:
Probably, Seam will eventually be split into two layers. 1) The core component engine, which will evolve into the Web Beans RI 2) The framework layer which will provide all the built-in components, JSF components, etc ... Bob has contributed a huge amount of effort and ideas to the specification.
Using Drools? See what you're missing! Get the Power of Drools with the Assurance of Red Hat
Improve Java Garbage Collection, Runtime Execution, and JVM visibility with Zing
18 agile and lean practices for effective software development governance
Seems like some writers / editors hit post before fact-checking. Someone just outta college or sumthin?!? ;-D
Seems like some writers / editors hit post before fact-checking. Someone just outta college or sumthin?!? ;-D
Hi gcom nz, first of all, would you please update your preferences with your real name? We'd like InfoQ to be a place for serious discussion. Second, please note that it was Gavin who said that web beans was influenced by Guice, in part 1 of his blog series, Gavin said: "The component model is deeply influenced by Google Guice and Seam."
thanks,
Floyd
John Hugg discusses high volume transaction processing applications with high and low frequency profiles, and how VoltDB can be used for that purpose.
Kevlin Henney examines code samples to see what can be learned from them starting from the premise that one won’t write great code unless he knows how to read it.
Jason Ayers share the observations he made watching a team of developers collaborating in real time on the same code base, pushing XP, pair programming and continuous integration to their extremes.
Michael Snoyman presents Yesod, a web framework written in Haskell and containing a web server, templating, ORM, libraries (templating, gravatar, etc.).
Richard Kreuter and Kyle Banker on how to avoid classical RDBMS transactional systems by using compensation mechanisms, transactional messaging or transactional procedures.
Attila Szegedi talks about performance tuning Java and Scala programs at Twitter: how to approach GC problems, the importance of asynchronous I/O, when to use MySQL/Cassandra/Redis, and much more.
One category of risk that project teams need to ensure they address is business value failure – delivering a product that fails to provide value for the business investor.
InfoQ spoke to the authors of Software Systems Architecture on a couple of new topics, the System Context viewpoint and Agile, which have been added to the second edition.
2 comments
Watch Thread Reply