Java

Share

1. Rollback all data on import from a table if a row is corrupted.You have a list of sql queries as a parameter:

Continue Reading  

Share

Hi there, As my journey with Liferay continues I thought it would be a good idea to write down some.. let’s say, miscellaneous stuff that were apparently trivial, but turned out to consume much more time than expected. So, there is one for today (actually happened last week) and I will keep updating this blog […]

Continue Reading  

Share

Once we received the information from the web services, the next step was to parse that stream in order to get the necessary data. I needed a quick and easy way of doing this. After a little search on the existing solutions, I have chosen to use Xstream library. It’s simple to work with and […]

Continue Reading  

Share

If you wish to create an XML file and then parse it to use the containing information for some other logic you should keep in mind a small, but annoying “feature”. Error : -> org.xml.sax.SAXParseException: Content is not allowed in prolog.

Continue Reading  

Share

James Gosling, the creator of the original design of Java has resigned from Oracle a week ago.  The news is anounced only now on his blog and confirmed by other sites (where you can find more details):

Continue Reading  

Share

JProfiler is a modern and very useful Java tool for analyzing data. It’s dedicated to analyze J2EE, J2SE projects, and can integrate a number of IDE. An equivalent profiler for NetBeans is Jfluid Technology. JProfiler’s interface is user friendly and very fast in achieving the goal that came from the need to use an analyzing […]

Continue Reading  

Share

This is an issue that I have tried to find answers on the internet because it is a big problem that I had. So the problem is in Liferay Portlet development. When you work on the JSP files, make minor modifications and want to upload them into Liferay to see them. To be recompiled

Continue Reading  

Share

Introduced in Lotus Notes 6, LS2J allows the use of Java code from Lotus Script. To use LS2J from within Notes, your Lotus Script code must include this line: UseLSX "*javacon"UseLSX "*javacon" This loads the LS2J Dynamic Link Library (DLL) on Win32 and registers all the Application Data Types (ADTs). Lotus Script provides a JavaSession […]

Continue Reading  

Share

When sorting a list of strings in alphabetical order you shouldn’t use the comparison methods of the String class (especially when writing internationalized programs). The String.compareTo method performs a binary comparison of the Unicode characters within the two strings, which is ineffective when sorting in most languages,

Continue Reading  

By continuing to use the site, you agree to the use of cookies. More information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close