ittayd 02/09/2010 - 21:33
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...

Hey,

My problem is a little complicated. I'll try to explain in details - but pls do not hesitate and ask for clarifications...

I have a product - applet based. I want to manipulate the code on run-time using aspectj. Since the applet is running on the client jvm I can't load it with '-Djava.system.class.loader=org.aspectj.weaver.loadtime.WeavingURLClassLoader' as with applications.

My current solution is to 'replace' the applet tag in the jsp - to call a wrapper applet. The wrapper applet is initiate the product with the aspectj classloader:

            URL source = new URL("jar:"+getCodeBase()+"aProduct.jar!/");

            URL aspect = new URL("jar:"+getCodeBase()+"myAspects.jar!/");

            URL[] urlList = {source, aspect };

keren 18/11/2008 - 09:32

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

Oracle's Mark Reinhold has posted updated plans for JDK7: http://mail.openjdk.java.net/pipermail/jdk7-dev/2010-September/001528.html

 

A summary can be seen here: http://blogs.sun.com/darcy/entry/project_coin_jdk_7_plan

ittayd 09/09/2010 - 19:58

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

Tikal's recent experience with open source business intelligence, data analysis and report generation tools such as Pentaho CE and many others had proven that the tools are efficient, simple, flexible, scalable, reliable and as free as Linux or Apache. 

udid 26/08/2010 - 10:19

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
Syndicate content