This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
For a local stateless EJB, "implements Serializable" should not be shown as hint. Similarly, if a JPA entity is used only by a local EJB then it should not require "implements Serializable" as well.
It should be hard to determine if jpa is used locally only, I'm not sure it's possible in general.
Sorry for the question but which local stateless bean hint do you have in mind? I'm not afraid of any of them (except the JPA one). Could you provide i.e. screenshot, please?
Generally speaking, we show hints to help users to improve their code or catch problems early. If in some cases a hint does not apply then we should rather remove it then confuse users with hints which do not make sense. So in this case I would think that hint to "implements Serializable" should be shown only on classes which we know are going to be serialized in runtime. So the question is not "is JPA used only locally" but "is JPA used in some context where serialization is required". And that should be doable, no? What do you think? And if we do not know it we will not show any hint.
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss