public marks

PUBLIC MARKS from solrac with tags programming & java

May 2009

Effortless XML manipulation with Groovy slurping

To be a successful software developer in this day and age, you need a set of tools that makes dealing with XML effortless. Groovy introduces new and better ways to create and process XML. With the help of some examples, this article shows you how Groovy makes building and parsing XML refreshingly simple.

Standard Widget Toolkit trees

This article explains how to develop and implement trees in the Standard Widget Toolkit (SWT). Learn how an SWT tree is created and populated with data, how columns can be used to categorize data, how a tree can be extended to support row sorting, and how the tree's content can be searched.

Java failure postmortem diagnostics with Apache Kato

The artifacts produced when your Java application fails can help you analyse the root causes of the failure. This article shows how you can analyse problems with your Java code using the artifacts produced when your application unexpectedly terminates.

Now HeapAnalyzer automatically detects invalid heap dumps

HeapAnalyzer, a graphical tool for discovering Java heap leaks, has released Version 3.7 that automatically detects invalid heap dump formats and processing. See how HeapAnalyzer analyzes Java heap dumps by parsing the Java heap dump, creating directional graphs, transforming them into directional trees, and executing the heuristic search engine.

Scala and Twitter becomes Scitter

Learn how Scala's functional nature, which aligns well with Twitter's RESTful nature, and its extremely good XML processing features, makes it easy to build a Scala client library to use Twitter API to query its public timeline of tweets. This article shows you by example, how to use Scala to build the basic framework for a client library for accessing Twitter.

Step through Securing your Grails application

Grails provides all the basic building blocks you need to put together a secure Web application. Setting up an authentication infrastructure answers the question, "Who are you?" Get a hands-on lesson in enabling logins, limiting activity based on whether or not the User is logged in, and how to add in some authorization based on the User's role.

April 2009

IBM launches a new Social Network for Developers

Now with "My developerWorks" you get the benefit of a personalized profile and custom home page as your gateway into how-to articles, tutorials, forums, IBM trial downloads and tools, technical briefings, blogs, spaces, podcasts, sample code, and wikis. You also get the most important new ability to easily network with a technical community of over 8 million skilled UNIX, Java, Linux, Web Development, XML, and Open Source developerWorks users, who are students, software developers, and IT professionals, like you. Now you can build your technical skills and your professional network at the same time and in the same place.

Faster and easier testing with EasyMock

Join Elliotte Rusty Harold for a look at some hard unit tests made easy through mock objects — more specifically, the EasyMock framework. This open source library saves you time and helps make your mock-object code concise and legible. See by example how EasyMock is a huge time saver that produces much shorter code at a minimal cost.

Advanced system performance and Garbage Collection tuning concepts

Your system has specific performance settings that you can change to make it handle its workload better. Get every drop of performance out of your Central processing unit (CPU), Memory, Disk (both space and access speed), your Network throughput and JVM garbage collection with these performance tunning tips.

Build a RESTful service on CICS with PHP

This tutorial shows how you can use Java, and PHP to quickly and easily work with CICS programs and expose them on the Web. If you are a PHP developer, find out how you can use your PHP skills to interact with enterprise assets in CICS; if you are a CICS developer, see how PHP provides a simple and agile way to manipulate your existing resources.

Make Amazon's S3 cloud much easier with Java based JetS3t

It's always best to write less code, right? And it makes a lot of sense to borrow someone else's hard work too. As you'll see in this article, the Amazon S3 service can expose the RESTful API and JetS3t makes working with S3 and the Java language a lot easier and ultimately a lot more efficient.

SLAP your code arround and turn it into Smart Reuse

This article discusses two important patterns for code structure: composed method and single level of abstraction (SLAP). Applying these principles to your code allows you to find important reusable code assets that remained hidden before, with the further benefit of letting you abstract existing code into harvested frameworks.

Correcting Java OutOfMemoryErrors on AIX

Running out of Java heap isn't the only cause of a java.lang.OutOfMemoryError. If native memory runs out, OutOfMemoryErrors that your normal debugging techniques won't be able to solve can occur. This article explains what native memory is, how the Java runtime uses it, what running out of it looks like, and how to debug a native OutOfMemoryError on AIX.

Groovy's iteration strategy trumps Java's

The best part of this whole Groovy each() exercise is that it cuts a huge swath across Groovy with very little effort. There isn't much novelty to iteration in Groovy once you read all about the each() method. See how Groovy's versatile each() method lets you leave the Java language's iteration quirks behind.

The API Layer strategy

This article covers the API Layer transaction strategy, which is the most robust, simplest, and easiest-to-implement transaction strategy. With that simplicity comes limitations and considerations that this article describes. Learn how to use the EJB 3.0 specification in code examples; the concepts are the same for the Spring Framework and JOTM.

A new way of modeling your app code with Scala Actors

Actors aren't a panacea to fix every concurrency problem your code might run into, but they definitely present a new way of modeling your application or library code, using constructs that look and act in a fairly simple and straightforward manner. See how programming in Scala Actors demands a slightly different style than programming in "traditional" objects

Add Ajax and JSON to Java EE apps using JSP talibs

Learn how to use configurable JavaServer Pages (JSP) TagLib-based controls that leverage JavaScript Serialized Object Notation (JSON), JavaScript scripting language, and Cascading Style Sheets (CSS). Because they are standard JSP TagLib controls, find out how you can easily drop them into any Java EE application to provide more intuitive and responsive user user interfaces.

Increase PHP productivity with PHPCompute

The PHPCompute node is a new general-purpose programmable node that embeds the WebSphere sMash runtime for PHP. This article shows how you can use the PHPCompute node to write PHP scripts that transform and route messages in WebSphere Message Broker.

Avoid the gotchas of Agile planning

Are you part of a team that wants to get on board the agile planning bandwagon? Are you using iterative development and still stuck doing "waterations"? This article answers the question, "How do I start developing releases with agile planning?". It shows what worked, as well as the mistakes made, to illustrate a coherent and realistic understanding of the basics of agile planning.

The bridge between GWT, Java, XML and PHP

Google Web Toolkit (GWT) applications, apart from connecting to servlets in time-honored Java fashion, can also use PHP Web services to send and receive data in XML. You'll explore methods to generate XML documents and process them, both in the Java language and in PHP. This article examines a simple GWT application and a couple of PHP Web services that consume XML documents.

Leverage a Cloud Computing hybrid model in applications

Explore cloud computing and the offerings from the major cloud platform vendors: Amazon, Google, Microsoft, and SalesForce.com. Take a look at an example of a typical corporate application that uses a JMS queue, and examine what would be involved to hybridize part of this JMS infrastructure in the cloud.

Implementing RPC for JavaScript using Ajax and Java code

This article shows how to implement a Remote Procedure Call (RPC) mechanism for Web applications that use JavaScript on both servers and clients. You'll also learn several interesting techniques, such as implementing Java interfaces with JavaScript, building an XMLHttpRequest wrapper, making Ajax debugging easier, and using JSP tag files to generate JavaScript code.

March 2009

Build and deploy OSGi as Spring bundles using Felix

The power of the Spring framework has made development of OSGi applications simpler and more effective. OSGi itself also has revolutionized the way Java applications are bundled. Learn how to build and package Java classes as OSGi bundles using the Spring DM framework in a Felix container.

The clear advantages of XQuery over PHP and JSP

Like Structured Query Language (SQL), XQuery is a lookup specification tied to the XML standard. Using XML as the model and XQuery as the view is a powerful way to provide a language-agnostic solution while still retaining the benefits of using the MVC pattern. In this article, explore the advantages of XQuery over other view technologies (PHP, JSP), how XQuery is implemented in the presentation layer, and a realistic example of such an implementation.

Rewiring Grails with custom URIs and codecs

This article shows you how to affect the lifeblood of any Web application: the URIs used for navigation. The permalinks back to individual entries are passed around the Internet like calling cards; the more descriptive they are, the more effective they are. Learn how to tweak the UrlMappings.groovy file to create new pathways. And finally, you'll create a custom codec to generate custom URIs more easily.

solrac's TAGS related to tag programming

admin +   aix +   ajax +   amazon +   android +   apache +   app +   application +   applications +   apps +   atom +   business +   c +   c++ +   CakePHP +   chat +   cloud computing +   code +   database +   db2 +   desktop +   dhtml +   django +   dojo +   eclipse +   Eclipse Europa +   ejb +   entrepreneur +   europa +   feeds +   firefox +   flickr +   google +   Grails +   groovy +   GWT +   hibernate +   html +   ibm +   ide +   innovation +   internet +   iphone +   j2ee +   java +   javascript +   Javaserver Faces +   jQuery +   JSF +   json +   jsp +   jvm +   linux +   migration +   mobile +   network +   oo +   opensource +   performance +   perl +   php +   python +   radrails +   rails +   rational +   rest +   ria +   rss +   ruby +   ruby on rails +   Scala +   scripts +   search +   second life +   security +   semantic +   smartphone +   soa +   social +   solaris +   spring +   sql +   startup +   startups +   symfony +   system admin +   tech +   testing +   twitter +   ubuntu +   unix +   web +   web 2.0 +   web application +   web applications +   web apps +   web development +   web services +   xml +   xslt +