Installieren von Java 1.5 auf Snow Leopard (Reiten, Schwimmen, Lesen)
Habe zwar lange nichts mehr hier hinterlassen, aber wie man Java 1.5 bei einem Snow Leopard System installiert, lohnt doch einen kleinen schnellen Post. Zum Glück kann es hier leicht nachgelesen werden: chxo internets – Installing Java 1.5 on Snow Leopard
Patrick Paulin: Common Navigator Framework Tip #1 – Know when to use it
Of all the posts I’ve written on this blog, those on the Common Navigator Framework have been among the most popular. This is a little surprising to me, as I don’t hear CNF mentioned very frequently. My guess is that this framework is quietly becoming an essential part of Eclipse RCP.
Because of this, I’ve decided to write a set of posts discussing some of the CNF tips that I’ve found valuable over the years. And I think the best place to start is knowing when to use it. The Common Navigator Framework is complicated because it is trying to solve a complicated problem. It will only make your life easier if you’re using it for the purpose it’s designed for. So what is that purpose?
Modularity and extensibility
Well first, CNF was not created to make the development of navigators easier. If you have fairly normal navigator requirements in your application, CNF is probably not for you and you’ll save yourself a lot of headaches by omitting it.
Instead, CNF is designed to create navigators that support modularity and extensibility. With CNF, various OSGi bundles in your RCP application can contribute navigator content at runtime.

CNF allows your bundles to declaratively contribute content to a navigator, and this is not a simple exercise. As users of CNF, we need to wire together navigators and their content in sophisticated parent/child relationships, and then overlay on top of this structure a set of actions, filters, drag/drop handlers, etc.
Does it have to be so hard?
Some of you might be thinking modularity is supposed to help us to simplify our applications. Why does this stuff have to be so darned hard? Well this is true to a point. Modularity allows us to take information hiding to an entirely new level and to the extent that we can hide complexity, our applications become simpler.
But when dealing with modular UIs in particular, the difficultly arises when we work with the joints or pivot-points between modules. In these specific cases, there is always complexity because we have to define in detail how our modules relate to each other.
So the next time you’re struggling with a complex CNF extension point, ask yourself whether you really need this functionality. If you do, then embrace CNF for what it is: a complex solution to a complex problem.
Handbuch der Java Programmierung (Webregard – Watch the Web)
Man kann mit Überzeugung behaupten, dass Java eine wenn nicht die Programmier-Sprache für aufwändige und komplexe Anwendungen ist, wenn es um viel Flexibilität, Power und Abstraktion geht. Generell setzen viele zu recht auf diese Sprache, da sie sich im Gegenzug zu anderen durchsetzt. Das merkt man stark bei Unternehmen welche vor weniger als einem Jahrzehnt [...]
Eclipse Announcements: Announcing Eclipse Modeling Days in NYC and Toronto; Register Now
The Eclipse Modeling Days will be held in New York City on November 16 and
Toronto on November 18. There is no cost to attend but you need to pre-register.
Announcing Eclipse Modeling Days in NYC and Toronto; Register Now
The Eclipse Modeling Days will be held in New York City on November 16 and
Toronto on November 18. There is no cost to attend but you need to pre-register.
Ian Skerrett: Growing communities
I believe that to grow any community you need to have vibrant online collaborations and periodic face-to-face meetings. The face-to-face meetings are how you develop and cement relationships. This is why I believe the Eclipse Days and the Eclipse DemoCamps are such an important part of growing the Eclipse community.
The Eclipse Modeling community is one of the most diversified and vibrant communities at Eclipse. The number of different contributing organizations/individuals and number of projects is incredible. In Europe, it seems everyone is using EMF, GMF, and will be using Xtext, CDO and others. In the US and Canada, modeling still seems to thought of as ‘pictures that are never implemented or get out of date‘.
This is why I am very pleased that we just announced the Eclipse Modeling Days in New York City and Toronto. I know lots of people are using the EMF, so I am hoping these events will be an opportunity for the community to meet and grow. I am also very proud that organizations like Credit Suisse and Los Alamos will be presenting their use of Eclipse modeling.
As with other Eclipse Days, there is no cost to attend but you need to pre-register. The NYC event will be held November 16 and Toronto on November 18. btw, this is the same week we are running the EclipseRT Days, so if you live close to Toronto you can attend two days of Eclipse talks.
I hope to see lots of people in NYC and Toronto.
Updated Plugin: QiQuGen – JEE Application Generator – v0.9.9
QiQuGen – JEE Application Generator
Category: Rich Client Applications
Description: QiQuGen is a JEE Generator based on QiQu and one of its main goals is to show the capabilities of QiQu. But that’s not all. QiQuGen also provides the possibility to generate huge parts of standard data editing applications. The application can be standalone or JEE application server (e.g. JBoss) based. The application is generated based on a domain model expressed as an UML class diagram and the GuiDefinition in an XML-file (MDSD). QiQuGen was designed to be flexible and extensible – the generator as well as the integrated frameworks. So, even if it may not contain all needed features, it still can be used as a starting point for your application development. The whole system of QiQuGen is very modular and the goal is to extend it continuously.
New Plugin: BIRT Functions – v1.0
BIRT Functions
Category: Other
Description: BIRT = Business Intelligence and Reporting Tools. It is a top level Eclipse project.
As an Eclipse project, BIRT is built for extendability. Developers can customize BIRT to support custom controls and behavior through BIRT extension points. Extension points allow complex custom operations to be integrated right into the BIRT UI and scripting language.
The birt-functions-lib project shows best practice implementations of two BIRT extension points:
Aggregate Extension
Script Function Extension
The code examples in this project are not just trivial samples. Even if you never look at the source, your BIRT project will benefit from the use of these functions. If you are looking at using these extension points, this project will provide a solid platform for your own custom functions.
New Plugin: BIRT Controls – v1.0
BIRT Controls
Category: Other
Description: BIRT controls represents a best practice implementation of the BIRT Report Item extension point. Based on the initial RotatedTextItem example code, this project represents significant improvements to the control and the way the control was produced.
Helios EPP M2 Packages sind fertig
Nach der Verabschiedung des zweiten Meilensteins von Eclipse 3.6 (Helios) Anfang letzter Woche (wir berichteten) stehen nun auch die korrespondierenden EPP M2 Packages zum Download bereit.
Noch nie standen die Pakete des Eclipse Packaging …
Fünf Faktoren, die Java einst zum Durchbruch verhalfen || IT …
Portal für Java(TM), Enterprise Architekturen, SOA.
Fünf Faktoren, die Java einst zum Durchbruch verhalfen (Java Magazin)
Eine Fortsetzung gibt es in der Untersuchung Tim Brays auf seinem Blog ongoing, welche Sprache sich als Nachfolger von Java herauskristallisieren könnte. Besonders wichtig ist hier für Tim die bessere Unterstützung von nebenläufigen …
Fünf Faktoren, die Java einst zum Durchbruch verhalfen (entwickler.com)
Eine Fortsetzung gibt es in der Untersuchung Tim Brays auf seinem Blog ongoing, welche Sprache sich als Nachfolger von Java herauskristallisieren …
Fünf Faktoren, die Java einst zum Durchbruch verhalfen
Eine Fortsetzung gibt es in der Untersuchung Tim Brays auf seinem Blog ongoing, welche Sprache sich als Nachfolger von Java herauskristallisieren könnte. Besonders wichtig ist hier für Tim die bessere Unterstützung von nebenläufigen …
Scala vs. Ruby: Wer wird Platzhirsch?
Jetzt wird´s langsam spannend! Wieder schickt sich ein neues JVM-Webframework an, die W-JAX-Challenge für sich zu entscheiden. Nachdem sich Ruby bzw. JRuby und das JVx Application Framework von SIB Visions bereits in der Arena des …
Einführung in die NetBeans IDE
Eine ausführliche Einführung in die Arbeit mit der NetBeans IDE bietet ein mehrteiliges Video-Tutorial auf der NetBeans-Projekt-Seite. Unter anderem gibt es Screeencasts zu folgenden Themen zu sehen:
Generating Code Using Code …
Laurent Goubet: Generate code with the right encoding
Up until now, Acceleo allowed you to define the encoding in which the module itself should be read in the form of a comment at the very beginning of the module :
However, this only affects how Acceleo reads your template file; it will not affect how Acceleo generates files from this module. So if you want to generate an XML file, and this XML file needs be encoded in a specific encoding which is not you system’s default, you’re stuck :p. Or at least that was true until M2.
Let’s take this basic module as an example :
This simple module is entirely composed of static text; its only purpose is to generate an ant file that creates a zip from a directory in a directory named “échantillons”… yes, that’s an “é”. If This file is generated under windows, no problem : the default windows encoding is the same as ISO-8859-1 as far as the “é” is concerned. What if this file is generated by one of your coworker who happens to be working under linux? Here’s what would be generated :
And that’d could be a tragedy if the error isn’t seen before someone tries and run this ant build… and sees that you generated under something else that windows! Imagine all the chocolate needed to atone for that blasphemy! Acceleo now proposes a way to define once and for all the encoding that must be used to generate a given file, and all you need is a single parameter for the file block :
Take note that this is not a behaviour described by the OMG MOFM2T specification (that sadly left all encoding issues aside). As suche this feature might change form in the future, monitor the related OMG issue if you’re interested by this field.
Markus Knauer: Eclipse Helios M2 is out (EPP)
The second milestone (M2) of next years’ Eclipse Simultaneous Release called Helios is now available!
I am proud that I am able to announce the availability of the corresponding Helios EPP M2 packages. You can download them from the usual EPP nightly build page www.eclipse.org/epp/download.php.
It’s the first time ever that the EPP packages are available so soon in the yearly release cycle and I think it is a good opportunity to get a lot of early feedback. The Eclipse Platform team did this all the time, but hopefully this will help other projects to get more testing by the community.
Thanks to all that helped to make this happen!
Artikel: Apache Lucene 2.9
Das beliebte Suchmaschinen-Framework Apache Lucene [1] ist Ende September in Version 2.9 veröffentlicht worden. Neben vielen Erweiterungen und Verbesserungen sind einige alte API-Wege nun als Sackgassen ausgewiesen. Die Version 3.0 ist nur einen …
10 jähriges Jubiläum von IBM developersWork (Blogs Home)
Zitat: “Diese Woche feiert IBMs developerWorks sein zehnjähriges Jubiläum . Die am 28. September 1999 gegründete Website für Entwickler war bewusst als Open-Source-Community-Portal gegründet worden, das den Schwerpunkt auf Themen rund um Java, XML,…
Ralph Müller: ESE 2009 – Update 4: Make others attend
Please help us to promote ESE 2009.
Here are a couple of ideas:
Twitter about #ese and @EclipseSummit
Blog about it
Add a banner to your blog or web site
Or very traditional: Print our poster above and glue it to mailboxes, announcement boards, airline ticket counters, cash registers and car bumpers and the likes!
Thank you for your effort!
Ralph
Java Email Client? Oder besser Push-Mail? – Forum – CHIP Online
Hallo! Ich bin auf der Suche nach einem Java-Email-Proggi, mit dem ich möglichst straight mein POP-Konto auf GMX abfragen kann. Gibt’s da was?
Manuel Woelker: Executable WARs with Jetty
Today I want to talk about one of the younger members in the Eclipse family: Jetty. It is great to have such an interesting project on board and it is yet another example of how Eclipse has become more than just an IDE.
What I wanted to with jetty was to create an executable, standalone and self-contained WAR. I first encountered this concept in Hudson. The hudson.war contains an embedded Winstone servlet container, which makes it possible to run the application by executing
java -jar hudson.war
This makes test driving the application really simple. The idea was to do the same with Jetty. Embedding the Jetty runtime in the war proved to be the easy part, as it was just a matter of declaring the jetty dependencies in the maven pom.xml.
The tricky part was telling jetty where to find the war-file to serve. My first try was to hardcode the filename, but that left a foul aftertaste. Finding a solution took quite some time, which is why I am posting this for future reference. This is the Main-Class used to bootstrap Jetty (adapted from the Wicket quickstart archetype):
public class Start { public static void main(String[] args) throws Exception { Server server = new Server(); SocketConnector connector = new SocketConnector(); // Set some timeout options to make debugging easier. connector.setMaxIdleTime(1000 * 60 * 60); connector.setSoLingerTime(-1); connector.setPort(8080); server.setConnectors(new Connector[] { connector }); WebAppContext context = new WebAppContext(); context.setServer(server); context.setContextPath("/"); ProtectionDomain protectionDomain = Start.class.getProtectionDomain(); URL location = protectionDomain.getCodeSource().getLocation(); context.setWar(location.toExternalForm()); server.addHandler(context); try { server.start(); System.in.read(); server.stop(); server.join(); } catch (Exception e) { e.printStackTrace(); System.exit(100); } } }
The interesting bit is the getProtectionDomain()/getCodeSource() part, which tells us the location of the war-file. That’s all there is to it. Presto, executable web-application powered by Jetty in jar.
Framezuweisung / java (html.de Forum – HTML für Anfänger & Fortgeschrittene)
nun jatzt habe ich mich mit Java auseinandergesetzt und komme noch nicht weiter. ich bräuchte da mal echt Hilfe. Ich habe Ein…

