Cloud Zone is brought to you in partnership with:

Eric is the Editorial Manager at DZone, Inc. Feel free to contact him at Eric has posted 804 posts at DZone. You can read more from them at their website. View Full User Profile

Video: Amazon Web Services for Java Developers

  • submit to reddit

This half-hour webinar from UC Irvine suggests that AWS offers the perfect infrastructure to Java developers looking to save money with infinite scalability of resources.  You'll learn some basic AWS concepts as well as gain a better understading of how JavaEE apps can be migrated to an AWS environment. 

Published at DZone with permission of its author, Eric Genesky.

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)


Fahmeed Nawaz replied on Tue, 2012/06/12 - 10:24am

Any command can be run from java. In the next release there will be a helper like DBCollection.aggregate(DBObject[]/List<dbobject> pipeline)

From java you use the DB object: myDB.command(...) So a real example would require creating a single DBObject like so:  DBObject result = myDB.command(BasicDBObjectBuilder.start("aggregate", "collection-name").append("pipeline", pipelineArray);</dbobject>

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.