Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror

Slashdot videos: Now with more Slashdot!

  • View

  • Discuss

  • Share

We've improved Slashdot's video section; now you can view our video interviews, product close-ups and site visits with all the usual Slashdot options to comment, share, etc. No more walled garden! It's a work in progress -- we hope you'll check it out (Learn more about the recent updates).

×
Programming

Journal: Java ISO8583

Journal by chochos

I just published a new Java framework to use ISO8583 without too much hassle. It's called j8583 and it's available at SourceForge. It's LGPL so you can use it in commercial applications but any modifications done to the framework itself must be integrated into the library.

The main idea is to be able to easily create ISO8583 messages to send them over a socket and also to parse incoming ISO8583 messages without having to implement any parsing code. All the value types are implemented and can be parsed from the bitmap, you just have to tell the framework how many bytes the length header has and also how long is the ISO header if one is being used; the message factory returns an ISO8583 Message with all its values set. There are templates to create new messages with preset values in some fields, and also the message factory can use an external object to generate the trace numbers (from a DB sequence or whatever) and can set the date on new messages automatically.

If anyone finds it useful I would like to hear your comments.

User Journal

Journal: My Geek Code

Journal by chochos
I just wrote my geek code, here it is:

GCS/MU d- s:- a C+++ UL+ U*++ P+ L++ E-- W+ N- w--- M++ V-- PS+ PE Y+ PGP t-- 5? !R tv+ b+ DI+ D++ G e++ h--- r+++ y+++
User Journal

Journal: Bizarro Miguel

Journal by chochos
I just found out that this guy is not actually Miguel de Icaza, he's some kind of impostor.

Why would he do that? I don't know... anyway, this is the real Miguel.

And it wasn't even hard to blow his cover... at least for me.
Java

Journal: Wotonomy Access Layer - I'm stuck

Journal by chochos
After a few days trying to figure out how to make this layer work, I finally see that it contains two or three of the most complex classes that make up EOF: EOSQLExpression (and especially its concrete implementation for JDBC), and EODatabaseContext, since this one both fetches data to convert it to objects and also converts the changes in those objects into INSERT, UPDATE, DELETE statements. I have no idea how I'm going to make this work...

The reason computer chips are so small is computers don't eat much.

Working...