Posts tagged as:
intellij_idea
Daily del.icio.us for Feb 19, 2007
These are my links for Feb 19, 2007:
- Census Mashups Using StrikeIron Web Services and Yahoo Maps in Flex 2 - Census Dashboard Mashup is a mashup using StrikeIron's Zip Code Information Web Service, StrikeIron's Population Demographics By ZIP Code Web Service and Yahoo Maps to give detailed information for a specific US zip code. I find it to actually be a really
- Sun Updates Java Mozilla HTML Parser 1.0.1 - O'Reilly ONJava Blog - Java Mozilla HTML Parser 1.0.1 is a package which allows parsing HTML pages into a Java Document object. Wonder how it stacks up against HtmlCleaner (http://htmlcleaner.sourceforge.net/)
- dmiessler.com | study | lsof - lsof is the Linux/Unix über-tool. I use it most for getting network connection related information from a system, but that's just the beginning for this amazing and little-known application
- chalain: So Beautiful, So Disturbing - She gets out of bed and stretches, perfect curves sliding under silky lingerie and momentarily making me forget about breakfast, meatloaf, and whoever it was I was married to before last night.
- Massive Google hard drive survey turns up very interesting things - Engadget - When your server farm is in the hundreds of thousands and you're using cheap, off-the-shelf hard drives as your primary means of storage, you've probably got a a pretty damned good data set for looking at the health and failure patterns of hard drives
- Raible Designs | Slick looking Confluence sites - Wicket and Cayenne have nice looking websites backed by Confluence. Wicket has a Writing documentation page that explains how it works.
- Upselling your architecture - The Pragmatic Architect - As an architect, you'll probably need to present to different audiences at different levels. When you do, it's worth thinking about whether you need to upsell your architecture or not.
- MyEclipse Delivers Tools to IntelliJ IDEA Users - Developers using IDEA are now able to utilize the MyEclipse Visual HTML Designer, XML Editor, Database Explorer and Image Editor SNAPs directly in their own environment.
- IntelliJ IDEA: Inspections by Sections … - Static code analysis doesn't just improve your code quality, it can also teach you some cool ideas and best practices about programming
- Java Power Tools: Home - "Java Power Tools" is about software tools and techniques that can contribute to improving the SDLC which includes build tools such as Maven and Ant, CI tools, code quality tools, testing tools, collaborative tools, source version control, and more!
- Rod Johnson » Sun's GlassFish Embracing Spring - I think part of what's making Sun more relevant in the enterprise Java space is that they are now more plugged into what's happening in the wider world, and are willing to take the input on board and act on it
Related posts
Daily del.icio.us for Feb 17, 2007 through Feb 19, 2007
These are my links for Feb 17, 2007 through Feb 19, 2007:
- Census Mashups Using StrikeIron Web Services and Yahoo Maps in Flex 2 - Census Dashboard Mashup is a mashup using StrikeIron's Zip Code Information Web Service, StrikeIron's Population Demographics By ZIP Code Web Service and Yahoo Maps to give detailed information for a specific US zip code. I find it to actually be a really
- Sun Updates Java Mozilla HTML Parser 1.0.1 - O'Reilly ONJava Blog - Java Mozilla HTML Parser 1.0.1 is a package which allows parsing HTML pages into a Java Document object. Wonder how it stacks up against HtmlCleaner (http://htmlcleaner.sourceforge.net/)
- dmiessler.com | study | lsof - lsof is the Linux/Unix über-tool. I use it most for getting network connection related information from a system, but that's just the beginning for this amazing and little-known application
- chalain: So Beautiful, So Disturbing - She gets out of bed and stretches, perfect curves sliding under silky lingerie and momentarily making me forget about breakfast, meatloaf, and whoever it was I was married to before last night.
- Massive Google hard drive survey turns up very interesting things - Engadget - When your server farm is in the hundreds of thousands and you're using cheap, off-the-shelf hard drives as your primary means of storage, you've probably got a a pretty damned good data set for looking at the health and failure patterns of hard drives
- Raible Designs | Slick looking Confluence sites - Wicket and Cayenne have nice looking websites backed by Confluence. Wicket has a Writing documentation page that explains how it works.
- Upselling your architecture - The Pragmatic Architect - As an architect, you'll probably need to present to different audiences at different levels. When you do, it's worth thinking about whether you need to upsell your architecture or not.
- MyEclipse Delivers Tools to IntelliJ IDEA Users - Developers using IDEA are now able to utilize the MyEclipse Visual HTML Designer, XML Editor, Database Explorer and Image Editor SNAPs directly in their own environment.
- IntelliJ IDEA: Inspections by Sections … - Static code analysis doesn't just improve your code quality, it can also teach you some cool ideas and best practices about programming
- Java Power Tools: Home - "Java Power Tools" is about software tools and techniques that can contribute to improving the SDLC which includes build tools such as Maven and Ant, CI tools, code quality tools, testing tools, collaborative tools, source version control, and more!
- Rod Johnson » Sun's GlassFish Embracing Spring - I think part of what's making Sun more relevant in the enterprise Java space is that they are now more plugged into what's happening in the wider world, and are willing to take the input on board and act on it
- Is Bruce Eckel Right? Maybe not. at Simon?s Blog - Bruce Eckel has written an interesting piece about Java and user interfaces. I?d recommend that you read it, as it?s pretty thought-provoking.
- The Fishbowl: Job Satisfaction - We spend a lot of time at work. If we?re not doing something that we?re passionate about, that gives us some kind of fulfillment, we?re wasting a big part of our lives.
- BuzzMachine » Blog Archive » A day at NPR - I've thoroughly enjoyed my day at NPR. Smart people, but then that?s obvious.
- Coding Horror: The cost of leaving your PC on - So leaving my server on is costing me $200 / year, or $16.68 per month. My home theater PC is a bit more frugal at 65 watts. Using the same formulas, that costs me $81 / year or $6.75 per month.
- The Future Won?t Be Statically Typed « Skunk Works - I'm more and more convinced that statically typed languages will come to an end, replaced by duck typing based languages
Related posts
Daily del.icio.us for Aug 30, 2006
-
JetBrains has announced the list of new features in IntelliJ IDEA 6.0 some time ago, but people often ask us where to find or how to use a certain feature. Probably, in this case Reviewer’s Guide can help
-
Web developers now face problems of similar difficulty in dealing with decent-size desktop application projects. Project support and continuous evolution involves lots of effort and requires the use of specific techniques. One particularly useful techniqu
-
GWT continues to have a lot of ferment around it.
Related posts
BEA Workshop Studio and Ubuntu
I have been following BEA's acquisition of M7 to see what happens to the NitroX product. We are a big WebLogic shop and so I was curious to see what BEA is going to bake in the new release of NitroX renamed Workshop Studio. The new Workshop Suite is based on the Callisto (Eclipse 3.2 and WTP 1.5) release and is chalk-full of goodies including EJB 3.0 (JPA), Kodo, Spring, JSF (yuck), Struts, JSTL, Hibernate support among other specs/frameworks. Another cool thing in Workshop Studio is the ORM tool that is built-in that allows developers to access databases and build an object relational entity layer to model the data using persistence engine providers that implement the EJB3, JPA, Kodo and Hibernate. Workshop also supports Tomcat, Resin, Jetty, JBoss, and WebSphere in addition to WebLogic.
I am a die-hard IntelliJ IDEA fan and IDEA is still the BEST IDE in the market. IDEA has the best refactoring, smart-type auto completion, code analyzer capabilities and it is really the best IDE for writing code. However, it is missing many of the bells-n-whistles that Eclipse and now NetBeans have. In the last few months, I found myself looking at the NetBeans 5.5 betas and Eclipse 3.2 betas and wondering why IDEA was missing a lot of that functionality. Sun has really turned around NetBeans and the latest 5.5 betas have really rocked. The combination of the Profiler with NetBeans makes it a compelling offering and the price is right.
Guess I am getting off-topic here – So I've been playing with the latest release of Workshop Studio and my first impressions are very positive. I am hoping to use it exclusively for a month and then blog about my experiences. I recently upgraded my Linux box to Ubuntu (Dapper Drake) and I've been running more than SVN, MySQL, Apache, Tomcat and WebLogic on it. I try to install all of my development tools on my XP and Linux box for consistency and so I was able to install Workshop Studio on my Ubuntu Linux box without any problems. Out of the box, Workshop Studio doesn't support Ubuntu but the installer does allow you to continue installation and use Workshop Studio. Here are the steps I used to install Workshop Studio:
I'm assuming you already have the 1.5 JDK installed on your box. If you don't, you can use apt-get to get and install the latest SDK. This article at the Javalobby has a lot more details but here's all I did for my installation:
sudo apt-get install sun-java5-jdk
sudo update-alternatives—config java
export JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun-1.5.0.06/
sudo ./WorkshopInstaller.bin
The installer clears the launcher icons in the directory of your choice and you should be all set to use Workshop Studio. On his blog, Bill Roth discusses his experiences of installing Workshop on his Ubuntu box using JRockit. In addition to being a fellow Marquette alum and an all around great guy, Bill is also the vice president of the BEA Workshop Business Unit at BEA Systems. Bill asks the question in his blog entry about BEA officially support Ubuntu in their products and I would have to say a resounding yes to that. Most enterprises use RedHat on their servers but Ubuntu is fast catching up on the desktop side and so BEA should support RedHat and Ubuntu. Cannot wait for the day when I get type in apt-get jrockit, workshop and weblogic.
Tags: apache, BEA, eclipse, ide, intellij_idea, java, Links, Linux, marquette, mysql, netbeans, svn, Tomcat, ubuntu, WebLogic, workshopRelated posts
Daily del.icio.us for Jun 01, 2006
-
Below are over 25 tips that will let you tweak and personalize the latest Ubuntu release so that it's perfect. Think of it as polishing the diamond.
-
IntelliJ IDEA provides you with the Stack Trace Analyzer. It works exactly as described above. Just click Analyze Stacktrace under the Analyze menu, and copy your stack trace in the dialog box
-
Getting started developing with Google Web Toolkit is easy. First you need a copy of Java.
-
Windows administration tricks and tips.: Remove those stinkin "help balloons" - www.intelliadmin.comThe little bubbles that Microsoft displays to inform you about 'important' things are starting to drive me crazy.
-
They lack six-pack abs. They could lose a few. Yet they're happy, body and soul. How are such people possible in body-centric America?
Related posts
Daily Del.icio.us for Mar 13, 2006
- IntelliJ IDEA Blog » This is the new IntelliJ IDEA blog where they post tips & tricks, news, interesting links and even opinions both from members of our team and people from the IntelliJ community.
- Previous links
Related posts
Daily Del.icio.us for Feb 27, 2006
- Weblogic Web Services With Spring Framework - Matt Luce » Recently, I was trying to connect to a web service with the Spring Framework JaxRpcPortProxyFactoryBean. The web service and client code were generated with the weblogic servicegen and clientgen ant tasks respectively.
- Avvenu Does Rocks - Sharing your data made easy »
- OnlyWire: The Only BookMarklet You'll Ever Need! »
- Central Desktop - Web Based Team Collaboration and Productivity Software »
- Microsoft's InfoCard draws open-source response - CNET News.com » IBM and Novell on Monday are expected to announce an open-source response to Microsoft's forthcoming InfoCard identity management technology. The companies plan to contribute to an open-source initiative code-named Higgins Project.
- WSJ.com - Blog Epitaphs? Get Me Rewrite! » Rumors of Blogs' Demise Are Exaggerated, But a Lot Less Obsession Would Be Healthy
- Ajax Lessons » AjaxLessons.com is a resource for ajax tutorials as well as information surrounding Ajax and web 2.0.
- IntelliJ IDEA - Creating AJAX Page Counter in 5 Minutes (screencast) » This demo shows how to create a simple AJAX page counter in a few minutes, using IntelliJ IDEA.
- Ajaxian » IntelliJ IDEA Ajax Screencast » IntelliJ IDEA is a fantastic Java IDE that many of the Ajaxians use on a daily basis. Although their bread and butter is Java development, they started to put JavaScript functionality into their IDE, and stepped it up from being a bit of a toy, to somethi
- Previous links
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
BEA looks to open-source part of WebLogic Workshop
Just saw this article on eWeek. The article states that BEA is slated to announce plans to open-source portions of its WebLogic Workshop tool at the upcoming eWorld conference. BEA has a pretty good record of supporting open-source software and the XMLBeans project is a good example of that. I think the support of AspectWerkz is another example.
If BEA does open-source some of the features of Workshop, this could really help the Eclipse Webtools platform project. I am not a Workshop power user by any stretch of the imagination, but it still does have some pretty cool features. It would be nice to incorporate things like page flow and some of the other cool features into the Eclipse webtools product - Give IntelliJ's Fabrique a run for the money.
Tags: AOP, eclipse, intellij_idea, java, WebLogic, xmlbeansRelated posts