Your work is going to fill a large part of your life, and the only way to be truly satisfied is to do what you believe is great work. And the only way to do great work is to love what you do.
-- Steve Jobs
Showing posts with label Java. Show all posts
Showing posts with label Java. Show all posts

Friday, November 23, 2012

Polyglot Programming on the Web | Groovy Zone

Polyglot Programming on the Web | Groovy Zone
Whether you like it or not, the web platform has become the dominant client-side technology. This fact is so obvious that even Microsoft and Adobe have abandoned their solutions in favour of the web. And as we’re going to build larger and larger applications in the browser, we need to find ways of doing it in a more productive fashion. I believe languages are a big part of it. And that’s where the Javascript community can learn a little bit from Java.

Wednesday, February 22, 2012

Transforming XML Data with XSLT | oracle.com

Transforming XML Data with XSLT
The Extensible Stylesheet Language Transformations (XSLT) APIs can be used for many purposes. For example, with a sufficiently intelligent stylesheet, you could generate PDF or PostScript output from the XML data. But generally, XSLT is used to generate formatted HTML output, or to create an alternative XML representation of the data.

In this section, you'll use an XSLT transform to translate XML input data to HTML output.

Java and XSLT: Chapter 5: XSLT Processing with Java | oreilly.com

Java and XSLT: Chapter 5: XSLT Processing with Java
Since many of the XSLT processors are written in Java, they can be directly invoked from a Java application or servlet. Embedding the processor into a Java application is generally a matter of including one or two JAR files on the CLASSPATH and then invoking the appropriate methods. This chapter shows how to do this, along with a whole host of other programming techniques.

The Quintessential Program That Transforms an XML File with XSL | Example Depot

The Quintessential Program That Transforms an XML File with XSL | Example Depot

Sunday, September 18, 2011

How to deal with "java.lang.OutOfMemoryError: PermGen space" error | Stack Overflow

How to deal with "java.lang.OutOfMemoryError: PermGen space" error - Stack Overflow
Recently I ran into this error in my web application:
java.lang.OutOfMemoryError: PermGen space
It's a typical Hibernate/JPA + IceFaces/JSF application running on Tomcat 6 and JDK 1.6.
Apparently this can occur after redeploying an application a few times.

Thursday, August 25, 2011

From Windows to Android with Glassboard | Nick Bradbury

Nick Bradbury: From Windows to Android with Glassboard
I can tell you that switching to Android wasn't easy after almost two decades of Windows development. I had to learn a new language (Java), a new IDE (Eclipse), a new platform (Android) and a new programming mindset (mobile) in a very short time. Oh, and just to make it harder, I decided to do it all on a Mac. I guess you could say I was looking for a challenge :)
And a challenge it definitely was.

Java 7: What's In It For Developers - Slashdot

Java 7: What's In It For Developers - Slashdot
GMGruman writes "After five years of a torturous political process and now under the new ownership of Oracle, Java SE 7 is finally out (and its initial bugs patched in the Update 1 release). So what does it actually offer? Paul Krill surveys the new capabilities that matter most for Java developers, from dynamic language support to an improved file system."

Monday, August 22, 2011

Rapid Cloud Development with Spring Roo – Part 2: VMware Cloud Foundry | Javalobby

Rapid Cloud Development with Spring Roo – Part 2: VMware Cloud Foundry | Javalobby
Spring Roo is a tool to offer rapid application development on the Java platform. I already explained when to use it: http://www.kai-waehner.de/blog/2011/04/05/when-to-use-spring-roo. Spring Roo supports two solutions for Cloud Computing at the moment: Google App Engine (GAE) and VMware Cloud Foundry. Both provide the Platform as a Service (PaaS) concept. This article will discuss the Cloud Foundry support of Spring Roo. GAE was discussed in part 1 of this article series (http://www.kai-waehner.de/blog/2011/07/18/rapid-cloud-development-with-spring-roo-%E2%80%93-part-1-google-app-engine-gae).

Friday, August 19, 2011

Tiggr, a Web-Based IDE for Building Mobile Apps | JAVA Developer's Journal

Tiggr, a Web-Based IDE for Building Mobile Apps | JAVA Developer's Journal
Tiggr is a Web-based IDE for building mobile Web and native apps. Today I’d like to give you 14 reasons why this new-of-a-kind IDE deserves your attention.

Wednesday, August 10, 2011

No Fluff Just Stuff

No Fluff Just Stuff
Since 2001, the No Fluff Just Stuff Software Symposium Tour has delivered over 200 events with over 30,000 attendees. NFJS is known for excellent speakers and timely presentations which cover the latest trends within the Java Ecosystem and Agility space. Our focus is solely on the attendee and providing a world class experience in a local venue setting. Bring your team and join us for a great experience!

Tuesday, August 2, 2011

Cobertura

Cobertura
Cobertura is a free Java tool that calculates the percentage of code accessed by tests. It can be used to identify which parts of your Java program are lacking test coverage. It is based on jcoverage.

SpringOne 2GX   2011 : Chicago, October 25 - 28, 2011 - Spring Framework , Groovy / Grails, Java / Agility Conference

SpringOne 2GX 2011 : Chicago, October 25 - 28, 2011 - Spring Framework , Groovy / Grails, Java / Agility Conference
SpringSource in conjunction with the No Fluff Just Stuff Symposium Series are pleased to present SpringOne 2GX, the premier Java event of 2011. SpringOne 2GX is a collocated event covering the entire Spring ecosystem and Groovy/Grails technologies.
SpringOne 2GX is a one-of-a-kind conference for application developers, solution architects, web operations and IT teams who develop business applications, create multi-device aware web applications, design cloud architectures, and manage high performance infrastructure. The sessions are specifically tailored for developers using the hugely popular open source Spring technologies, Groovy & Grails, and Tomcat. Whether you're building and running mission-critical business applications or designing the next killer cloud application, SpringOne 2GX will keep you up to date with the latest enterprise technology.
Featuring over 100 presentations delivered by development leads and published authors on the Spring, Groovy/Grails, Tomcat and Cloud technology today, it's the ideal place to obtain critical skills to help you build, run and manage tomorrow's software solutions. Plus you'll meet and learn from open source leaders who drive innovation for these technologies.

Friday, July 29, 2011

Java 7 Ships With Severe Bug - Slashdot

Java 7 Ships With Severe Bug - Slashdot
Lisandro writes "Lucid Imagination just posted an announcement about a severe bug in the recently released Java 7. Apparently some loops are mis-compiled due to errors in the HotSpot compiler optimizations, which causes programs to fail. This bug affects several Apache projects directly — Apache Lucene Core and Apache Solr have already raised an warning, noting that the bug might be present in Java 6 as well."

Monday, July 25, 2011

Rapid Cloud Development with Spring Roo – Part 1: Google App Engine (GAE) | Javalobby

Rapid Cloud Development with Spring Roo – Part 1: Google App Engine (GAE) | Javalobby
Spring Roo is a tool to offer rapid application development on the Java platform. I already explained when to use it: http://www.kai-waehner.de/blog/2011/04/05/when-to-use-spring-roo. Spring Roo supports two solutions for Cloud Computing at the moment: Google App Engine (GAE) and VMware Cloud Foundry. Both provide the Platform as a Service (PaaS) concept. This article will discuss the GAE support of Spring Roo. Cloud Foundry will be analyzed in part 2 of this article series.

GWT 2 Spring 3 JPA 2 Hibernate 3.5 Tutorial - Java Code Geeks

GWT 2 Spring 3 JPA 2 Hibernate 3.5 Tutorial - Java Code Geeks
This step by step guide will present how to develop a simple web application using Google's Web Toolkit (GWT) for the rich client and Spring as the back – end, server side framework. The sample web application will provide functionality to make CRUD (Create Retrieve Update Delete) operations to a database. For the data access layer we will use JPA over Hibernate and for a database we will use Hypersonic. Of course you can change the configuration and use whatever you like. We will deploy the web application to an Apache – Tomcat instance.
GWT in Action: Easy Ajax with the Google Web Toolkit Spring in Action Hibernate in Action (In Action series)

Inspired by Actual Events: Book Review: Java: The Good Parts

Inspired by Actual Events: Book Review: Java: The Good Parts
I recently had the misfortune of waiting at the airport for roughly six hours as my flight was repeatedly delayed 30 minutes at a time until it was ultimately canceled. The one silver lining in this cloud was that I was able to read almost all of Jim Waldo's Java: The Good Parts while I waited (the book comes in at under 200 pages). In this post, I talk about what I like best about this book and who I believe its best audience is.

Tuesday, July 19, 2011

Inspired by Actual Events: O'Reilly's OSCON Chairman: "Java deserves another look"

Inspired by Actual Events: O'Reilly's OSCON Chairman: "Java deserves another look"
I frequently wholeheartedly agree with opinions expressed by Java.net editor Kevin Farnham in his Editor's Blog. Nevertheless, I was still surprised to discover that his most recent post (Is Java Becoming an 'Emerging Technology'? Ask O'Reilly) seemed to capture and even better articulate my own recent thoughts after reading the same three O'Reilly posts (all by Edd Dumbill) he references: Seven reasons you should use Java again, Seven Java projects that changed the world, and A rough guide to JVM languages. Each of the three Dumbill/O'Reilly posts is well worth reading on its own merits, but what really struck me is the overall observation I made as I read these posts: this might be O'Reilly's way of saying "Java is back!"

Monday, July 18, 2011

Sunday, June 5, 2011

Model Two Zero: Running Cloud Foundry on Amazon EC2 (or any Ubuntu server!) and Deploying Using STS

Model Two Zero: Running Cloud Foundry on Amazon EC2 (or any Ubuntu server!) and Deploying Using STS

The idea with Cloud Foundry is that you can run it on any cloud infrastructure - hence the separation of cloudfoundry.org and cloudfoundry.com. The former is the open-source project that is building the infrastructure software, the latter is a commercial offering by VMWare.

So here's what this is about:
  • Running Cloud Foundry on EC2 instead of the out-of-the-box cloud VMWare provide
  • Connecting Spring STS to it
  • Getting a grails app deployed