Archive for the ‘Open Source’ Category

Cadec tutorials

January 22nd, 2013 by Johannes Carlén

Our developer conference Cadec with over 150 developers, mostly locals from Göteborg, have taken place recently. Nearly 60 of these developers also attended one of our three hands-on-tutorials. All three tutorials are on Github and open for anyone to work through, so if you’d like an intro to any of these domains, please feel free [...]

Posted in Dynamic languages, JavaScript, Mobile, Open Source, Scala, Web | No Comments »

Apache Cassandra and time series with TimeUUIDType in Java

December 5th, 2012 by Peter Larsson

As almost everybody knows; one of the main benefits with Apache Cassandra is the possibility to create column indexed time series, i.e. use TimeUUIDType as comparator and you get a chronologically arranged list of indexed column names and an excellent performance when performing slice queries.
If millisecond precision is good enough for you to create an unique [...]

Posted in Apache Cassandra, Java, Open Source | No Comments »

From the MuleForge: Working on the SFTP Transport and the Smooks Module

September 29th, 2011 by Magnus Larsson

How to transfer and transform very large files (> 1 GB) without headaches…
While Web Services (SOAP or REST based) gets all the attention in the press, there are many companies still struggling with file transfers and transformation of very large files (for the scope of this blog defined as files of size > 1 GB). [...]

Tags: , , ,
Posted in ESB, Open Source | No Comments »

Soi-toolkit meets Mule Studio, a perfect match!

June 30th, 2011 by Magnus Larsson

Soi-toolkit and the upcoming Mule Studio (currently in beta) are two tools that simplify development of services and integrations based on Mule ESB. This article describes how these two tools complement each other to make the development even more simplified (and fun ☺).
First a short introduction of the two tools and then an illustrated test [...]

Tags: ,
Posted in ESB, Java, Open Source, SOA, Tools | 5 Comments »

Getting started with Soi-toolkit

January 23rd, 2011 by Jan Västernäs

Soi-toolkit adds value to the leading open source Mule ESB. Its makes it very easy to start building integrations and services.
You get projects setup including tests all based on Maven. You also get support for logging, property handling, WSDL and XML Schema creation and much more.
So how do you get started ? The Soi-toolkit website contains [...]

Tags: ,
Posted in Open Source, SOA, Tools | 1 Comment »

Keeping Database Schemas up to date

December 12th, 2010 by Jan Västernäs

Background
How many databases/schemas does your project use ? One common setup is to have one for each staging environment (development, test, customer, education, qa, production) and one for each developer and tester in the project. Maybe you even need a set of schemas free to use for anyone at special occasions. If the application is [...]

Tags: ,
Posted in Open Source, Tools | No Comments »

Advanced Debugging

October 19th, 2010 by Anders Asplund

In a project I have been working in recently a strange problem appeared.
We had a third-party dependency provided by the application server and as a consequence the same dependency marked as provided in our maven build script. In one of our own classes we called a static method in class supplied by the third-party dependency.
Foo.bar()
The [...]

Posted in Debugging, Java, Open Source | No Comments »

Mock an autowired bean

September 20th, 2010 by Annica Sunnman

Imagine a service implementation having autowired dependencies like:

@Service
@Transactional(rollbackFor=ServiceException.class)
public class ManageDrugServiceImpl implements ManageDrugService {
@Autowired
private DrugPrescriptionManager drugPrescriptionManager;
@Autowired
private UserDAO userDao;
@Autowired
private DrugDAO drugDao;
@Override
public List getNewDrugsForUser() throws ServiceException {…

To test this above service in isolation and mock each dependency is not hard. Create a setter method for each dependency [...]

Posted in Java EE, Open Source, TDD | 4 Comments »

CDI – The first standard for DI containers

January 27th, 2010 by Johan Eltes

What is it?
CDI is an abbreviation of “Contexts and Dependency Injection for the Java EE platform”. First of all, I’d like to stress that CDI is not only for Java EE environments. It is equally applicable to Java SE applications, unit tests and other out-of-container environments.
The specification (JSR-299) defines its declared capabilities as follows:
This specification [...]

Posted in Java EE, Open Source | No Comments »

Another perspective on JAX-WS portability

January 7th, 2010 by Johan Eltes

JAX-WS is the Java-standard for Web-Service XML to Java POJO binding. It entered the scene in Java EE 5 and Java SE 6. I wrote a blog entry a while back on it’s advantages over the predecessor (JAX-RPC). With WSDL-first (contract-first) design, Java POJO:s are generated from WSDL and XSD source files. The resulting Java [...]

Posted in Java EE, Open Source, SOA | 3 Comments »