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

  • SEARCH
  • Home
  • 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 8703741
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T02:56:11+00:00 2026-06-13T02:56:11+00:00

I read Beginning Java EE 6 platform with GlassFish 3 from Antonio Goncalves. In

  • 0

I read Beginning Java EE 6 platform with GlassFish 3 from Antonio Goncalves.
In chapter about EJBs he wrote that some features of EJB may be deprecated in next releases of Java EE.

None of the following features is actually removed from EJB 3.1, but
the next version will have to either remove or retain some of them:

  • JAX-RPC-based web service endpoints

But I not understand what he mean here. He wrote about classes annotated with @Stateless and @WebService? i.e.

@Stateless
@WebService
public class MyService { 

}

So it is bad practice to annotate one class with this both annotations? It is better to separate classes? Create one to act only as EJB, and create another class to act only as as WebService (which delegates method invocation to EJB defined as class-member)?

  • 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-06-13T02:56:12+00:00Added an answer on June 13, 2026 at 2:56 am

    Both @Stateless and @WebService are not part of JAX-RPC. They belong to EJB3 and JAX-WS. They will not be deprecated.

    JAX-RPC 2.0 was renamed JAX-WS 2.0 in 2005.

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

Sidebar

Related Questions

I am reading the Beginning Java EE6 Platform and Glassfish 3 book and I
with-open-file will read from the beginning of a file. If the file is VERY
Not parsing the parameters in the beginning but parse the input string read from
Read about Server push here . I want to push data to client from
I'm trying to read CSV files using Java. Some of the files may have
I have begun to do some research about Evolutionary Art algorithm. I read a
I'm beginning to learn python and here I'm trying to read from an xml
I want to read a file but not from the beginning of the file
I read a few posts here about the magic number 0xCAFEBABE in the beginning
I am using the java properties file construct. At the beginning I read it

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.