Swing is notoriously slow?

Gefunden bei CLOSED-LOOP: Certification to become braindead?.

War ja klar: Swing ist einfach langsam. Nein, noch besser Swing ist langsamer als ein Stack bestehend aus JSP, EJB3 Entity Beans und Stateless Session Beans.
…Zumindest scheint das die Meinung des Sun Learning Centers zu sein. Will man bei denen nämlich den Sun Certfied Enterprise Architect (SCEA) bekommen, sollte man folgende Frage besser nicht nach besten Wissen und Gewissen bzw. mit logischem Sachverstand beantworten:

You are architecting a real-time system with high usage and high volumes of transactions. You need an MVC application with quick presentation times resembling a thin client and will have several pre-populated views that can carry across several pages. The users must be able to quickly navigate between different sections of the system.
Which three technologies will you need to implement? (Choose three.)

  • A) MDB
  • B) Swing GUI controls
  • C) JSP
  • D) EJB3 Entities
  • E) Stateless Session Beans
  • F) JCE

Die Lösung:

  • C, D und E sind richtig
  • A ist falsch, weil es sich um ein Real-Time-System handelt und MDBs asynchron sind.
  • B ist falsch, weil Swing-Komponenten notorisch langsam sind. (im Original: Option B is incorrect because swing components are notoriously slow).
  • F ist falsch, weil die Beschreibung keine Anforderungen an die Sicherheit stellt

Na aber klar doch. Swing-Komponenten sind langsamer wie so ein bisschen Network-Traffic, der Servlet-Container, die JSP-Engine sowie schlußendlich etwas HTML und Javascript im Browser. ;-)

Manchmal könnte man meinen glatt den Beruf verfehlt zu haben. Den SCEA würde ich wohl nie bekommen…

Bookmark and Share
No Comments
Oktober 22, 2008 in Development, Swing

Leave a Reply

Using Gravatars in the comments - get your own and be recognized!

XHTML: These are some of the tags you can use: <a href=""> <b> <blockquote> <code> <em> <i> <strike> <strong>