Skip to main content

How to Upload Images to DropBox In Java

Abhishek Somani explains how touse the Dropbox API to integrate Dropbox storage into your application. Including tutorial and downloadable code samples.

ListView Autoscrolling in JavaFX

Dirk Lemmermann explains how to create a ListView that automatically scrolls when a drag over occurs near the top or bottom, including complete code samples

Why Another MVC Framework in Java EE 8?

When introduced to JSR 371 (MVC 1.0), the first issue that comes to mind is JSF. Reza Rahman explains that MVC is not replacing JSF and, perhaps more importantly, why we need both frameworks in Java EE.

Securing WebSockets using Username/Password and Servlet Security

Arun Gupta shows us how to secure your WebSocket based application. Including code and config samples.

MyBatis-CDI: Persistence Alternative for Java EE

Reza Rahman points out an interesting alternative to JPA for ORM in EE applications using CDI to connect to MyBatis, which relies heavily on native SQL queries.

How to Build REST Infrastructure for Database Access

Val Huber outlines a process for creating a RESTful solution that addresses the common concerns around enterprise database access, including what you can reasonably expect from your REST vendors.

Injecting Domain Objects Instead of Infrastructure Components

Michael Scharhag Provides a slightly different take on using DI; rather than injecting a service (or repo, or other resource), he suggest directly injecting the desired domain object. Code samples using spring, with a description of changes needed to use CDI.

November/December Issue of Java Magazine is Out

Another Great Issue of Java Magazine has just been released. This one focused on expanding the next generation of the Java Community as well as Java running in places other than the traditional servers and workstations. IoT and Robots and Pi! Oh, My!

A Java conversion puzzler, not suitable for work (or interviews)

Peter Lawrey walks us through some of the idiosyncrasies of casting between numeric types and performing mixed type arithmetic. Fair warning: this one may make your brain hurt.

This is something I'm thinking about adding

Posted by christest on November 12, 2014 at 11:14 PM PST

1. On English site, create new content
URL on English site = myDecodedToken/nodeTitle
URL on Spanish site = es/myDecodedToken/nodeTitle
(so only 1 of the 3 node module tokens decodes)

2. On English site, add Spanish translation
URL on English site (has miraculously changed) = node/"nid"
URL on Spanish site = es/nodeJoinPath/nodeName/myDecodedToken/nodeTitle
(so Spanish site is correct)