Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 752601
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T14:47:59+00:00 2026-05-14T14:47:59+00:00

I’m just implementing a JavaEE assignment I was given on an interview. I have

  • 0

I’m just implementing a JavaEE assignment I was given on an interview.

I have some prior experience with EJB, but nothing related to JMS and MDBs. So here’s what I find through the numerous examples:

  • application servers bind their topics and queues to different JNDI names – for example topic/queue, jms
  • the activationConfig property is required on JBoss, while in the Sun tutorial it is not.
  • after starting my application, jboss warns me that my topic isn’t bound (it isn’t actually – I haven’t bound it, but I expect it to be bound automatically – in fact, in an example for JBoss 4.0 automatic binding does seem to happen). A suggested solution is to map it in some jboss files or even use jboss-specific annotations.

This might be just JBoss, but since it is certified to implement to spec, it appears the spec doesn’t specify these these things. And there all the alleged portability vanishes.

So I wonder – how come it is claimed that JavaEE is portable and you can take an ear and deploy it on another application server and it magically runs, if such extremely basic things don’t appear to be portable at all.

P.S. sorry for the rant, but I’m assume I might be doing/getting something wrong, so state your opinions.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T14:48:00+00:00Added an answer on May 14, 2026 at 2:48 pm

    Java EE, like (almost?) any standard, is something that implementers strive to advertise adherence to but desperately don’t want to adhere to.

    Consider this question: how does Red hat make money? By giving things away or by selling them? If the code you wrote could be easily transferred to another Java EE application server, this would interfere with them making money from you. The solution to this is the venerable “embrace and extend” technique that has been attributed to Microsoft but in reality has been the tool of choice for commercial software vendors since the first standard was published.

    If you stick strictly to the Java EE APIs in your code then JBoss (or Geronimo (or JonAS (or …))) will run it as well as any other compliant application server with the only changes being required in the server-specific deployment descriptors. This is the embrace stage.

    Each server — the commercial ones (like JBoss) in particular! — also tends to add extra stuff to the API to “make things easier”. (To be fair these often do make things easier.) Developers — especially those not intimately familiar with the standard APIs — frequently fall into the trap of relying on these extra APIs without wrapping them in any way, thus allowing these extensions to inundate their code to the point that they’re difficult to remove should you wish to change platforms. This is the extend stage.

    Name a standard from any point in software history and you’ll find people embracing and extending (to the point that when people talk about “deadly embrace” I have to forcibly move my thoughts away from vendor lock-in problems to the proper terminology). You’ll also find end-users (developer or otherwise) falling for it. Java EE is no different than any other technology in this regard.

    Then you factor in just how badly-worded most specifications are and …

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have just tried to save a simple *.rtf file with some websites and
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I have a French site that I want to parse, but am running into
I have some data like this: 1 2 3 4 5 9 2 6
I have a .ini file as follows: [playlist] numberofentries=2 File1=http://87.230.82.17:80 Title1=(#1 - 365/1400) Example
For some reason, after submitting a string like this Jack’s Spindle from a text
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I want to count how many characters a certain string has in PHP, but
I have a jquery bug and I've been looking for hours now, I can't
this is what i have right now Drawing an RSS feed into the php,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.