As a Java EE newbie having a background in Java SE, I don't quite understand what the Java EE, especially those buzzwords like web container
,Jave EE container
mean.
What I know that to run a java program, you need to call java
with classpath
set to dependencies (normally .jar
) and an also an entry class with static main method.
I think to start Java EE programs, there is no difference than calling java
, right? So are containers most of the time just .jar
files that contains implementation of Java EE standard annotations?
Are containers like JBOSS just a bunch of libraries that are used to support the so-called "enterprise applications" involving transactions, security and so on?