Loading

Tag Archives: application

JTable and JPA Pagination through custom TableModel

I really want to talk about JTable, Beans Binding and JPA pagination but I think I need to write about JTable and JPA pagination first. So I will take the Beans binding stuff in another post.
By the way, choose wisely your JPA Provider/DB Provider combination, as some combinations will not give you any real paginations [...]

Disable splash screen on your Netbeans Application

Just add
run.args.extra=–nosplash
to the project.properties file

Bookmark It

Hide Sites

$$(‘div.d304′).each( function(e) { e.visualEffect(’slide_up’,{duration:0.5}) });

Facebook API

I´ve been playing a little with Facebook API and I run into problems when trying to use the facebook.feed.publishStoryToUser api call. That call always return 0 (permissions error) for me. I realized that there´s a diference between “Added applications” and “Authorized applications”. So if you just direct the user to the login page (http://www.facebook.com/login.php?api_key=YOUR_API_KEY&v=1.0 ) [...]

Two web applications sharing the same Derby database

I just realized that to be able to open/share the same Derby database from two different web applications running in the same Tomcat instance (same JVM) you´ll need to put derby.jar in the $TOMCAT_HOME/common/lib and remove it from your applications WEB-INF/lib. I got the clue from this RIFE web page
the jarfiles you need are derby.jar [...]