Java Articles
EGJUG IS UP AND RUNNING USNING DRUPAL 5
Submitted by Ali Abdel-Aziz on Wed, 2007-08-08 20:52.Thanks to good.
Welcome back EGJUG; EGJUG now is up using drupal 5.2
Keep posting Java articles
Keep posting Java problems
Keep posting .............
Please if anyone have found any problem let me know.
Ali Abdel-Aziz
www.aliabdelaziz.com
Version Control And Eclipse(part A)
Submitted by essam on Sun, 2007-02-18 14:36.In one of my pervious posts I talked about my mistake that I wasn’t use any version control sysetm to control my work
VSS was so boring for me as ajava guy it’n not compatible with eclipse as far as I know ,so I dig through the internet to find a suitable tool for me
And I found my one CVS
this article consists of 2 parts, first part is talking bout CVS
Part 2 is talking bout How to use CVS wirth eclipse
*for those who do know what is version control i found a nice story Published by FCI_H guys talking about Source control .
What’s CVS…?
CVS is the most popular version control system in the free software community, used by Netscape,, many Linux projects, and others.
Initially, CVS was designed to provide version control for a group of developers working on a single machine. There was a CVS repository somewhere on the file system, and every developer working on a project had to have a read-write access to the repository files, including auxiliary files used by cvs program itself.
AJAX Framework comparison
Submitted by Ihab.yousif on Wed, 2007-02-14 18:15.
TODO
| GWT | DOJO | DWR | AJAX4JSF | JMaki | openrico | ||||
| UI Components | Yes | No | |||||||
| Documentation | Yes | Yes | |||||||
| IDE Plugins | Yes | No | |||||||
| Support | Yes | Yes | |||||||
| Visual Effects | Yes | No | |||||||
| Integration | No | Yes |
Call Excel Macro from Java
Submitted by ahmadshokr on Tue, 2007-02-13 16:00.How to call Excel Macro from JAVA enterprise
After trying more, find a satisfied solution,
since excel macro is vb code, since we can make a vb script file called from java and it calls excel macro
Example:
make a script file as content is
Dim objXL
Set objXL = CreateObject("Excel.Application")
With objXL
.Workbooks.Open ("File_Path")
.Application.Run "Macro_Name"
.Application.Quit
End With
Set objXL = Nothing
and save it as calling.vbs
in java you can call it as Runtime.getRuntime().exec("cmd /c start calling.vbs");
Enjoy it,
Tools, Frameworks, IDEs, and Technologies Wiki.
Submitted by Ali Abdel-Aziz on Thu, 2006-09-21 12:50. I'm thinking about one place to collect/include reference for all the Tools, Frameworks, IDEs, and Technologies; some place to act as technologies/tools/frameworks wiki as well as it contains short description about this tools and what are its strengths from the writer experience.
and instead of googling and wasting time in things searched about million of times until one found his suitable IDE/Tool/Framework, I thought about creating such page here that growth by time and act as reference for all.
I know that many people will wondering why do it here. as some of the information listed here can be found for example on wikipedia.
But some are not found and even if u can go and create page for it, there exist the feature of grouping and collecting the java related tools, IDEs, ... etc.
so let's start such page. and I hope all share his own knowledge/experience/opinion in this page.
mainly we have two Sections:
1. Integrated development environment (IDE):-
also known as integrated design environment and integrated debugging environment, is a type of computer Software that assist computer programmers to develop software [ wikipedia ].
Reverse engineer DataBase to XMI.
Submitted by Ali Abdel-Aziz on Mon, 2006-09-18 11:36.In this article I will try to reverse engineer a postgres data base and I think any other database will be the same with small modifications in the config and properties files.
ok lets start.
I will use andromda:schema2xmi plugin to achieve this task.
Prerequisites:
- Maven version 1.
- In brief a working andromda environment.
Requiered steps to generate the xmi file from our postgres data base are 5:
- Generate an AndroMDA project using Maven.
- Add the PostgreSQL Mappings file.
- Modify the project properties.
- Add dependency to Postgres jdbc drivers.
- Run schema2xmi.
1. Generate a standard J2EE project. as down million of times:
Mustang and Dolphin... we'll miss you
Submitted by sayyadrefaey on Mon, 2006-08-21 18:04.Yes, we must retire some old friends. Management says it's time to drop these code names and develop a new project naming system around our open source model. Better now than after Dolphin get's firmly entrenched – and as for Mustang, well it's almost done anyway. more
Using JCaptcha in your J2EE web Application
Submitted by Ahmed Hashim on Fri, 2006-06-23 03:27.By Ahmed Hashim 23 June 2006
Introduction
Few months ago, it was my first time to know about JCaptcha. When I saw it, I
thought that it is really a great project. I tried to use it in a simple
application but few simple errors made me lazy to work through the test. Then,
one day some one said to me "Oh, there is a project to use JCaptcha and
it is a good sample and we can use it instead of trying to resolve the issues
in JCaptcha".
I said to myself, I am sure that this project is great and the JCaptcha
components are very simple and clear! Why not I test it really?
Also I want to make it easy for others tell all people that there is a great project working there.
Parsing XML file using DOM
Submitted by Ahmed Hashim on Mon, 2006-06-12 15:04.By, Ahmed Hashim
In this article, I'll show you how to parse a XML file using JAXP API's.
You can parse an XML file using SAX (Simple API's for XML) or DOM (Document Object Model)
I'll not state the differences between SAX and DOM on the time but I want to show you how to quickly parse your XML file using DOM.
Prepare your XML file:
First I'll make a simple XML file contains books, every book element will contain the category, title and author. I am assuming that you are familiar with XML.
<?xml version="1.0" encoding="UTF-8"?>
<catalog>
<book category="technical">
<title>Getting started with web service</title>
<author>Karen Sato</author>
</book>
<book category="Reference">
<title>History of typewriter</title>
<author>Luke Fassoso</author>
</book>
<book category="Cookery">
<title>An Introduction to Egg-Plants</title>
<author>Joo Woo</author>
</book>
</catalog>
A great Java book, "Java Opensource programming using junit, hibernate, etc..."
Submitted by aemam on Wed, 2006-05-24 10:50.Dear all:
I have found those 2 books, and i think it's worth reading, check it and you will see :), also to stop cracking softwares ;).
Java Open Source Programming: with XDoclet, JUnit, WebWork, Hibernate (Paperback)





