Why wouldn't you have a session or be unable to create one?
If you have an Http server you have sessions, they're not some magical Java feature that some servers have and other don't.
Read up on the
servlet specification and the HTTP specifications, you might learn a thing or two.