Archive for 2011

Merging PDF files in Java

I was just looking for some way to merge PDFs generated from different sources to one final deck. iText library was one obvious choice but when I looked into PDFBox library I was stunned with the simplicity and ease with which PDFs can be merged..
Saturday, November 5, 2011
Posted by Unknown

Windows 8 - carbon copy of Apple's business model...all in ones

I am personally not impressed with what Windows 8 has to offer. In short here is the Summary: Responsive start and shut down time - more like Apple devices. Slider UIs copied from iPhone and similar mobile devices. Metro UI - It's boring over time.
Sunday, September 18, 2011
Posted by Unknown

Performance Analysis for Enterprise Java Applications

Users come to you and shout "Why Trades page is taking too much time to load?" Now you may say because I call Trade Service so it might be taking time to return the response in timely fashion. You approach developer of the Service and ask - Can you please.
Saturday, September 3, 2011
Posted by Unknown

Maintain your daily Logs with Notepad

Do you wish to keep notes where the notes keep the date automatically? Well here is an awesome trick for you. All you need is notepad. 1) Open a blank notepad file. 2) Type .LOG in all caps at the top and hit enter. 3) Now save the file. 4) After.
Wednesday, August 31, 2011
Posted by Unknown

Sphinx Search Code is available for download...

Hi Today I got an email from roger.xia from China regarding the Sphinx search article i posted few months back, he requested the source code so I uploaded the same on dzone, Any one who is interested in trying Sphinx free text search code can download.
Monday, August 22, 2011
Posted by Unknown

Task Scheduling in JBoss Server ...

First thing I would like to admit is - Sorry for being away for so long !!! Next let's quickly move to second thing which is the topic of today's very simple post - scheduling jobs in JBoss :) In many projects there is a requirement for cron-like task.
Sunday, August 7, 2011
Posted by Unknown

Google+ wishlist..

This is what I would like to have in next release of Google+: 1. Robust developer API (Many users get hooked on games like Farmville, and that would not have been possible without the application platform Facebook provides). 2. 'Import Facebook contacts'.
Sunday, July 3, 2011
Posted by Unknown

Handling alien Java types in XML messages

Most of times we find ourself in situations where the XML instance doesn't fully comply with the available Java types. Let's define a near real world problem to understand this. Problem: Need to process XML message coming from some XYZ source we don't.
Saturday, May 14, 2011
Posted by Unknown

Converting JSF <h:dataTable/> to <annaRascla:RajniKant/> table ...

By RajniKant table I mean a readonly table that has all the features (sorting, pagination, searching etc). Most developers who are struck with JSF RI implementation know already how difficult it is to provide all these mentioned features. Suddenly.
Posted by Unknown

Building RESTful WS with JAX-RS (Jersey) and Tomcat

This post is dedicated to my friend jagdish salgotra who wanted me to write something on RESTful web services and to all starters in this area. In the REST(REpresentational State Transfer) world, information on the server side is considered a resource,.
Sunday, May 8, 2011
Posted by Unknown

Saving ENUM values as String in database using JPA

First of all nothing very fancy or technical about this post :) Let's say you have an enum declaration as shown below and you want to store these values as String (not the evil ordinals) in the database: public enum UserSex { MALE, FEMALE, UNKNOWN } To.
Sunday, May 1, 2011
Posted by Unknown
Tag : ,

Ready made Template for J2EE project (EJB+JPA+Hibernte+Richfaces) deployed on Jboss AS 5.1.0.GA

This project will serve as a ready made template for all who want to use EJB3, JPA, Hibernate and JSF (Richfaces) in their project deployed over JBoss AS 5+ version.Who Can use this template?All who want to use above technology stack for the very first.
Sunday, April 17, 2011
Posted by Unknown

Thanking Anna Hazare through JBOSS e-mail Service...

Hi everyone, First of all thanks to Anna Hazare and all who have really fought for lokpal bill. Today's article is about sending Thanks email to Anna Hazare for his tremendous dedication towards our great nation, it's about setting up SMTP server to.
Saturday, April 9, 2011
Posted by Unknown

Wanna play 'Sheela ki Jawani' when something erroneous happens in your Code??

This post is in continuation of my earlier post - "using log4j for various logging events" We all are familiar with log4j (if you are not then you can read out here). We all know about different types of appenders available like - File Appender, Console.
Saturday, January 22, 2011
Posted by Unknown

Accessing Social Network using 'Spring Social' and 'Scribe' APIs

Few days back I came across Spring social API library developed to access social networking sites from within the Java programs and finally Today I got chance to explore it :) The current milestone includes templates for Twitter, Facebook and LinkedIn..
Sunday, January 16, 2011
Posted by Unknown

Understanding Basic Financial System..

From a bird’s eye any financial system looks like as shown below (self explanatory): In any Financial system we have Accounts, Portfolios, Positions, Orders, and Transaction etc. Let's understand these in details. EQUITYThe term's meaning depends.
Saturday, January 8, 2011
Posted by Unknown

Popular Post

Labels

JAX-RS (1) JPA (1) RESTful (1) enums (1) java (2) mysql (1) request 2 (1) sphinx (1) tomcat (1) web service (2) ws (2)