Online Server Support

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg
Showing posts with label java. Show all posts
Showing posts with label java. Show all posts

Thursday, 2 August 2007

Google Developer Podcast Episode Six: The Hibernate Shards Open Source Project

Posted on 09:49 by Unknown
By Dion Almaer, Google Developer Programs
Using iTunes?


Max Ross and Maulik Shah were part of a core group that worked on the recently open sourced Hibernate Shards project.

In the podcast you will learn:
  • What sharding is and what it means in the world of Hibernate
  • How the word "shards" is common at Google (the equivalent of "smurf" in The Smurfs)
  • Why you would want to shard your data to give you increased scalable performance
  • How the Hibernate Shards project doesn't mess with the core APIs, allowing you to add sharding unobtrusively
  • What you need to think about if you want to shard your data, and how you can design a schema that has a dimension that is easily sharded. This includes designing without complex relationships.
  • How you could create a crazy project that shards data across multiple databases (as in, one mysql, one Oracle), but that would be crazy
  • The various strategies to define how you retrieve your objects across the distributed data store
  • How this compares with horizontal partitioning at the database level itself (e.g. new features in MySQL, PostgreSQL, and others)
  • And much, much more.
For more information check out the Hibernate Shards homepage and the Google Group for discussion.

The new release that was mentioned in the podcast just went live. Congratulations to the team.

Start listening now


You can download the episode directly, or subscribe to the show (click here for iTunes one-click subscribe).
Read More
Posted in hibernate, java, podcast | No comments

Monday, 23 July 2007

Google Singleton Detector released

Posted on 16:45 by Unknown
By Dion Almaer, Google Developer Programs

We take testing very seriously at Google. You may have seen our testing blog and how we even test on the toilet.

We also like to create automated tools to make our lives easier and in the testing world this can mean having code to watch your back.

We have released a new tool that we have been playing with, the Google Singleton Detector, as open source. Its job is to find singletons and global state in the Java code that we produce. But wait, why would I care to find out where singletons may be in my code? In some cases they can make testing difficult and hide problems with your design. There's a bit more to it than that, so check out the FAQ for more info.

Do you maintain Java code and need to keep it nice and clean? Give the singleton detector a try!

Many thanks to David Rubel and the team for creating this, and working to get it out into the open source world.
Read More
Posted in java, open source, testing | No comments

Friday, 15 June 2007

Open Source Developers @ Google Speaker Series: Raph Levien

Posted on 14:10 by Unknown
By Leslie Hawthorn, Open Source Team

On Monday, June 25th, Raph Levien will join us to present Lessons from Advogato. Raph, Advogato's founder, will give us insights into attack-resistant trust metrics and the other mechanisms used to build the website's user community.

Like all sessions of the Open Source Developers @ Google Speaker Series, Raph's presentation will be open to the public. Doors open at 6:30 PM at our Mountain View campus; guests should plan to sign in at Building 43 reception upon arrival. Refreshments will be served and all are welcome and encouraged to attend. Raph's presentation will also be taped and published along with all of the public Google Tech Talks.

For those of you who were unable to attend our last session, you can watch the video of Bob Lee's recent presentation Java on Guice: Dependency Injection the Java Way.
Read More
Posted in advogato, Google, guice, java, open source, oss devs | No comments

Friday, 1 June 2007

Open Source Developers @ Google Speaker Series: Bob Lee

Posted on 11:20 by Unknown
By Leslie Hawthorn, Open Source Team

Bob Lee will be joining us on Tuesday, June 5th, to discuss Java on Guice: Dependency Injection, the Java Way. Guice, an open-source dependency-injection framework for Java 5, is already in use in several Google projects. Come listen to the framework's creator explain how Guice can help make your applications simpler and easier to test!

As with all sessions of the Open Source Developers @ Google Speaker Series, Bob's presentation will be open to the public. Doors open at 6:30 PM at our Mountain View campus; guests should plan to sign in at Building 43 reception upon arrival. Refreshments will be served and all are welcome and encouraged to attend. Bob's presentation will also be taped and published along with all of the public Google Tech Talks.

For those of you who were unable to attend our last session, you can watch the video of Amit Singh's recent presentation on MacFuse.
Read More
Posted in Google, guice, java, MacFuse, open source, oss devs | No comments

Thursday, 10 May 2007

Java at Google

Posted on 11:00 by Unknown
Posted by Chris Schalk, Google Developer Programs

As we mentioned in our post Gearing up for JavaOne 2007, Google is proud to be participating in JavaOne again this year!

In order to help JavaOne attendees get up to speed with what Google is doing with Java technology, we put together a Java developers guide to Google technology.

Also, feel free to stop by the Google booth and chat with our engineers!

Java™ is a trademark of Sun Microsystems.
Read More
Posted in Google, google checkout, google web toolkit, guice, java | No comments

Wednesday, 2 May 2007

Gearing up for JavaOne 2007

Posted on 12:50 by Unknown
Posted by Dan Peterson, Google Web Toolkit team

JavaOne is right around the corner, and we'll be there in full force: several Googlers will be on hand at our booth in the JavaOne Pavilion, including engineers from the Google Web Toolkit (GWT) team, who are flying in from our Atlanta office. In addition to GWT demos, we'll have several people there to chat about the Google Checkout API.

Beyond the booth, Googlers are speaking at 11 different sessions. A few that might interest you:
  • Joshua Bloch and William Pugh (Univ. of Maryland): Java™ Puzzlers, Episode VI: The Phantom-Reference Menace/Attack of the Clone/Revenge of the Shift (Tuesday, 3:20 PM)
  • Bruce Johnson and Joel Webber: Fast, Beautiful, Easy: Pick Three--Building Web User Interfaces in the Java Programming Language with Google Web Toolkit (Wednesday, 1:30pm)
  • Patrick Chanezon, Inderjeet Singh and Ignacio Blanco: Fun and Profit with the Google Checkout API in Java Technology (Thursday, 9:35am)
Of course, if you haven't seen GWT yet (launched just shy of a year ago at JavaOne 2006), I suggest you check it out.

We look forward to seeing you there!
Read More
Posted in google checkout, google web toolkit, java | No comments

Tuesday, 20 March 2007

Ode to Hibernate

Posted on 09:10 by Unknown
Posted by Max Ross, Software Engineer

At each of my first two jobs I wrote an object-relational mapping framework in Java. The first was an abomination, the second merely rotten. I'm not the only engineer to have traveled this road. You write some code to generate SQL for your simple CRUD operations, you get one-to-many relationships working, and then you (and probably the rest of your team) spend a couple of months piling on hacks to support outer joins, many-to-many relationships, and all the other "extras" that are of course not "extras" at all. So imagine my mood the day a coworker introduced me to Hibernate (thanks Toby!). Just a few days of prototyping made it clear that Hibernate was an elegant solution to a hard problem, and that I would never again feel compelled to build an OR Mapping framework in Java. Joy.

As a fan of Hibernate it gives me great pleasure to announce the open-source availability of Hibernate Shards, a framework that adds support for horizontal partitioning (or in Google parlance, "sharding") to Hibernate Core. There are a number of reasons you might not keep all your data in a single relational database. Maybe you have too much data. Maybe a potential customer won't sign up for your service unless her company's data lives in its own database. Whatever your reasons, dealing with a sharded dataset adds complexity to the development and management of your application. Hibernate Shards is designed to encapsulate and reduce the complexity of building applications that work with sharded datasets.

I worked with Tomislav Nad and Maulik Shah (fellow Googlers who share my enthusiasm for Hibernate and Java infrastructure) to build Hibernate Shards as a 20 percent project. We think what we have now will be useful to the Java community, but this is most certainly not a polished release. There are functionality gaps to be filled, design warts to be smoothed, and bugs to be shaken out. We look forward to working with you as we address these issues and make Hibernate Shards even more powerful in the months to come. If you'd like to read more please visit the official Hibernate Shards website.

Happy Sharding!
Read More
Posted in hibernate, java, open source | No comments

Monday, 12 March 2007

Guice, Google's internal Java dependency injection framework, released as open source

Posted on 10:51 by Unknown
Posted by Dion Almaer, Google Developer Programs

Google has been using a blazingly fast, innovative, Java 5-based dependency injection framework in mission critical applications for quite some time.

The project is lead by Bob Lee, and we are pleased to say that we have released it to the community as open source software.

Guice wholly embraces annotations and generics, thereby enabling you to wire together and test objects with less effort than ever before. Annotations finally free you from error-prone, refactoring-adverse string identifiers.

Guice injects constructors, fields and methods (any methods with any number of arguments, not just setters). Guice includes advanced features such as custom scopes, circular dependencies, static member injection, Spring integration, and AOP Alliance method interception, most of which you can ignore until you need it.

Guice already has a community around it, and already powers Struts 2's plugin architecture.

We asked Bob Lee a few questions about the project:

Why was Guice created?

We created Guice hoping to write less code and break up a multi-million line app. We looked at existing solutions, but we saw a lot of doors opened by the new Java 5 features. When I started from scratch I followed a use case driven approach and built a real application. As I wrote I was constantly asking myself "how do I really want to be writing this?".

I value pragmatism and followed Josh Bloch's API design advice, especially, "when in doubt, leave it out."

Finally, we strove most of all for maintainability. Can a new programmer sit down at a million line code base and maintain it? We think type safety is a huge factor here.

Who should use Guice?

Anyone writing Java code. We see Guice as a lighter weight alternative to the factory pattern.

More information:
  • Guice project on Google Code
  • Guice users guide
  • Javadoc Guide documentation
  • Download Guide
  • Join the Guice group / mailing list
  • How it compares, and can cooperate, with Spring
Read More
Posted in guice, java, open source | No comments
Older Posts Home
Subscribe to: Posts (Atom)

Popular Posts

  • Weekly Google Code Roundup for July 2-6th
    By Dion Almaer, Google Developer Programs Having the July 4th holiday smack in the middle of the week creates a strange week when it is hard...
  • Weekly Google Code Roundup for July 16-20th
    By Dion Almaer, Google Developer Programs This week we have the pleasure of having MashupCamp hosted walking distance from the Googleplex. I...
  • Weekly Google Code Roundup for July 23-27th
    By Dion Almaer, Google Developer Programs It has been a busy time for conferences. From MashupCamp last week, to OSCON and The Ajax Experien...
  • Weekly Google Code Roundup for July 8-12th
    By Dion Almaer, Google Developer Programs In API and developer-product news... Othman Laraki talked about the Gears roadmap and development ...
  • Weekly Google Code Roundup for June 11-15th
    By Dion Almaer, Google Developer Programs In API and developer-product news... I will start by going meta. Linking to a roundup from a round...
  • Google Gadget Ventures
    By Tom Stocky, Google Developer Programs Good news for Google Gadget developers. We've just launched Google Gadget Ventures , a new pil...
  • Google Developer Day sessions move to San Jose Convention Center
    Posted by Andrew Bowers, Google Developer Programs Thanks to the incredible interest in Google Developer Day, we've moved the session po...
  • Google Releases Maps API for External Use
    I'm very happy to let you know that our friends who have created Google Maps have released an API so that you can post interactive, dra...
  • Weekly Google Code Roundup for June 25-29th
    By Dion Almaer, Google Developer Programs It has been a great week. From the new Google Gadget Ventures, to the new ability to click and dra...
  • Google Developer Podcast Episode Three: Mike Tsao on Google Gears
    By Dion Almaer, Google Developer Programs Using iTunes? We have published the third episode of the Google Developer Podcast, which delves ...

Categories

  • 20% project
  • 3d
  • accessibility
  • advogato
  • ajax
  • ajax search
  • ajax search books news apis
  • amarok
  • android
  • apache
  • apis
  • apis. charts
  • apple
  • atom publishing protocol
  • axsjax
  • barcodes
  • blogger
  • building ajax apps
  • c++
  • caja
  • calendar
  • camino
  • chronoscope
  • cifs
  • cms
  • collada
  • community
  • conferences
  • cricket
  • cryptography
  • danish linux forum
  • developer
  • django
  • documentation
  • dojo
  • dot net
  • dreamweaver
  • drupal
  • eclipse
  • eclipsecon
  • education
  • email
  • events
  • feeds
  • firevox
  • fosdem
  • freebsd
  • freenet
  • gadgets
  • gcc
  • gdata
  • gdd07
  • geoserver
  • getpaid
  • ghop
  • gnome
  • gnome women's summer outreach program
  • Google
  • google apps for your domain
  • google chart api
  • google checkout
  • google code
  • google code project hosting
  • google code search
  • google data apis
  • google developer day
  • google earth
  • google gadgets
  • google gears
  • google grants
  • google mashup editor
  • google summer of code
  • google web toolkit
  • green linux
  • gsoc
  • gtags
  • guice
  • GWSOP
  • gwt
  • haproxy
  • hibernate
  • howto
  • hpux
  • html
  • html5
  • igoogle
  • image search
  • Imara
  • interviews
  • java
  • javascript
  • joomla
  • joomladayus2007
  • joomladayusa
  • karaoke
  • KDE
  • KDE 4.0
  • kernel
  • kernel summit
  • kml
  • linux
  • linux foundation
  • linux summit
  • linux virtual server
  • linuxconf eu
  • LoCo
  • london
  • mac
  • MacFuse
  • maps
  • meetup
  • MIT CSAIL
  • mobile
  • mylar
  • MySQL
  • mythtv
  • named
  • netbsd
  • nss
  • objective-c
  • OCaml
  • ocr
  • ODF
  • oha
  • OOXML
  • open source
  • openajax alliance
  • opensocial
  • openssl
  • oreilly
  • oscon
  • oscon2007
  • oss devs
  • ossjam
  • osx
  • pactester
  • phone
  • picasa
  • picasa web
  • plone
  • plone sprint
  • podcast
  • portugal
  • programming
  • py3k
  • python
  • python sprint
  • reader
  • research
  • samba
  • scalability
  • screencast
  • security
  • shindig
  • silverstripe
  • sitemaps
  • sixapart
  • sketchup
  • soc
  • solaris
  • spa2007
  • speakers
  • standards
  • student programs
  • subversion
  • summer of code
  • syndication
  • testing
  • themes
  • topp
  • ubucon
  • ubuntu
  • unit test
  • unix
  • video
  • Vim
  • weekly roundup
  • windows
  • windows programming
  • Winter of Code
  • youtube
  • zurich
  • ZXing

Blog Archive

  • ▼  2008 (7)
    • ▼  January (7)
      • KDE 4.0 Release Event wrap-up
      • iGoogle Themes API
      • Wednesday in San Francisco: OpenSocial Hackathon a...
      • An OpenSocial HappyHour party with Gears
      • ChartMaker: A tool for the Google Chart API
      • Google Developer Courses on YouTube
      • Thanks to you
  • ►  2007 (159)
    • ►  December (8)
    • ►  November (13)
    • ►  October (16)
    • ►  September (11)
    • ►  August (16)
    • ►  July (11)
    • ►  June (14)
    • ►  May (13)
    • ►  April (12)
    • ►  March (19)
    • ►  February (14)
    • ►  January (12)
  • ►  2006 (98)
    • ►  December (10)
    • ►  November (14)
    • ►  October (13)
    • ►  September (11)
    • ►  August (14)
    • ►  July (9)
    • ►  June (5)
    • ►  May (5)
    • ►  April (6)
    • ►  March (4)
    • ►  February (2)
    • ►  January (5)
  • ►  2005 (40)
    • ►  December (4)
    • ►  November (1)
    • ►  October (3)
    • ►  September (2)
    • ►  August (5)
    • ►  July (3)
    • ►  June (11)
    • ►  May (2)
    • ►  April (4)
    • ►  March (5)
Powered by Blogger.

About Me

Unknown
View my complete profile