Hello. I've played with java some but not really much within the last few years so I am rusty on some things. What I am trying to do is create a web based java application and I am trying to get some direction on how to go about doing this.
By web based application, I am specifically referring to a java application that exists within a web browser and contains GUI elements that can be interacted with. Not sure if that's what everyone else means when they use the term web based java application though.
Not looking for someone to give me step by step as I can look that up on my own but rather I am looking for a general direction as there seem to be different java tools or technology I can use but I am trying to use the most common one, so with that said....
I know there are some older java technology for creating GUI elements such as Swing but from what I have read it seems this is just for standalone java applications? Same for JSF (faces)? Is the best solution that I create an applet?
Please let me know if what I am asking even makes sense. As mentioned it's been a little while since I've dabbled with java and that can feel like an eternity so it's possible in my question I am making flawed assumptions.
Basically I want to create a java application that lives in a web browser and this application can contain java GUI elements such as buttons, text fields, drop down menus, etc.
What would be the direction I need to look in technology wise to do this, in the most common way possible. I added that last bit because I am sure there are probably many ways to do this but for my purposes I need to do it in the most standard, common way, regardless of if there are better, less-commonly used ways to do this.
However, in most cases you're going to need a web application server to serve up the initial pages and very often also to reference a server-side database or other backend systems. So for simplicity's sake in the Java world, your best bet is to start out using JSP's and servlets, learning how to build and deploy WARs.
And please do not succumb to the temptation to code in scriptlets just because they look like browser-side coding. They aren't, and they're murder to debug. Do your serious programming in servlets and use the JSP's as web page templates.
Blitzlügen - Lies or information broadcast, but when called out the broadcaster does little or nothing is done to correct them, thus allowing those who wish to believe to accept them as truth.
Lügensturm - A barrage of Blitzlügen fired in such quick succession that it is essentially impossible to correct them all.