Hacker News new | ask | show | jobs
by saagarjha 2556 days ago
> Not a single public static method

main?

4 comments

Unknown if this framework adheres to it, but the JavaEE standard allows one to deploy apps that don't contain a main method, and in fact can run in a security restricted environment that prohibits reading properties, environment variables, and a lot more. So that's a long way of saying that if it doesn't need a main method unless they're trying to deploy their own webserver, too
I think it's safe to assume "no public static interface to the framework". The rest are hidden implementation details.

It's like saying that a program in Java can be completely object oriented. Of course it can't because the innards still contain pieces of procedural code and they still use primitives which may not be actual instances of objects. What counts is how it presents itself on the outside.

It looks like the framework user or the servlet engine provides the main method.
I think this is the doesn't-need-to-be-said exception.