Bookmark Topic Watch Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
This page is the FAQ for the EJB and other Java EE Technologies forum, where you can ask question about anything you read here. This page is editable by everyone, so add your own content as you see fit.

Note that "Java EE" is now called "Jakarta EE".

  • Servlet FAQ
  • Web Services FAQ
  • Security FAQ
  • EnterprisePerformance - Best practices for Java tuning
  • SpecificationUrls - where you can find the specs for all your favorite APIs
  • JEE/J2EE tutorials: J2EE 1.4 - JEE 5 - JEE 6 - JEE 7 - JEE 8
  • Dependency Injection in JEE6: part 1, part 2, part 3, part 4, part 5
  • What's new in JEE 8?

  • EJB

    EJB home page

    What is the difference between JavaBeansAndEnterpriseJavaBeans?

    What's new in EJB 3.1? part 1 - part 2 - part3 - part 4 - part 5 - A Significant Step Towards Maturity

    What's new in EJB 3.2?


    Home page, FAQ (very extensive), Introduction

    Extensive tutorial with many code examples

    Accessing SMTP response codes in JavaMail

    Using delivery status notifications

    Using encryption with JavaMail: The JavaMail-Crypto API project is a bit dated, but it does purport to add S/MIME and OpenPGP support to JavaMail.

    Third party extensions, e.g. local store implementations

    James is an open source SMTP, POP3 and NNTP server written in Java by the good folks at Apache. Its Mailet API enables automatic processing of emails, kind of what servlets do for HTTP requests. Introductory article part 1, part 2

    Aspirin is an embeddable Java SMTP server. While useful mostly for send-only situations, it has some provisions to receive mails as well (to handle bounces and such).

    Q: I'm marking my mails as SEEN, but next time I access the INBOX, they're once again presented as unread. What gives?

    From the JavaMail FAQ : Just because a flag exists doesn't mean the flag is supported by all mail servers/providers. For instance, besides deleting messages, the POP protocol supports none of them. ... To find out what flags are supported, ask the folder with getPermanentFlags().

    Q: I'm having trouble connecting to Gmail using JavaMail; something about "starttls". What gives?

    This, too, is covered in the JavaMail FAQ: How do I access Gmail with JavaMail?

    Java Message Service (JMS)

    Introduction and tutorial

    Specification and javadocs

    open source JMS implementations: ActiveMQ - OpenMQ - Apollo

    Java Naming and Directory Interface (JNDI)

    Home page


    How to go about ObtainingRemoteJndiContext ?

    Introductory articles on JavaWorld -
    1) Naming Services
    2) Directory Services
    3) Advanced JNDI
    4) Example Application

    LDAP: Specification Introduction Java Tutorial Chapter

    Some software for using LDAP:

  • OpenLDAP - open source Java LDAP server
  • LdapTemplate - Java library that simplifies working with the JNDI/LDAP APIs

  • Java Management Extension (JMX)

    Home page


    JmxExample - code for an application making MBeans available for monitoring

    Best Practices

    JConsole and VisualVM are tools that come with the JVM and can be used to access local or remove JVMs via JMX.

    We've gotta get close enough to that helmet to pull the choke on it's engine and flood his mind! Or, we could just read this tiny ad:
    a bit of art, as a gift, the permaculture playing cards
      Bookmark Topic Watch Topic
    • New Topic