udid 26/08/2010 - 10:19
Tikal's recent experience with open source business intelligence, data analysis and report generation tools such as Pentaho CE and many others had...

In the last couple of weeks, I've been working on building a new architecture of a product for one of our customers. As many other products you probably know, I had to design the object model and be able to persist it to the the DB. So natively, I wanted to use JPA and Hibernate in order to persist the objects into the RDBMS. But then a new requirement came and bumped my face  - “parts of the domain-model and the data-model may be changed dynamically at runtime every now and again, while the system should stay running and without downtime”. The changes for the model can be applied by end users with “admin” role of the product, actually without changing the product itself (no new revision the product should be involved in this process).

yanai 11/08/2010 - 22:44

Hi,

For a multi-threaded NMS module that handles SNMP outbaound sessions and incomming traps, I am looking for a high level API that utilizes the java 1.5/1.6 threading API.

 

I have encountered several libraries, namely they are:

http://tempus-fugit.googlecode.com/svn/site/documentation/concurrency.html

 

http://code.google.com/p/jetlang/

 

http://prometheus.codehaus.org/overview.html

 

http://code.google.com/p/jconch/

 

Has anyone had real experience with any of these libraries or some other library?

 

I only need the threading module not the SNMP module.

 

Thanks,

shlomo 19/07/2010 - 16:44

Judging by Java inconsistencies in Google Java related products with Java itself, i think it was coming.

Oracle sued Google

http://www.bbc.co.uk/news/business-10961705

 

http://arstechnica.com/tech-policy/news/2010/08/oracle-sues-google-over-use-of-java-in-android-sdk.ars

 

tigor 15/08/2010 - 13:15

many of us often encounter the need to have a user management/authentication services.

if you're lucky, the users data is stored in an LDAP (unfortunately it's usually Active Directory).

if not, don't try to re-implement an LDAP. don't settle for short term vision. managing users/groups/passwords/policies is a major task that tends to grow during projects lifetime and eventually you spend a lot of time writing code that you shouldn't have.

instead, use OpenDS - a fully functional open source LDAP server from Sun.

avi 17/08/2010 - 11:20

I want to make a number of tests, which inherit from each other, due to common functionality.

The problem is when running each class, JUnit executes all tests within that class, therefore i run some tests number of times, which is absolutley unneccessary.

 

Can i avoid this ?

tigor 12/08/2010 - 11:22

There's a constant discussion about Scala being a complex language. In this post I'll try to show the simple parts of Scala that make coding easier.

 

My favorite article about why Scala is not complex is by Martin Odersky, the father of Scala: http://lamp.epfl.ch/~odersky/blogs/isscalacomplex.html. But there's one problem with it, it appeals to those already in favor of Scala.

 

I think Scala *is* complex. Some due to the functional concepts that are foreign to the Java world, some due to the requirement to work inside the JVM (and CLR). In fact, I was against Scala since 2006, because then I tried to learn it and found the syntax awkward. I recently had to start using it because a client required me to and haven't looked back since.

 

Ok, so now to the actual post, why should you use Scala: because some parts of it make programming easier even for novices:

ittayd 02/09/2010 - 21:33

Hi,

A client had this issue. Instead of presenting the whole case, here are two links that explain the scenario and provide possible solutions to this issue if you ever encounter it:

 

1- http://candrews.integralblue.com/2009/01/preventing-outofmemoryerror-nat...

 

2- http://www.talkingtree.com/blog/index.cfm/2005/3/11/NewNativeThread

 

 

 

shlomo 31/08/2010 - 09:18

I found this interesting article, that describes an old, hidden feature.

http://technologiquepanorama.wordpress.com/2010/02/03/integercache-in-jdk1-5/

tigor 30/08/2010 - 10:59

Here are 2 useful links which explain this feature and have some examples:
http://wiki.eclipse.org/Jetty/Feature/Continuations
http://docs.codehaus.org/display/JETTY/Continuations : see How it works section.

I use the eclipse version org.eclipse.jetty --> jetty-continuation in one of my client's projects and find it a very useful, powerful and reliable.

You can manage: timeouts, suspending a request, completing implementations, resuming a request, initial phase, adding continuation listeners or just handling the requests in a simple servlet without listeners and only by checking isComplete,isInitial etc...

oded 23/08/2010 - 18:01

http://gridgain.blogspot.com/2010/08/gridgain-30-revolution-begins.html

 

The API is more functional and there's also API for Scala.

ittayd 23/08/2010 - 13:58
Syndicate content