How can I import my Java packages into a js file
<p>I was wondering how to import my java packages into a js file and then call class methods on created object.</p>

<p>The reason I need to import is I wish to get data from a connection to my database, regarding dates  and I have a class that lets me do so.  So I need to import the Package, then create a class object, then call methods on my object.</p>

<p>I would appreciate your help, 
Thank you,
John  </p>
