jColibri and data base connectors

jColibri is a Java framework developed for designing and implementing Cased Based Reasoning  (CBR) applications.  CBR is the process of solving new problems based on the solutions from past problems and has been developed by Roger Schank together with his students from the Yale University in the early 1980. Since then, CBR has become one [...]

Tags:       

Regular expressions

Regular expressions (or regexp) are used in programming to identify a template, a model, or elements that repeat in a predictable manner. They are a special sequence of characters that help you match or find strings or sets of strings, using a specialized syntax. Regular expressions reduce development time, because it takes only one line [...]

Tags:         

JAX-WS Webservices

This article will briefly describe how to create a JAX-WS webservice with JBoss 5.1 and how to avoid JAXB serialization/deserialization problems that might arise during the deploy process of the webservice.

Tags:      

Liferay webapps start in the wrong order

Suddenly, when restarting Liferay, the ROOT webapp was not anymore the first one that got started (it was the 4th or 5th). Because of this, all the portlets that make use of Liferay’s main services did not start correctly also. These portlets were started before ROOT.

Tags:   

Liferay: Deployment will start in a few seconds… and how to realy start

During my experience with Liferay Portal I had this problem several times. When uploading a portlet (new or a new version of an existing one) Liferay says the following: Copying 1 file.. Copying 1 file.. ……. ………war copied successfully. Deployment will start in a few seconds. and then nothing happens.

Tags:   

SQL Transactions in Java

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

Tags:     

Tips and Tricks for programming in Liferay Extended Environment – Part 1

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

Tags:   

Integrating Lotus Notes applications with web services(Part 2)

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

Tags:     

Login module via LDAP with Active Directory User in Java

In this article I will briefly describe the steps needed for creating a user login for an application with users registered in an Active Directory. Login will be done via LDAP protocol, and the credentials will be matched against the Active Directory registered user’s credentials.

Tags:       

Parse an XML file issue

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.

Tags: