Saturday, May 28, 2011

Uml and Java

After a long time and constant search I found some material regarding UML and java.

Most developers have java code and then switch to UML to find architecture of the code. I personally do not advise that. Hence I was looking for some tools to reverse engineer or UML to Java parsing softwares. This post consist of list of posts that I found in my journey to find correct tool.

One way to start with searching free online tools is to know about commercial softwares and search for open source software for those softwares. Following link is an example of my search.

Open Source Alternative to Rational Rose

I knew Rational Rose ( IBM ) is IBM's software engineering and very powerful tool. I was looking for open source software and found the above link.

Along the way I found some comments by Waterloo's professor M. Gofrey. It is a professor's remark on all the available tools for software engineering for Java, C#, C and many more languages.

Waterloo Page for Tools

I am personally using eUML which is free and also available commercially. Here is the installation guide.

eUML2 Installation GUIDE

There is a flaw in this installation guide. It was written for students who are working on UML but the new version of eclipse does not necessarily allows same eUML2 zip file.



Tuesday, May 3, 2011

how to automat scp script

Are you looking for a script which does not use ssh key generation and still be able to scp some files?

Advantages is that mostly user has access on one machine to generate ssh key but for the remote machine that is not possible.

Here is the script :

#!/usr/bin/expect -f

# connect via scp
spawn scp "user@example.com:/home/santhosh/file.dmp" /u01/dumps/file.dmp
#######################
expect {
-re ".*es.*o.*" {
exp_send "yes\r"
exp_continue
}
-re ".*sword.*" {
exp_send "PASSWORD\r"
}
}
interact

#===========================================

Source