You thought only Laptops and Dekstops can run Servlet container? If so, you are wrong. Java Card 3.0 Connected Edition, the Next Generation Java Card, has Servlet container in it.
What does that mean for us? It means, now we can deploy a Servlet application on the Java Card, and, access the application using regular HTTP clients, like Web Browser. Yes, after so many years, Java Card is getting more memory and processor power (More details in later posts) to run Servlet container.
Any Servlet application (No JSPs) will run on Java Card with some limitations (More about limitation in later posts).
A typical Servlet application consists of
- One or more Servlet classes
- web.xml to provide meta information about this application
- Some static HTML pages
- Optional MANIFEST.MF file
packaged into war file.
This application can be deployed onto Java Card 3.0 Connected Edition. Few modifications are required, because Java Card 3.0 Connected Edition supports two other Application models called Extended Applets and Classic Applets, so, it needs to know about what we are deploying.
Java Card 3.0 Specifications were released on Mar 31, 2008. Click here to get the specs.
There are lots of new things about Java Card 3.0. Keep watching for more details about it.