Java

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

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 […]

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  

Share

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 […]

Continue Reading  

Share

If you want to add a feature in XWiki, something that you cannot already find implemented in XWiki code zone, you should go to the core of this platform. Implementing something new, means interacting , adding new elements to XWiki sources. It means configuring the wiki to recognize your new features and then creating a […]

Continue Reading  

Share

Context: – JBoss 5.1.0GA – Oracle9i Problem: During a long processing transaction, the ORA-02049 exception was thrown. Solution: According with metalink note 789517.1

Continue Reading  

Share

Some tips to avoid a headacke when dealing with xwiki and xeclipse: Common ground: xwiki version: 2.0, xwiki syntax: 2.0 -> If you need to create new and a lot of new documents in a space and time is limited for this activity, an error may occur when you close and want to reopen some […]

Continue Reading  

Share

I have spent some time recently trying to integrate Lotus Notes with an existing Java web services consumer. The web service consumer (ProjectRepository) was build on Apache Axis technology and provided the project names my application needed. So I created an Java agent that uses that existing code:

Continue Reading  

Share

Gui4j is a framework for describing Java Swing GUIs completely in XML. It was developped by beck et all projects. The graphical user interface is created dynamically based on the XML definitions. Each GUI window is associated with exactly one top-level XML file. Each XML file is associated with a java object that acts as […]

Continue Reading  

Share

By default, accessing an HTTPS URL using the URL class results in an exception if the server’s certificate chain cannot be validated has not previously been installed in the trust store. Working with: Eclipse as platform, JAVA for the programming language Purpose: certificate yourself to a webservice so that you can perform operations and access […]

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