Syndicate content

ori.tzoran 13/05/2012 - 02:14
The best way to get an insight into OpenStack is playing with a live installation, but OpenStack's...

 

"One of the common myths about open source software is that it is developed by communities of individuals. It is a myth that continues to propagate despite multiple sources of data that show the depth and breadth of corporate contributions to open source software."

 

"individuals are prominent in many Eclipse projects as well – dominating the Eclipse Communications Framework and GMT projects for example."

hagzag 18/07/2011 - 15:40

Every now and again I go to a Tikal customer, who needs to model hierarchical data structure for his domain model. The hierarchy can be a department hierarchy, a category hierarchy , a geographic hierarchy, or any other hierarchy you can think of, that might be needed by the customer. Usually this hierarchy is modeled by a Tree Data Structure.

yanai 26/09/2010 - 13:35

This tutorial indeed for people who is not familiar with Git and GitHub and make first steps with this this technology. The tutorial contains following steps:

  1. Installing Git and Git Extensions
  2. Setting up GitHub account ,SSH keys and repository
  3. Working with GitHub repository with Git Extensions
  4. Cloning public repository from GitHub

 

igorz 27/03/2012 - 13:13

 One of the advanced Spring Security features is remember-me option which allows user to use single sign to system after user's his credentials has been validated and he has been authenticated by system.

The most secure approach to do that is to use Persistant Token approach. You can read more about it here

 

We can describe this approach works the following way:

 

danny 09/02/2012 - 17:32

I have a jpa repository where I need to force a select for update query,

this is my code:

 

public DocumentTransaction findOneNonCompleted(String uuid, boolean lockForUpdate)
    {
        TypedQuery query = getEntityManager().createQuery("SELECT t FROM DocumentTransaction t WHERE t.uuid = ?1 AND t.docStatus = TransactionStatus.PROCESSING", DocumentTransaction.class);
        if (lockForUpdate)
        {
            query.setLockMode(LockModeType.PESSIMISTIC_WRITE);
            query.setHint("javax.persistence.lock.timeout",30000);
        }

        query.setParameter(1,uuid);
        List<DocumentTransaction> result = query.getResultList();
        ....
    }

 

 

I didn't get to debug it completely, the code works but I'm not sure about locking because I keep seeing this log message from hibernate:

shalom 12/04/2012 - 12:32

The project i am working on is a combination of Springs , Hibernate and Resteasy services. In this project i need to get the data from mysql database using hibernate and Springs is used of configuring all the service and Impl classes.
It has two methods which return database data in xml and json format using reseasy procedures.I have configured every thing correctly and the output is generated correctly but the problem is "The same code is sometimes producing the output and sometimes not"(It is giving a null pointer exception and stack trace is as follows).

SEVERE: Servlet.service() for servlet [Resteasy] in context with path [/resteasy] threw exception
org.jboss.resteasy.spi.UnhandledException: java.lang.NullPointerException
at org.jboss.resteasy.core.SynchronousDispatcher.hand leApplicationException(SynchronousDispatcher.java: 323)

nagarjun.kovi@g... 18/05/2012 - 19:11

 

 

Date: Thursday, May 24 th on 16:30 - 19:00
Hosting conference : "W3C forum" איגוד האינטרנט הישראלי 
Location: מכללת אפקה, מבצע קדש 38, תל אביב - מתחם הפיקוס, חדר 301, קומה עליונה
The Event is Free of charge.

 

Sign up to W3C forum on 24.5.12

 

18:00-19:00

"W3C forum" hosting : Dive into OOP & Architecture in Javascript (By: Oren Farhi, “Tikal”)

 

orenf 16/05/2012 - 14:47

Hi, Recently I gave a GWT overview lecture for Tikal internal crowd. This made me look for guidelines on how to create a presentation that is both informative and interesting to hear. Sure, it depends on the content – that is a given. But it seems there are good and bad ways to create a presentation. [...]

sefi 15/05/2012 - 13:30

something i'm definitely going to try...

a modern approach to programming for the Erlang VM.

elixir-lang.org

adi 10/05/2012 - 11:16

vert.x is an asynchronous server for web development similar to the model of node.js. you can write code in java, javascript, ruby or groovy.

 

In the linked article, a micro benchmark is performed to compare vert.x to node.js. the test was done by the people behind vert.x.

 

According to the test results, vert.x is twice faster than node.js, while offering a simpler model to utilize all cores as the JVM natively uses all cores while node.js requires a 'cluster' module to launch sub processes per-core.

 

ittayd 10/05/2012 - 10:01