Here is a major (large, 30 developers, kinda critical project) with Swing + EJB backend.
And there is a relative small shop, using open source frameworks, Struts, Spring, Mule ESB. management a bit old fasioned (waterfall, but want to go Agile)
My own background is in Spring, Hibernate, etc. and web based GUI (Struts, JSF, GWT etc.)
Searching job listings, seemed Spring opensource is more than EJB (Locally). And Swing? even less.
For me personally, it's also tough to choose. I know Swing quite a bit yet I want to get into Java EE stuff more. I would consider the following pinpointing the job choice (in random order):
1) the skill you have (what you can offer)
2) the technologies the concerned project can offer (what you can learn)
3) your career path
4) company culture and people
5) benefits and package (annual leave, salary etc)
Joe Harry wrote:
Well, any job would give you that and it does not have to be EJB or Mule ESB. The point to understand for you from Campbell's post is that you should know to choose which one you love to do.
All I was asking was which job would give me as long as possible for the techniques not to get out-dated too quickly.
Why is this difficult?
The two projects will get you to a different place after three years!
As a rule of thumb, you should assume that any particular technology becomes obsolete in the next 5 years. In that light, basing career decisions on one technology vs. another is short-sighted. You should also assume that you need to continue learning during your entire professional career.
Now, if you're asking about mobile apps vs. desktop apps vs. web apps vs. mainframe (i.e., no GUI) apps - that would make more sense, IMO, because you may have personal preferences that are likely to outlive any particular technology.
As you stated that you don't care about that aspect, but simply about job security, my advice would be to concentrate on web apps, which are much more broadly applicable than desktop apps. Mobile apps are obviously hot right now, but also have a shorter technology cycle, so it's even harder to predict what's going to happen in that area within 5 years.