Posts tagged as:
aws
Daily del.icio.us for April 20th through April 22nd
- InfoQ: Top 10 Mistakes when building Flex Applications - In this post, Adobe’s James Ward teams up with InfoQ.com to bring you another Flex Top 10 (our most recent Flex Top 10). Flex is an open source application development framework for building rich Internet applications that run in the web with Flash Play
- InfoQ: IntelliJ IDEA Supports Flex Development - JetBrains' IntelliJ IDEA is one of Java developers' the most favorite development IDEs. The recent IntelliJ IDEA 7.0.3 release includes some new features supports Flex application development. To understand how Flex RIA developers can utilize InitelliJ's
- IntelliJ IDEA Blog » Blog Archive » Type Renderers - I’d like to tell you about one of the IntelliJ IDEA features - type renderers. They provide you the ability to customize how objects are displayed in the debugger, offering “logic-oriented” presentation of data vs. structure-oriented as it is by def
- Cloud Security: Where is Your Computer Today? - A new blog that launched last week–Cloud Security–is devoted to looking at the security issues of cloud computing, which encompasses grid computing, utility computing, software as a service, storage in the cloud, and virtualization
- Cloud Computing. Available at Amazon.com Today. - Key in your Amazon ID and password and behold: a data center's worth of computing power carved into megabyte-sized chunks and wired straight to your desktop. Clones of that HP tower cost 10 cents per hour — 10 cents!
- Why 'no Macs' is no longer a defensible IT strategy | InfoWorld | Analysis | 2008-04-21 | By Galen Gruman - According to NPD Research, Apple's share of the retail market has climbed to 14 percent as of February 2008. Gartner and IDC report that the Mac's share in the U.S. as of March 31 was 6.6 percent.
- The Norway Vote - What really happened « Topic Maps and All That - The process which led to Norway’s Yes vote on OOXML was so surrealistic that it deserves to be recorded for posterity. Here’s my version of the story.
- For AT&T, U-Verse Is Picking Up Steam - GigaOM - UBS’s John Hodulik, one of the best telecom analysts, has pegged AT&T as his top pick for this earnings seasons and is expecting some good tidings from Ma Bell. What caught my eye in his note was the progress made by AT&T’s IPTV effort, U-Verse.
- Virtualization: VMware, Xen, or VirtualBox? (by Jeremy Zawodny) - I wish to virtualize my computer life. However, I face an abundance of choices from which you will help me select the right one. What are the pros and cons here? And are there other solutions worthy of consideration?
- /var/log/mind » Blog Archive » Turbocharge your string keyed hashmaps - In most most situations the possible universe of keys in the hashmap are known upfront either when writing the code or when starting up the application. If instead of creating hard coded strings or by using various string key parameters from say an XML fi
Related posts
{ 0 comments }
Daily del.icio.us for April 17th through April 19th
- Canada Likely to Label Plastic Ingredient ‘Toxic’ - New York Times - The Canadian government is said to be ready to declare bisphenol-a, or B.P.A. as a toxic chemical. It is widely used in plastics for baby bottles, beverage and food containers as well as linings in food cans.
- Jodd Library -Proxetta - Proxetta is all about dynamic proxies. Using just Java. In the same way you would code it by yourself. And the only dependency is Jodd & Asm library.
- Census for open-source apps kicks off - CNET News.com - Open-source management company OpenLogic, IDC and Unisys launched the Open Source Census. The project is based around a tool, OSS Discovery, that scans systems for known open-source projects and anonymously submits the data to an OpenLogic database.
- Process Monitor - Process Monitor is an advanced monitoring tool for Windows that shows real-time file system, Registry and process/thread activity. It combines the features of two legacy Sysinternals utilities, Filemon and Regmon
- MySQL adoption: Deep and wide | The Open Road - The Business and Politics of Open Source by Matt Asay - CNET Blogs - I love this anecdote from Jonathan Schwartz's blog. As is demonstrated again and again, enterprises have no idea just how awash in open-source software they are…until they ask.
- Java Community News - Rod Johnson's Predictions for Enterprise Java - In a series of predictions for the future of Java EE, Rod Johnson, founder of the Spring project, shares his opinions on de facto versus de jure standards, the role of the JCP, and on why Java EE 6 will usher in renewed app server competition.
- Amazon Web Services gets serious about enterprise | Software as Services | ZDNet.com - It now seems that Amazon is moving aggressively to make its cloud computing services palatable for enterprise users — not surprising, given that enterprises including The New York Times and Nasdaq are now customers
- Google delivers; Maybe paid clicks weren’t such a big deal | Between the Lines | ZDNet.com - Google on Thursday allayed concerns about its paid click growth rate with first quarter earnings that topped Wall Street’s expectations. Google reported first quarter net income of $1.31 billion, or $4.12 a share, on revenue of $5.19 billion.
- Red Hat News | What’s Going On With Red Hat Desktop Systems? An Update - Red Hat team notes that they will not be working on a consumer version of their Linux product in the foreseeable future, instead focusing on enterprise software.
- Hiring the Rowing-Forward 30% - His anecdotal "70% Rowing Backwards" sounds roughly right to me, and it bothers me a lot. Studies show that programmers derive their primary satisfaction by being productive, so such an environment sounds downright depressing. But managers obviously don't
Related posts
{ 0 comments }
Daily del.icio.us for April 14th through April 16th
- Searchable javadocs - Javadocs are good but not great as they miss a key feature of being able to do a full text search. Enter Documancer - It allows you to point to the index.html Javadoc file of a given library and one can then run full text searches through the Javadocs
- DataCleaner - eobjects - DataCleaner is an open source project concerned with creating a data quality solutions for business and organizations wishing to measure and increase the quality of their data. DataCleaner includes functionality to profile and compare data, to validate da
- IntelliJ IDEA Blog » Blog Archive » Announcing New Release of JetGroovy Plugin - We’re glad to announce the general availability of the new release of JetGroovy Plugin for IntelliJ IDEA. Version 1.5 brings yet more of IntelliJ IDEA´s smart, advanced features to Groovy and Grails developers
- HtmlUnit 2.1 Released « A Public Scratchpad - The HtmlUnit team is pleased to announce a new release of HtmlUnit. This latest version includes a number of bug fixes and performance enhancements, and sports excellent support for GWT, jQuery and Sarissa, decent support for Prototype and Dojo, and basic
- Enterprise 2.0: A Computer Security Nightmare? - Bits - Technology - New York Times Blog - One conclusion, the report notes, is that users are routinely, and fairly easily, circumventing corporate security controls. And that is because traditional firewall technology was not meant to grapple with the diversity of Internet applications of recent
- Amazon's cloud computing will surpass its retailing business | Between the Lines | ZDNet.com - Everyone else–Google and Microsoft–are working on their cloud computing services, but they are really in the first revision of their respective offerings. Amazon is ahead and tweaking
- It’s Only Software » 5 Minute Guide to Spring and Simple[r!] JDBC - I recently worked on a personal project to learn how one can write dead-simple plain old JDBC applications using only Spring Framework 2.5 without an ORM layer. Spring 2.5 has many features that provide some of the convenience of ORM libraries
- ajax, amazon, appengine, aws, bigtable, business, cloud, cloudcomputing, computing, data, database, design, development, ec2, enterprise2.0, firewall, google, grails, groovy, gwt, htmlunit, ide, idea, innovation, intellij, java, javadoc, jdbc, malware, opensource, profiling, programming, python, qa, s3, saas, search, security, software, spring, SpringFramework, SQL, storage, testing, tool, web, Web2.0, webservices
Related posts
Daily del.icio.us for April 6th through April 12th
- louisgray.com: Should Fractured Feed Reader Comments Raise Blog Owners' Ire?: Silicon Valley Blog - As a blogger, I am a content creator. I don't want my content stolen, or reposted without attribution or under somebody else's name. But I am also a huge advocate of RSS and continuing to adapt where the conversation is being held
- Reports of Windows’ demise are greatly exaggerated | All about Microsoft | ZDNet.com - It’s not news that Windows is huge and unwieldy. Many (probably most) of Microsoft’s own Windows developers would agree with that premise. But to suggest that Microsoft is burying its head in the sand and hoping its problems just go away is ridiculous
- Comparing Amazon’s and Google’s Platform-as-a-Service (PaaS) Offerings | Enterprise Web 2.0 | ZDNet.com - Instead of just offering applications over the Web in the form of Software-as-a-Service (SaaS), Amazon and Google are offering an entire Platform-as-a-Service because they provide the foundation upon which to build highly scalable and robust Web apps
- Hartija - Css Print Framework - To solve this problem I decided to make universal Cascading Style Sheets for web printing by uniting all best CSS printing practises into one.
- dtsn : Highlighting Forms [tutorial] - This is quite a well known but under used technique for highlighting your form elements without any JavaScript. By using the CSS property focus you can apply style to a form element when it is clicked, also know as focus.
- Cisco switch consolidates functions in the data center - Cisco Systems Inc. today announced the Nexus 5000 series of server access switches, which are designed to consolidate storage, networking and virtualization functions in data centers. The switch unifies Fibre Channel over Ethernet with data center Etherne
- Alfresco's sales up 320 percent, hits 30,000 active deployments | The Open Road - The Business and Politics of Open Source by Matt Asay - CNET Blogs - Yes, you can make lots of money with open-source software. Alfresco, a leading enterprise content management and collaboration vendor, just announced its 2007 financial results. The numbers speak for themselves:
- Google App Engine - Google Code - Run your web applications on Google's infrastructure. Google App Engine enables you to build web applications on the same scalable systems that power Google applications.
- The Enterprise Web 2.0 Blog: When Mashing Your Enterprise, It Pays To Have a Lot of Friends - There’s one thing we’ve always been certain about: no single vendor can address the entire enterprise mashup problem alone. It is critical to catalyze mashups in the enterprise with an ecosystem that surrounds those mashups, making them easier and mor
- GWT-Ext 2.0.3 released with charting, maps, portal and other goodies - GWT-Ext 2.0.3 has been released. This version is compatible with Ext 2.0.2 and GWT 1.5. The new features in this release are charts and maps plus all of the goodies already built in.
Related posts
{ 0 comments }
Daily del.icio.us for January 27th through January 28th
- Peter Ent: DataCalendar - The DataCalendar is a combination of DateChooser and DataGrid. Like the DateChooser, the DataCalendar displays a standard calendar with controls to navigate to another month and year. And like the DataGrid, the cells of the DataCalendar display data.
- Khomsan Ph. - VisualWget - Home - VisualWget is a download manager that use Wget as a core retriever to retrieve files from the web. You can think of VisualWget as a GUI front-end for Wget that give you all of Wget functionalities plus little management features such as download queue
- Wall $treet Week with FORTUNE . In the News | PBS - America's growing trade deficit is selling the nation out from under us. Here's a way to fix the problem — and we need to do it now. By Warren E. Buffett,
- Ext JS Blog - » Ext continues expansion, Now offers training and consulting services - Ext has been quietly offering services for some time now, basically working towards getting certain pieces in place before formalizing the Ext Professional Services division
- Ext JS Blog - » Ext continues expansion, Now offers training and consulting services - Ext has been quietly offering services for some time now, basically working towards getting certain pieces in place before formalizing the Ext Professional Services division
- CSS Reference - Welcome to the SitePoint CSS Reference! We?ve worked hard to make this the most detailed and up-to-date reference on the subject available. To get started, try our handy search box, or click on one of the headings to browse that section of the reference
- InfoQ: Amazon EC2 Gains Favor with JEE and Groovy Developers - Using the EC2 API is straightforward, but to make life even simpler Chris Richardson has posted a Groovy framework that can launch MySQL, Apache HTTP Server, a set of Tomcat instances and JMeter, as well as deploying web applications to Amazon's EC2.
- Seth's Blog: Nickel and diming - Offering low marginal cost items for free is a shortcut to generating word of mouth, which is a lot cheaper than buying ads.
- Mastering Grails: Build your first Grails application - In the first installment of his new monthly series Mastering Grails, Java expert Scott Davis introduces Grails and demonstrates how to build your first Grails application.
- The busy Java developer's guide to Scala: Functional programming for the object oriented - In this new series, Ted Neward introduces Scala, a programming language that combines functional and object-oriented techniques for the JVM. Along the way, Ted makes the case for why you should take the time to learn Scala ? concurrency, for one ? and
Related posts
Daily del.icio.us for January 6th
- Official Google Docs Blog: New features for 2008! - It's been two months since we launched Google Presentations and already we've got new toys! We've been listening to your feedback and working hard to get you new features as quickly as possible
- Amazon Web Services Blog: Increasing Amazon S3 Data Transfer Performance - The Amazon S3 team is now beta-testing support for an important low-level networking feature which has the potential to significantly increase the performance of large data transfers to and from S3, particularly (but not limited to) for long distance data
- Blueprint Grid CSS Generator - This tool will help you generate more flexible versions of Blueprint's grid.css and compressed.css and grid.png files. Whether you prefer 8, 10,16 or 24 columns in your design, this generator now enables you that flexibility with Blueprint.
- The Most Hated Company In the PC Industry - Asustek is the most hated company in the industry. Microsoft, Apple, Dell and Palm hate Asustek because the company can give us something they can't: A super cheap, flexible, powerful mobile computer. At $299, why would anyone not buy one?
Related posts
Daily del.icio.us for Dec 23, 2007
- BitNami :: BitNami Stacks - BitNami stacks make it incredibly easy to install your favorite open source software. Application stacks include an open source application and all the dependencies necessary to run it, such as Apache, MySQL and PHP or Ruby. All you need to do is download
- Sriram Krishnan: Amazon SimpleDB - Technical Overview - Structured storage was one of the missing pieces in Amazon's cloud services jigsaw puzzle (the other has to be the ability to host a site completely on EC2 without using dynamic DNS hacks) and Amazon is plugging that hole today with the launch of SimpleDB
- Remember The Milk - Services / Remember The Milk for Gmail - Remember The Milk for Gmail is a Firefox extension that allows you to manage your tasks in Gmail (complete, postpone, and edit tasks), add new tasks (and connect them with your emails, contacts, and Google Calendar events), automatically add tasks for sta
- Eventually Consistent - All Things Distributed - Recently there has been a lot of discussion about the concept of eventual consistency in the context of data replication. In this positing I would like to try to collect some of the principles and abstractions related to large scale data replication and t
Related posts
Daily del.icio.us for Jun 27, 2007 through Jul 06, 2007
- Dev2Dev Editor's Blog: New Products: AquaLogic Pages, AquaLogic Pathways and AquaLogic Ensemble - The new AquaLogic products: AquaLogic Pages, AquaLogic Pathways and AquaLogic Ensemble, are all now available for download
- XHAB: Xavier Hanin's Blog: Top 10 reasons why you should try Wicket - If you haven't already tried Wicket so far, here are my top ten reasons why you should
- Full text search with Apache Lucene - I?m Mike - Apache Lucene is a high-performance, feature-rich text search engine written in Java. A sub-project called Solr wraps Lucene in a simple web service layer, making it simple to use from any language.
- framework - Google Code - To begin with, focus is on JavaScript frameworks. Files are compressed using Dojo Shrinksafe, then packed using Dean Edwards Packer, and finally Google gzip the file. As a result, we get beautifully small file sizes.
- Dean Edwards: Using Google To Serve Faster JavaScript - For popular libraries like Prototype and Dojo there is a huge benefit from serving cached and compressed JavaScript from Google?s servers.
- GWT in Action: TheServerSide Tech Brief - Robert Hanson, co-author of the book GWT in Action, tells us about the Google Web Toolkit or GWT aims to simplify writing AJAX applications using a programming model that's already familiar to Java programmers.
- Amazon Web Services Developer Connection : Introduction to AWS for Java Developers - This brief tutorial introduces you to Amazon Web Services from the eyes of a Java developer, walks through a simple example, and links to other helpful resources to get you started.
- Peter Laird's Blog: BEA WebLogic Portal + Swivel.com + Excel Spreadsheet = Enterprise Data Mashups - I have been showing how to build enterprise mashups using web technologies. This entry will diverge and show how a non-web technology, namely the spreadsheet, can power an enterprise data mashup.
- InfoQ: OpenJPA adopted by both IBM and BEA; becomes top-level Apache project - Apache OpenJPA has been gaining momentum in the JEE world, having been adopted by BEA as the EJB3 JPA implementation in WebLogic Server 10
Related posts
Daily del.icio.us for Mar 28, 2007 through Mar 29, 2007
- Amazon Web Services Developer Connection : Mounting Amazon S3 as a File System in Amazon EC2 - This tutorial discusses how to mount Amazon Simple Storage Service (Amazon S3) as a file system in an Amazon EC2 instance
- TFO eServices Java Programming - JXPath Tutorial - JXPath is an Apache Commons library to query Java object trees using the well known XPath XML query language. Extremely useful stuff but not yet very well known, hence this tutorial.
- Techworld.com - VMware enters the Linux kernel - The next revision of the Linux kernel is to include a virtualisation feature developed by VMware, called VMI.
- Java object queries using JXPath - Java World - JXPath is such an object-query tool. It is an Apache Commons component that enables you to query complex object trees using the well-known XPath expression language.
- Spring-Loaded - Guice vs. Spring JavaConfig: A comparison of DI styles - With all of the excitement surrounding Guice lately, I thought it might be worthwhile to compare Guice with Spring JavaConfig. Both represent different approaches to annotation-based dependency-injection
Related posts
Life is beautiful with XMLBeans and XStream
XML creation, parsing and processing with Java has gotten so much easier with tools like XMLBeans, XStream and many other such tools. I personally love XMLBeans and XStream and I try to use them for all of my XML processing needs. While they both consume XML, they solve different problems. XMLBeans allows you to process XML by binding it to Java types using XML schema that has been compiled to generate Java types that represent schema types. XStream on the other hand allows you to serialize objects to XML and back again using special reflective secret sauce.
I've been using these tools for many years now and so you tend to forget just how useful and powerful they are and how productive they make you. Case in point – A friend of mine came to me for help. He was building an application that would allow him to resale items from Amazon on his site and he wanted to use the Amazon eCommerce Web Services to search for products programmatically and update a local database that housed his content. Having played with Amazon E-Commerce Service (ECS) before, I offered to write up a simple application that would make the Web Services call, process the results and present them back to you.
Amazon's ECS is an API that allows you to access Amazon data and functionality through a Web site or Web-enabled application. ECS follows the standard Web services model: users of the service request data through XML over HTTP (REST) or SOAP and data is returned by the service as an XML-formatted stream of text. In addition to the WSDL, ECS also provides XML schemas for validating the XML output of REST requests. So I decide to use XMLBeans to create my type system using the XML Schema provided by Amazon. XMLBeans provides you with a utility (scomp) to compile your schema into Java XMLBeans classes and metadata. To generate the Java code, use the following command:
scomp –jar amznws.jar AWSECommerceService.xsd
This generates a jar file named amznws.jar, which will contain all of the code needed to bind an XML instance to the Java types representing your schema. In my application, I use HttpClient to make my REST request and then use the XMLBeans generated jar file to process the result. Here's a snippet of code from my sample class:
[code lang="java"]
if (StringUtils.isNotBlank(searchCriteria)) {
String url = "http://webservices.amazon.com/onca/xml?Service=AWSECommerceService&" +
"AWSAccessKeyId=*YOUR_KEY*&AssociateTag=*YOUR_TAG*&Operation=ItemSearch&SearchIndex=Books&" +
"Keywords=" + searchCriteria + "&ResponseGroup=Large,Images";
GetMethod method = new GetMethod(url);
List
try {
int statusCode = client.executeMethod(method);
if (statusCode != HttpStatus.SC_OK) {
log.error("Method failed: " + method.getStatusLine());
}
// Read the response body.
InputStream in = method.getResponseBodyAsStream();
String xmlPayload = parseISToString(in);
// Set up the validation error listener.
ArrayList validationErrors = new ArrayList();
XmlOptions validationOptions = new XmlOptions();
validationOptions.setErrorListener(validationErrors);
ItemSearchResponseDocument items = ItemSearchResponseDocument.Factory.parse(xmlPayload);
if (items != null) {
ItemsDocument.Items[] itemsArray = items.getItemSearchResponse().getItemsArray();
for (int i = 0; i < itemsArray.length; i++) {
AmazonWSObject amzn = processResults(itemsArray, i);
results.add(i, amzn);
}
// During validation, errors are added to the ArrayList
boolean isValid = items.validate(validationOptions);
// Print the errors if the XML is invalid.
if (!isValid) {
for (Object validationError : validationErrors) {
log.error(">> " + validationError + "\n");
}
}
} else {
log.error("Search returned no results");
}
} catch (HttpException e) {
log.error("Fatal protocol violation: " + e.getMessage());
} catch (IOException e) {
log.error("Fatal transport error: " + e.getMessage());
log.error(e.toString());
} catch (XmlException e) {
log.error(e.toString());
} finally {
method.releaseConnection();
}
return results;
} else {
return null;
}
[/code]
As you can tell, HttpClient makes the REST call a snap and XMLBeans makes processing the results easy as well. In total, I spent 3-4 hours getting the application working and a lot of the time was spent figuring out the data set returned from Amazon and trying to come up with a meaningful example. Here is a zip file with the IDEA project that has all the stuff needed to make this work including a simple JSP and a JUnit test class.
Links of Interest:
- Amazon Web Services
- Amazon ECS WSDL
- Amazon ECS XML Schema
- Localized editions of xsd and wsdl
- XMLBeans
- XStream
- HttpClient
Related posts