OK, of topic. But I am just so happy, finaally I got emacst to recognice not only jar but also ear, war and sar files. Al are now possible to open from emacs and edit live - talk about hot reddeploys!!!
FYI: edit .emacs:
(setq auto-mode-alist
(cons '("\\.ear$" . archive-mode) auto-mode-alist))
(setq auto-mode-alist
(cons '("\\.war$" . archive-mode) auto-mode-alist))
(setq auto-mode-alist
(cons '("\\.sar$" . archive-mode) auto-mode-alist))
;-) Peter ;-)