Archive

Posts Tagged ‘software’

Debuging OpenEJB’s TomEE with Eclipse WTP

No Gravatar

This is just a short description on how to use OpenEJB with Tomcat to debug it within Eclipse.

The point is to be able to debug EJB applications from within Eclipse with a lightweight Tomcat container using OpenEJB.

Read more…

Share

Same old resources, – or lets make Internet development easier

No Gravatar

You’re building a web application with some nice interface. You use JQuery and a bunch of Javascript libraries on top of it. So you download those applications and place them into your deployable package and reference them from your application.

But why do we wrestle with resources of (OSS) libraries? Downloading new versions, copying the resources to our application and deploying it again and again for each and every application.

I think W3C get that right. For example with XML Schemas: Usually XML Schema files (XSD) should be placed on some accessible URL on the Internet (or Intranet). So when you define your XML with schema definition you provide an URL which points to a resource on the Internet. Each application using the XML can fetch the Schema file and use it. Those URLs are fix URLs, does not change over time. So why don’t we do the same with Javascript files, images, etc.?

For example those popular FAMFAMFAM icons could be accessible one-by-one. Or just think of most popular JavaScript libraries like JQuery, Prototype, YUI, script.aculo.us, – you name it, – all could be accessible on a well defined URL. In that case we could access them whit a simple URL. Set up would be easy as pie…

The next step: repository

We could provide a central repository for these resources. Something similar to Maven Repository but for other resources. It would be enough to have a unique name (as an Id).

For example I would put JQuery to a next path:

http://ossresources.org/jquery/jquery.js

Versions

Of course we need versions too. Or we could end up with non-working websites or applications from time-to-time.

My proposition would be, to extend the path from above to (kind of Maven way):

http://ossresources.org/jquery/1.3.2/jquery-1.3.2.js

Of course we could have Meta-versions too, like latest, snapshot, etc..

There are some problems with the setup from above. Lets see…

The first problem: Prussic Corporate Environment

In corporate environment sometimes there are no access to the Internet, or the there are prussic proxy rules. In that case there is no access to the resources from above. – There is a same problem with XML Schemas too.

The only solution to this, is to set up a corporate repository that would proxy the resources to the Intranet. – Similar to Maven Repositories, like Artifactory or Nexus.

The second problem: Licensing

Okay. I’m not a lawyer but I think this is actually the bigger problem. We should find a way to distribute licences with resources too. We might put licences beside the resources, or provide a link for each resource. I just don’t know, I hope there are some folks that know the answer, and we could create a real repository…

Conclusion

I think this was the intention of the inventors of the web, but as usually something went wrong…

Share

Farewell Vuze, wellcome Deluge

No Gravatar

Occasionally I use bittorent, and I really liked Azureus (or Vuze). But they switched attitude.

Azureus: A nice application, with lot a features. Built on Eclipse platform, – a model of how great is Eclipse RCP. I’ve been using it since about version 3.x, – about 2 yrs or more. It was one of my first torrent client. But things change. Licensing changed, interface changed, and now you could occasionally get an annoying pop-up calling for donation, – check Wikipedia on Vuze for details. I dislike this kind of attitude, and I started to search for a new client.

Under Ubuntu Transmssion would be a natural choice. But Transmission had a slow bootup, and freezed from time to time for a half minute or more. Then I decided to search for other free, featureful torrent client. I check wikipedia as usually, and after few hours of evaluations, I choose my new bittorent client: Deluge.

Deluge is really nice. Fancy, easy to use interface, with all the stuff I need: It has uPnP support, so no router hacking, has support for moving finished stuff to a new location, etc.. If you are also disappointed with Vuze consider Deluge!

There is only one thing I’m missing: the search. – Vuze/Azureus get that rigth, in my oppinion.

To be honest, I was hopping that Vuze will provide service-on-demand, pay-per-view (download), but that did not happened.

Share

Bye, bye P2! Hello UM again!

No Gravatar

Had enough. P2 gave me just too much headache.

Today I removed P2 from my two production Eclipse installation. What a relief…

Update Manager (UM) works fine, as it worked in 3.3. Installed AJDT, Q4E, SpringIDE, TestNG, AnyEdit, … without any issue.

At my last few tries, I managed to install AJDT successfully, but after it I locked myself out. At next install P2 were missing AspectJ feature, and were willing to do nothing.

I read somewhere that P2 will not let you install uninstallable or wrong software… well… no comment.

I still beleave P2 is “not an evil”, and it will turn out to be great. But now I think it came in to suddenly and with lot of missing features/bugs. – I know this is the best way to test it… :-) , and I usually happily volunteer in these kind of testings, but not arbitrarily.

Share

Ubuntu guy in the world of Apples…

No Gravatar

As you might know I’m a Ubuntu guy. I like Linux, OSS and I enjoy using it.

Once I was a C/C++ developer working on Windows, creating Windows applications. So I know Windows quite well (not much changed). Nowadays each time I have to sit in front of a Windows machine as a devloper I’ll get frustrated, as my productivity drops by at least 40%. Okay, it might be only because I am out of practice, but I beleave that at least 20% is because it so much easier/faster to work with Linux. – Just think of the console, Eclipse speed, and no reboot ;-)

Now as so many of my friends raved about the Apples, I’ll give it a try.

The MacBook with its small and firm design caught me. My first thought was, it would be perfect for photo companion, and it could help me out on trips as a replacement for my desktop developer machine running Eclipse and other Java stuff.

So here am I, today with a borrowed MacBook and ready for adventure.

If you’re interested in how an Ubuntu guy can cope with the Apples, stay tuned.

Share

Eclipse Ganymede and P2

No Gravatar

Yesterday Ganymede arrieved. Fresh new Eclipse 3.4 and a tons of plugins as usually.

Some nice new features, feels like a bit faster. But! P2, the new “update system”… grrr. Okay, the old one was bad, I know. But it did work. It took me usually about 30 minutes to assemble an eclipse-jee with AJDT, subversive, q4e, mylyn exts and to import some of my workspaces. Today, with Ganymede and P2 it took me about 4 hours. Ouch. And I still do not have AJDT, and no dependency viewer from q4e.

I hope this will stabilize, and that this will pay off…

Share

Change system time, to emulate… are you sure?!

No Gravatar

Just need to emulate how would an application work in 3 month, or after 2010, or whatever. Think twice before you just change your system time to test.

If you really need to do it, do it from within virtualization. Or…

Or you might face strange effects when you switch back to current time. Some applications depend on files last modified date. And some would check for biggest time ever, to protect them self from using  trial for ever…

In our case after switching back to normal time Eclipse WTP just stopped publishing to server… guess why… :-)

Share

RAW Photo processing under Linux

No Gravatar

If you’re serious about photography and you own a dSLR, you probably shoot all your photos in RAW quality. As RAW contains much more information than a simple jpeg or tiff, you need to process it. And that processing is essential step, so you need a good software for it.

Under Linux you’re somewhat limited, but only in quantity… You might be missing Adobe LightRoom, or CaptureOne, or whatever. – Do not forget you still can run a Windows inside of your Linux with VirtualBox or vmware, if you’re addicted to some of those software.

Read more…

Share

Weird Eclipse behaviour

No Gravatar

I use Eclipse as my primary IDE under Ubuntu Linux (now Hardy). IMHO it’s a great combination. Stable, fast, clean. But from time to time, as Eclipse evolves, and there are more and more plugins I use, I ran into strange erratic behaviour of Eclipse. First there were the nasty problem with PermGenSpece, and now this…

Read more…

Share

Bibble 5 screen shots

No Gravatar

Oh, oh, I’m getting soooo excited! Bibble 5 from BibbleLabs is comming soon… – well… not that soon… :-(

There is a sneak peak page at BibbleLabs with screen shots!

It looks like the user interface will get much better, – it looks really similar to LightZone – and if you take closer view… we might even get versions?!

The other thing you can notice on the second screenshot is layers, select tool…

One plus screen shot in the forum

I just can’t wait to put my hands on it.

Go Bibble, goooo!

Share