Archive for the ‘Java’ Category

Analytics

Thursday, May 14th, 2009

Pursuing how to analyse model of date. Found a link to a, seemingly, nice java open source framework, neuroph, for doing neural networks. Since I worked with NN for my master thesis, I would love to make a little visit, even if it is not the right tool for the job, it would be good for nostalgia.

NN ScreenShot

NN ScreenShot

UPDATE: Found a nice free map service for low-traffic sites like this, check the top of the sidebar. I found it on a blog when researching another topic, pooling JMS connections, which he had worked on.

Eclipse decompile plugin

Tuesday, November 22nd, 2005

This weekend I got a tip for a nice eclipse plugin from Jesper Linnet (of eclipse call hierachy fame ;-) – now it is integrated in eclipse). The plugin is JaDClipse. Just follow their instructions, and you get rid of the awful class file viewer, and even get decompiled code too. The decompiler they use is Jad which is free for personal use in a personal or a commercial environment. If you want to distribute it you need to look for an old version, or, probably, shell out some, which seems quite fair to me.

Internet to mobile devices

Monday, November 21st, 2005

Quite by accident (trying to find the meaning of “wsp” from google), I found some pretty nice links, see the list below, (well, mostly one link, the rest followed from there.

Of course there are other more commercially prominent attempts at solution:

.

The net took me a bit further, and I found yet some interesting links for mobile developers:

struts and spring

Wednesday, October 19th, 2005

A good friend thought this article on struts and spring might be of interest to me.

UPDATE: here’s an onjava article on struts.

managing deployment specific configuration files with ant

Friday, October 7th, 2005

Some time in the near future, I should conjure up a good way to maintain versions of configuration files for different setups (test/production, linux/windows paths). I found this example on how it can be done with copy, filterchain and filtersets in ant. I am not sure that is powerful enough, I tend to fancy the idea to have a real scripting language like perl og python involved. Not sure yet.

watch a file in java

Thursday, October 6th, 2005

A solution to make runtime changes to a java application would be to let the java application listen to a file and re-read it if changed. I did a little surf, looking for best practice. Heres a list of findings – no conclusions yet:

  1. Tail inspired java thread article on informit.com — worth a visit it seems, deemed from looking at their article/toolbar.
  2. Did not find anyting related while looking for 100 seconds at Java Plugin Framework.
  3. stumbled upon an implementation like item 1’s in log4j: FileWatchdog. (But then I had my own…)

well may the conclusion is that we should do it another way – by sending a signal or something.

bayonne telephony apps, beehive struts extension, thorvalds interview

Wednesday, October 5th, 2005

A list of links I want to come back to (from Linux Weekly News — highly recommended site for linux enthusiasts)

  • Gnu Bayonne is a framework for developing telephony applications (voice or DTMF controlled), see this article. Maybe I should throw in a link to kannel, the topically “related” sms gateway software
  • This extension of struts, beehive, is of interest. Here’s an article about it. It is gonna use start incorporating AJAX, which everybody hypes abouts theese days. Personally I think its nice enough, but since I see it primarly as an extra tool for developing user interfaces (not my primary interest), I am not too caried away.
  • Finally, before I gotta start producing code rather than words, a link to this business week article including an interview with Linus – it contains some numbers on server sales ($1 bio) with linux, desktop presence of linux (10 mio)…

eclipse plugins, xml plugin

Wednesday, October 5th, 2005

While searching for a free plugin to eclipse that could generate me a DTD, I stumbled upon this page with references to useful plugins (especially FatJar seemed real nice).

And no, I did not find a free plugin to generate the DTD. Guess netbeans or a commercial plugin in trial version will have to be the answer for now.

mobile positioning, linux upgrade path, java profiling plugin to eclipse

Tuesday, October 4th, 2005

Found yet another useful set of references from /.

There was also a link on a windows to linux migration path, I guess I have to link to that >D)

From theserverside I saw this article on a profiler plugin for eclipse. Wonder whether it can do memory profiling too… [update] yes it seems so, detailed page including resin and other app server setup and profiling for heap, cpu, …
.

aspects, java, logging

Tuesday, September 20th, 2005

Time has come, to dedicate a litte effort into reinvestigating the aspect oriented java scene. The purpose is quite focused, I want to get rid of all logging in my code and put that in aspects instead. To this purpose I google:

  • onjava has an article with a working example using aspectwerkz to provide persistance. They think that the greatest solution aspectJ is too big a step to take.
  • here an overview of many open source aspect oriented frameworks is provided.
  • it is announced on aspectJs homepage that aspectwerkz and aspectJ are joining up to make aspectJ1.5 — this seems like the way to go. AspectJ has eclipse integration as well :D

While looking for aspects I found this site for java tools . My attention was primarily caught (if you can say that about a 10 sec glimpse — what a information consuming/sorting/filtering world this has turned into) by a project offering commandline option parsing for java. I could need that, but I haven’t really decided if it was not better to use more suited scripting languages like perl or python or bash (as I have primarily done before).

I also came around this article on log4j which has a nice short intro to the concepts.

I also found this blog, also using wordpress, and interested in similar topics to me, so I think I will try and reference a blog-entry on aspects mainly to see if he gets a ping and posts a comment with me >D)

On a parallel track, the annotations of java 1.5 is covered a bit by these links:

There is an eclipse plugin to generate aspect oriented logging code. I tried it at one time, and it seemed to work fine. I think I will revisit it, to see if it is a better/easier path than develop stuff using aspectJ.

I had this this guy’s blog (Victor Yushenko’s Weblog) in a tab yesterday, when I had to suspend my computer (forgot power at work). He’s working on similar things and seems cluefull, so I’ll keep the reference around by linking it here.