Luís Bastião ( few words)

Just another blog in the world

Archive for the ‘Programming’ Category

Dicoogle PACS: A distributed medical image system (Open source solution)

Posted by Luís Bastião on November 7, 2010

I’ve been developing a project since 2 years ago dubbed Dicoogle PACS [1] . I didn’t start the project, but when I started with the project I really enjoyed and it was modified gradually with new architecture. This project was started in IEETA [2], in bioinformatics group [3] and RSI Course.

Today it has many features, few of them list follow:

  • Indexing Engine (extension of the traditional and retrieving engine)
  • Query and Retrieve through free text and meta data
  • PACS engine that allows to index and query DICOM studies/files over a set of distributed repositories
  • DICOM services
  • Accessible by Webservices
  • P2P Layer (based on JGroups)
  • Server/Client Architecture (RMI based)
  • Reduced installation and maintenance costs
  • Open Source and Platform Independent (Windows, Linux, Mac)

We’ve learned a lot with this project in many areas, so just an overview:

  • Developing for users is difficult. Keep closest of them!
  • Scalability solution is hard to reach. Think Different!
  • You need to be motivated!

Actually there are other people contributing and developing for the project, and I hope that it continues.

Stay tunned, new are incoming!

[1] – http://www.dicoogle.com
[2] – http://www.ieeta.pt
[3] – http://bioinformatics.ua.pt

Cheers!
Bastião

Posted in Dicoogle, Java, open-source, Programming | Leave a Comment »

Java webservices without Tomcat, GlassFish or platform-dependent server

Posted by Luís Bastião on October 11, 2009

Greetings,

When I was developing an application in Java to my job I have a situation to solve: build a webservice and consumer as well. Despite the Netbeans have several wizards to create WebServices my application couldn’t have a dependence like GlasshFish , Tomacat or other stronger server.

After some time I found Axis2 [1] and some useful samples teaching how to do that. A sample consumer can be found here [2]. Then you can build the service, and there are to many samples in userguide (see simple example [3]). Now it was missing run it as a server, but it’s pretty easier as well, just look there:

public static void main(String args[]) throws AxisFault
{
AxisServer s = new AxisServer();
s.deployService(MyService.class.getName());

}

And it will run on port 6060, go for it: http://localhost:6060. It is also possible change the port in which server runs, using ConfigurationContext and SimpleHTTPServer. :)

Cheers!

[1] – ws.apache.org/axis2/
[2] – http://svn.apache.org/repos/asf/webservices/axis2/trunk/java/modules/samples/userguide/src/userguide/clients/EchoNonBlockingClient.java
[3] - http://svn.apache.org/repos/asf/webservices/axis2/trunk/java/modules/samples/userguide/src/userguide/example1/MyService.java

Posted in Java, Programming, Webservices | 4 Comments »

 
Follow

Get every new post delivered to your Inbox.