TransactionScope for SQL commands not working as expected? This article describes shortly how to use TransactionScope and also one of the most easy-to-make errors.
TransactionScope for SQL commands not working as expected? This article describes shortly how to use TransactionScope and also one of the most easy-to-make errors.
In today’s world when the IPv4 addresses are a luxury and IPv6 is not wide deployed (yet) more and more servers are running behind NAT-ed addresses. To do remote management on these servers you connect to them using SSH through some port forwarding done on the border gateway. If you need to monitor these servers […]
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):
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 […]
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
I’ve seen this problem around from the first versions of Apache Jackrabbit. The problem is straightforward and just. If you perform a WebDAV Lock command on an item in Jackrabbit the resulting lock token is available only in that command’s session. In other words, if you do not save the lock token that is provided […]
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 […]
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,
Under some circumstances, filtering a Datatable using its Select method may result in throwing following exception: “Min (some value) must be less than or equal to Max (-1) in a Range object.”
In many web applications at some point a programmer meets the need to make an archive of a/some document(s) and offer this archive for download. The main JAVA utilities for executing this archiving task are inside package java.util.zip. These classes implement an output stream filter for writing files in the ZIP file format. They include […]
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.