In C# ENUMs are storage efficient data structure acting at run-time just like primitive types. The following presents one way to generate an enumeration class within a dynamic assembly using database data. Read the rest of this entry »
Archive for category Ropardo Software Development
If you are planning to migrate a database application from Oracle to PostgreSQL, this article can help you to understand and solve some of the issues occurring in such a process. PostgreSQL has recently become feature-complete in many areas and therefore porting projects from Oracle might be a feasible option in much more cases. Oracle and PostgreSQL both conform to standard SQL. However, they contain several extensions and implementation details that differentiate one from the other. Here is table with some of the differences and how to deal with them. Read the rest of this entry »
Over the developing period of Django web application the models change a lot. Managing these changes in a team environment working on a Django project can become complicated. Unfortunately Django doesn’t capture the changes in the existing models. Until Django will provide an solution to this problem, you will need to use a schema migration tool. After I have browsed for such tools, I decided to use South. This post will explain how to use South. Read the rest of this entry »
Task: Show in a jsp file some properties you have declared in a .properties file in the project
Solution1:
Use the Jquery Plugin for internationalization. Think of this as using the ResourseBundle of Java. Loading and parsing the information from the .properties files and showing them in the jsp page.
Read the rest of this entry »
Let’s assume that we have to build a price calculator for a osCommerce website, that needs to have price based on dimensions(input from user – length, width), attributes, for each attribute there are more than 1 options with different prices for each option.
Wanting to implement a .jnlp jar for an application i run into this error that popped out in an error dialog “Uncaught System Error:org/apache/jaxme/JMElement” and after this, that project was blocked.
SQL Transactions in Java
Jun 11
1. Rollback all data on import from a table if a row is corrupted. You have a list of sql queries as a parameter:
Read the rest of this entry »
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 with new ones that I find (or remember :P ).
Use EntityLocalServiceUtil instead of EntityUtil wherever possible
For example use UserLocalServiceUtil instead of UserUtil if you need to programmatically update user details. Read the rest of this entry »
Displaying a web page inside a widows form application and interact with the content it’s very simple using System.Windows.Forms.WebBrowser.
This way you can easily create a panel containing ads in to your application or even communicate with a 3rd Party web component for displaying data. In our case we needed to integrate an enterprise application with an applet provided by Oracle that was capable of displaying and comparing 3d models.
Read the rest of this entry »


