Article

Hudson – Continuous Integration

People (developers) pricierComputers CheaperWhy not use more computers than people? Hudson in many companies used (not in Google?) community release every week detects changesbuilds record resultssend notifications cron – before hudson (+some customization using perl)can send emails only not anymore hudson – aggregate results, from different platform, different JVMs and so on (great feature) hudson… Continue reading Hudson – Continuous Integration

Article

Access EJB via HTTP in JBoss AS

If you are trying to acccess EJB through HTTP, you need to use org.jboss.naming.HttpNamingContextFactory for your context factory. However, there is only one small twitch in using that. You need to specify credentials accessing that invoker. This is what you need to add: env.put(Context.SECURITY_PRINCIPAL, “admin”);env.put(Context.SECURITY_CREDENTIALS, “admin”); This is complete code: Hashtable env = new Hashtable();env.put(Context.INITIAL_CONTEXT_FACTORY,”org.jboss.naming.HttpNamingContextFactory”);env.put(Context.PROVIDER_URL,… Continue reading Access EJB via HTTP in JBoss AS

Article

ENC in JNDI JBoss

The application component environment is referred to as the ENC, the enterprise naming context. It is the responsibility of the application component container to make an ENC available to the container components in the form of JNDI Context. // Obtain the application component’s ENCContext iniCtx = new InitialContext();Context compEnv = (Context) iniCtx.lookup(“java:comp/env”); http://docs.jboss.org/jbossas/admindevel326/html/ch3.chapter.html

Article

Lytro, living pictures from a light field camera

Lytro, will be a revolution in photography, no doubt about that. There were so many revolutions in this industry, from film photography with negatives to digital photography to the small cameras you can have it wherever you are carrying your phone with you. I don’t want to write a review about Lytro or persuade anyone… Continue reading Lytro, living pictures from a light field camera