Skip to main content

Emmanuel Hugonnet's Library tagged tips   View Popular

05 Dec 08

Customizing JAXB : Enterprise Tech Tips

In this tip, you'll learn several ways of customizing or extending the default behavior of JAXB. A samples package accompanies the tip. The package includes two files, JAXBSample.java and schema.xsd that demonstrate some of the techniques covered in this tip. The tip also points to resources that more fully cover the topic.

blogs.sun.com/...customizing_jaxb - Preview

jaxb tips

01 Dec 08

4 steps to add Scala to your Maven Java projects | StuQ.nl

In this tutorial you learn how to integrate Scala in your existing Maven Java projects. From configuring the project’s pom file to adding your first Scala code. Tip: Try to hide this inside a large code commit, and your co-workers will not notice you have added Scala support.. surprise!

stuq.nl/...la-to-your-maven-java-projects - Preview

scala maven tips

14 Nov 08

» Rerouting Spring Security 2 Login Page Through a Spring Controller - It’s Only Software

Typically, you might want to display data on the login page that’s provided by Spring service-layer beans, or tie into the i18n bundles you’ve configured, or tens of other possibilities.
Fortunately, this is possible with a few tweaks to your Spring configuration. In this post, I’ll assume you’ve started with the configuration I wrote up in the initial 5 Minute Guide to Spring Security.spring ace

www.mularien.com/...ge-through-a-spring-controller - Preview

spring acegi tips

27 Aug 08

12 things I bet you didn't know about Hibernate

I’ve been working with Hibernate for the past 2 years, doing multiple projects with the framework. With this experience, I thought I pretty much had Hibernate figured out and knew what was possible and what wasn’t. Now this month, I have been prepping for a course I’ll give about the framework and to my great surprise I actually learned a lot! I’m more then happy to share some of this new cool stuff I’ve found out!

www.inze.be/andries - Preview

hibernate orm tips

07 Aug 08

Linux Commands I Hardly Knew

Quickly Find a PID with pgrep
Execute The Last Executed Command
Execute The Last Command Starting With ...
Last Argument.
Run a Command Repeatedly and Display the Output
Save Quickly in VI/VIM
Quickly Log Out of a Terminal
Navigate to the Last Directory You Were In
Make Parent Directories the Smart Way
Delete the Entire Line
Set the Time stamp of a File
Command to File
Ampersand
Resetting your session

atoztoa.blogspot.com/...ux-commands-i-hardly-knew.html - Preview

linux tips

10 Jul 08

Create simple custom Converter implementation class in JSF

This article explains the simple Converter class implementation. Converter class is used for converting any given input to the desired output format or with any business logic to the input values. This example also includes the PhaseListener to identify in which JSF lifecycle phase the convertion happens.

www.javabeat.net/...-converter-implementation.html - Preview

jsf tips

27 Jun 08

Cobertura with Maven and Hudson

Cobertura and Maven: There are TWO important things to do. Then, we’ll see about integrating Cobertura and Hudson.

ericlefevre.net/...obertura-with-maven-and-hudson - Preview

maven tools tips

24 Jun 08

Firefox: Functional Firefox User Styles

Now that you've been running Firefox 3 for almost a week, it's time customize its interface to your liking with a few great user styles. Just like you can add user scripts (JavaScript) to web pages with the Greasemonkey extension, you can also add user styles (CSS) to Firefox's interface with the Stylish extension. While lots of user styles just skin specific web sites with a new look, many can actually improve the browser itself by changing the look and behavior of menus, tabs, dialogs, and buttons—Firefox's "chrome." Let's take a look at some of the best user styles which tweak, customize, enhance, and streamline Firefox's chrome.

lifehacker.com/...functional-firefox-user-styles - Preview

firefox tips

23 Jun 08

Specify and Manage web application context root in Maven 2


Let us assume you have to create atleast one web module in a JEE project. By default Maven assigns a context root whose value is the same as the value of artifactId in the pom.xml of the web module. The below description helps in overriding this default behaviour.

The below screenshot shows the pom.xml of the web project [module]. Hence the application.xml inside the EAR packed will have the context root as theaweb [which is nothing but the value of artifactId].

theasolutions.com/...mavenwebappctx.jsp - Preview

maven tips war

Erlang-style Supervisor Module for Scala Actors

In this post I will explain how you can build fault-tolerant systems using Scala Actors by arranging them in Supervisor hierarchies using a library for Scala Supervisors that I just released.

jonasboner.com/...rvisor-module-for-scala-actors - Preview

scala tools tips

Unit tests are not integration tests

The classic difference between integration and unit testing is that unit tests run in isolation, or near-isolation. Using an in-memory database for DAO unit tests. Using mocked-out components for the other layers. Integration tests, on the other hand, test the whole stack. If you're using Spring, you inject the whole Spring context and try to flush out any configuration issues, or integration issues between the various layers.

weblogs.java.net/...unit_tests_are.html - Preview

maven unit-test introduction tips

09 Jun 08

Test Early » Hudson - Tips and Tricks

This article describes a few real-life tips and tricks that we have found at work and will assist in configuring Hudson to work most effectively in your environment as well:

1. Changing Hudson home directory
2. OutOfMemoryError
3. Securing Hudson
4. Hudson Views
5. Hudson and Groovy
6. Spaces in directory names
7. Browser to use

www.testearly.com/...hudson-tips-and-tricks - Preview

hudson continuous-integration tips

04 Jun 08

Using Spring to Manage JSF Beans

The traditional way to integrate JSF and Spring was to define JSF beans in faces-config as managed beans and refer to the spring beans using the managed-property configuration. With the help of the spring’s delegatingvariableresolver the managed property is resolved from spring application context and JSF’s IOC injects the bean to the JSF Managed bean instance. I’ve written an article it about this way before

prime.com.tr/cagataycivici - Preview

jsf spring tips

Using Spring request scope in JSF portlet

When you use Spring request scope with your JSF application, you can configure your request and session scoped beacking beans in a Spring application context instead of faces-config.xml. The great thing about this possibility is that the syntax of the Spring configuration is much more consise and that Spring AOP gives you a world of useful interception features.

nowhere.kazed.net/...1 - Preview

spring jsf portlets tips

30 May 08

Enterprise Java Community: JSF Anti-Patterns and Pitfalls

This article covers anti-patterns and pitfalls of day to day JSF development. These challenges include performance, tight coupling, thread safety, security, interoperability and just plain ugliness.

www.theserverside.com/...knowledgecenter-is.tss - Preview

jsf j2ee tips anti-patterns

29 May 08

Find of the day: Wagon Subversion extension

Say you want to host your small project on a provider like Google Code, but they don't give you SSH access, and since your project is using Maven 2, you'd really like to be able to use its handy release plugin, which requires the ability to push files over to a repository. The missing link, for me anyway, has been setting up a Maven 2 repository to host jars and snapshots of these little one-off projects. I want to be able to use the existing Subversion repository Google Code gives me to be the Maven repository, but Maven needs a way to commit new files and directories...

www.jroller.com/...find_of_the_day_wagon - Preview

maven svn tips

27 May 08

21 Ruby Tricks You Should Be Using In Your Own Code

I get to see a lot of Ruby code while writing for Ruby Inside. Most is very good, but sometimes we forget some of Ruby's shortcuts and tricks and instead reinvent the wheel. In this post I present 21 different Ruby tricks, from those that most experienced developers already use every day to those that are more obscure.

www.rubyinside.com/21-ruby-tricks-902.html - Preview

ruby tips

21 May 08

Primary and secondary table with JPA

It‘s the third time I‘ve been asked if in JPA you can persist the attributes of your entity in several tables. The answer is yes. It has a performance impact (each simple query will use joins) but it can be very helpful when you need to map your objects into an existing database.

www.jroller.com/...imary_and_secondary_table_with - Preview

jpa ejb3 tips

  • It‘s the third time I‘ve been asked if in JPA you can persist the attributes of your entity in several tables. The answer is yes. It has a performance impact (each simple query will use joins) but it can be very helpful when you need to map your objects into an existing database.
30 Apr 08

The 90th percentile: Mock Your Spring Config for Fun and Profit

What follows are all the alternatives that we tried to configur Spring: - PropertyPlaceHolderConfigurer - Spring imports - Spring JavaConfig - Placeholders in ApplicationContext - Extending ContextLoader

icoloma.blogspot.com/...spring-config-for-fun-and.html - Preview

spring tips configuration

25 Apr 08

Using Callable to Return Results From Runnables : Core Java Technologies Tech Tips

Thanks to the Callable interface introduced in J2SE 5.0, instead of having a run() method, the Callable interface offers a call() method, which can return an Object or, more specifically, any type that is introduced in the genericized form.

blogs.sun.com/...get_netbeans_6 - Preview

jdk1.5 thread tips

1 - 20 of 319 Next › Last »
Showing 20 items per page

Highlighter, Sticky notes, Tagging, Groups and Network: integrated suite dramatically boosting research productivity. Learn more »

Join Diigo