Whats the Java EE package naming convention? -


i've been trying grasp better understanding of features belong java ee specification , standard java features of new application i'm working on, , i've noticed package structure seems bit muddled.

an example, take packages:

import javax.enterprise.context.sessionscoped; import javax.inject.named; 

both of these enterprise features 1 make s obvious existing in enterprise package.

in java ee api specification here notice of features held within enterprise package.

my guess of packages around before ee edition of java, kept structure backwards compatibility? still.. seems little odd.

some apis in javaee stack not specific javaee , usable in javase. example cdi provides dependency injection, have in question javax.inject.named, can used in javase application well.


Comments

Popular posts from this blog

node.js - Mongoose: Cast to ObjectId failed for value on newly created object after setting the value -

gradle error "Cannot convert the provided notation to a File or URI" -

python - NameError: name 'subprocess' is not defined -