Here is just an example of how to install java 7 on your linux.
I use current Debian and oracle (former sun) java 7.
First i had to download the latest java from oracle site and then extract it. I have to do it because at the moment the is no official debian package for java 7.
So we are not able to do it with apt-get as we can it for java 6.
Read more »
What is your favorite Free or Open-Source UML Plug-in?
Every year i try some of them and remove them after few hours. As i remember, they where resource-hungry or just bad in reverse engineering
Some weeks ago i tried ObjectAid UML Explorer Class Diagram and liked it. It could quick and easy create simple class Diagrams – just by Drag & Drop. And i had no problems with static constructors or inner classes and other stuff in the code which causes problems to another Plug-ins.
Unfortunately Object Aid Sequence Diagram are not free but cost not much for private usage. Maybe i’ll try it soon.
But first i would ask you what is your favorite Eclipse IDE Plug-in for fast and easy (e.g. partly) revers engineered UML diagrams which can be used to show some architectural details to your colleagues?
Thank you for comments!
The pictureon the right (klick to enrange) shows how Ubunto boot process is going on my 5 years old Thinkpad T60. Bootchart utility does such charts automatically. If you interestiong how easy it it to enable such bootcharting read below.
See how to install bootchart logger on ubuntu, and other linux distributions.
Yo need bootchart and, pybootchartgui
apt-get install bootchart
apt-get install pybootchartgui
Read more »
I want to share with you some thoughts on GIT because I think that was a right invention to the right time and place.
(This article should be finished half year ago right after i wrote about svn server installation, but unfortunatelly i didn’t find any time to finish it untill now.)
My first version control system (VCS) was CVS and i used it with eclipse 2.0 for programming in java. I found CVS quite impressive and liked it a lot. It was also quite reliable and moderatelly fast.
Then someone at the university told us to use SVN, because it has “plenty” of advantages. Somehow i found SVN not bad even if the eclipse svn plugin quality was never quite good. However SVN matured and became powerful source control system and many many people and companies started using it. I think it’s the most used version control system.
I like SVN for easy branching and tagging (with good eclipse plugin support), for global version numbers, for understanding “http://” (with Web-Dav) as well as for more comfortable managing tools and easy installation and configuration.
But that’s all what i like… There is no more practical advantages over CVS and moreover there are even some disadvantages also in comparison to cvs.
- SVN is slow and double slow over HTTP. It may not be critical if you do your changes on several files and them commits ‘em. I’m doing so in my java project and it’s ok. But there could be also other scenarios e.g. if you deal with such “monsters” like magento, performance gain very fast on importance
- Folder movement is a nightmare. With the subversion you have to know what you do when you start move around your folders.
- Ugly .svn folders in the folder tree of your project. O course cvs had them too. But do we really need them? Sometimes i just wanna to copy my project tree without that stuff.
- Not closed connection (don’t know if it is an server or eclipse plugin bug). Sometimes svn commits leave not closed connection. Eclipse hangs.
- SVN consumesa lot of space, more than cvs local and on the server.
- You need to be online if you want to commit.
All of these disadvantages i mentioned above are fixed in GIT. Git is much faster, flexible. So let install it! Read more »
This post visualizes changes between Java EE Standards 5 and 6. The comparison of standards is listed in four sections Web-Services, Web-Container, Enterprise Application technologies and Maintenance. Hope this helps someone.
Web Service related changes
|Java EE 5 (JSR-244)||Java EE 6 (JSR-316)|
|JAX-RPC 1.1 JSR 101||JAX-RPC 1.1|
|Enterprise Web Services 1.2 JSR 109||Enterprise Web Services 1.3 (new version)|
|Web Service Metadata 1.0 JSR 181||Web Service Metadata 1.0|
|Streaming API for XML 1.0 JSR 173||Streaming API for XML 1.0|
|JAX-WS 2.0 JSR 224||JAX-WS 2.2 (new version)|
|JAXB 2.0 JSR 222||JAXB 2.2 (new version)|
|SOAP with Attachments API for Java (SAAJ) JSR 67||Java APIs for XML Messaging 1.3 (new version) spec|
|new! JAX-RS 1.1 JSR 311|
|new! Java API for XML Registries (JAXR 1.0) JSR 93|
Read more »
Today i describe the few steps of installation of subversion (with repository) on Linux (Debian lenny). That description show the installtion proccess in 5 steps. And the configuration of Apache Mod-DAV as additiona information. So let’s start.
Step 1: Install subversion
If subversion is not installed, install it with:
$apt-get install subversion
Read more »
Today i’ll give you some interesting examples of using lsof command.
lsof stands for “list open files”. So actually it shows all files used by some processes of a system. That command exist on most of and on different Linuxes and Unixes.
It bases on architecture of a kernel which causes evety procces to hold it used files in /proc – (a virtual file-system). A typical hierarchy wold look like:
/proc/process id/fd/file descriptor
In the absence of any options, lsof lists all open files belonging to all active processes of a system. But that is to much for most cases, because many of cases are networkrelated. An if you consider that sockets are files in linux we can use lsof to search fo them. Read more »
I noticed that my last post was a 101 post on this blog which is good occasion to do some self evaluation.
I started to write here in January 2007 it’s nearly 4 years ago. You see I’m not very productive blogger. Nevertheless i wrote some interesting things which have attracted some people or comments. Here some of them chronologically:
I’ve learned pretty much and i tried different themes. I think in the future i will write more and more technical stuff. So e.g. Java comes to short so far also web technologies where not covered while i have to do with them relatively often. Read more »
Yesterday i installed Ubuntu (10) linux alongside of Windows XP (SP3) on my Lenovo Thinkpad T60 – meanwhile 4 years Laptop. To be short i observe only start-time of both system on the same machine in this post.
Here some hardware details:
- Intel Core Duo (T2400 -1,83 Mghz)
- 1 Gb RAM
- 60 GB 5400rpm hard drive
An here are starttimes on two Systems (in seconds):
As we see Windows takes 1 minute from OS-Selection dialog till User-login dialog, whereas Ubunto takes only 24 sec. Ok, windows checks “security chip” (what it exactly means and why it so good for me i don’t know) and that takes considerable time and i’m unsure whether Ubunto do something like this, but however i can’t change it.
On a graph we see also, that for the rest of “loading work” from login till first page appears in firefox browser windows takes more time again. It takes 95 seconds whereas Ubunto need only 19! I was clicking on browser Icon as soon it appeared and was “clickable” and waited till pre-selected starting page (google) appears.
Of cause tas is not very strict measurement so maybe I’ve lost one or two seconds somewhere, who cares if
- Ubunto takes 24+19 =43 sec
- Windows takes 60+95 = 155 sec
till i can use my typical day by day application. So now i can save more than a one and halfe minute of my life on every start of a system.
Respect Ubuntu, keep on going!
Here give a short overview of important JSR of Java Community Process which define and standardises WebServices development on Java Platform.
- JSR-175: A Metadata Facility for the JavaTMTM Programming Language. Also known as Java Annotations e.g. @Deprecated or @Override.
- JSR-181: Web ServiceMetadatata for the Java Platform. This is just a set of Annotations for using with JAX-WS WebServiceses. Think of Annotations @WebService, @WebMethod…
- JSR-101: API for XML-based RPC: JAX-RPC 1.1. Definiton of RCP call with SOAP Messages, Type Mapping between Java and XML.
- JSR-109: Implementing Enterprise Web Services Definiton of WebsServices based on JAX-RPC which is now accessed by JAX-WS. That early standard defined WebServiceses for J2EE 1.4. It enabled implementation of Web-Serviceses as Endpoints over Enterprise Session Bean’s (EJB 2 generation with awful XML descriptors).
- JSR 183: Web Services Message Security APIs
- JSR-224: The Java API for XML-Based Web Services (JAX-WS) 2.2
- Final Release 05.2006 (Version 2.0 JEE 5) ,Last Maintenance 12.200Verisonon (2.2 JEE 6).
- Current state of the art
- Relies on its own Architecture for XML Binding JSR -222
- Of course supports Annotations JSR -181
- Implementations: Apache CXF, JBoss WS, JAX-WS as Sun’s Ref. Implementation
- JSR-311: JAX-RS: Java TM API RESTful Web Services
- Final Release 10.2008
- Part of JEE 6
- AlWeb Servicesvices of REST Style jusPOJOsPOJOs
- Mseen ssen such typical Annotations like: @Path , @GET，@PUT, @POST，@DELETE
- Implementations: Apache CXF, Apache Wink, Resteasy as part of JBoss/Tomcat, Jersey – Sun’s Ref. implementation.
Did I forgot something?
Probably most of modern IT related people know Atlassian JIRA – issue and project tracking system. Maybe many of you know other popular tracking system like Bugzilla, GNATS, und many many others. Personally I like JIRA last but not least because i worked many years with it and I’m impressed of a simplicity of the work flow and the realisation of the concepts around it.
However this is not one post which should bring JIRA near to you. But if you know that you need it, now is best time to get it, because Atlassian started their “Get Startet” Price, which now allows you to by full functional JIRA for 10$ for ever even with one year support. All you need is a little bit of free CPU time, root access, 10$ and if you buy it outside of USA, you will need a credit card.
I installed it for my private purposes and it works fine! I just followed Atlassian documentation (Read it carefully). Maybe, the easiest way is to install the “all in one” solution which comes with Apache Tomcat. I choosed that one. But don’t forget to switch to serious database before you start really using it. Take MySQL for example like I did.
I will not provide here step by step how to do it, because Simon has already described some of the important configurations moments as he heard about new pricing and as already mentioned the Atlassian installation guide is good and really answered all my questions.
Nevertheless feel free to ask questions here, about installation and configuration to.
Also i would like to discuss other Atlassian developer tools which also available for 10$. Is here outside someone experienced in bamboo?