Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.help > #1950 > unrolled thread

Java in HTML

Started byJoseph Parkton <jparkton@gmail.com>
First post2012-07-19 21:51 -0700
Last post2012-07-20 13:34 -0700
Articles 4 — 3 participants

Back to article view | Back to comp.lang.java.help


Contents

  Java in HTML Joseph Parkton <jparkton@gmail.com> - 2012-07-19 21:51 -0700
    Re: Java in HTML markspace <-@.> - 2012-07-19 22:26 -0700
    Re: Java in HTML Roedy Green <see_website@mindprod.com.invalid> - 2012-07-19 23:32 -0700
      Re: Java in HTML Joseph Parkton <jparkton@gmail.com> - 2012-07-20 13:34 -0700

#1950 — Java in HTML

FromJoseph Parkton <jparkton@gmail.com>
Date2012-07-19 21:51 -0700
SubjectJava in HTML
Message-ID<2f39e6a7-e39a-4e0f-89dc-347a031c2ad4@googlegroups.com>
I am rather new to Java <= 1 week, but have been going at it daily and have built a pretty cool java cardgame. Now I want to do something like a swing app maybe (although I don't know swing or any other GUI building language but want to learn them so am looking for some experienced programmers as to which one is most useful and will contribute to my worth as a future employee to $COMPANY)? 

My goal is to make some UI that I can deploy on my website(also own the server) so I want to have $USER go to page and GUI loads then person becomes $PLAYER in the game. I have the codebase up on Github but it isn't totally completed yet my query is, which method should I use to create the GUI, implement it on the website, is JavaScript the best method? Or should I make a WAR file (which I can do using eclipse which I am pretty comfortable in except creating a Web project I don't know if I need to create a static, dynamic, web service??) I am just wanting to find the best method(and please do leave out all flame wars over emacs, notepad++, vi, vim etc.. ) for what I want to achieve.  

[toc] | [next] | [standalone]


#1952

Frommarkspace <-@.>
Date2012-07-19 22:26 -0700
Message-ID<juaq6v$v43$1@dont-email.me>
In reply to#1950
On 7/19/2012 9:51 PM, Joseph Parkton wrote:
> which method should I
> use to create the GUI, implement it on the website, is JavaScript the
> best method? Or should I make a WAR file


If you are interested in being looked at in the future by a potential 
employer, I'd see the WAR file (Java Enterprise Edition) would be the 
quickest way to get something on a resume.  Popular frameworks include 
various forms of EJB (especially the most recent, EJB 3.0), Seam, 
Spring, and Struts.

However, while Swing isn't used on Android, it's similar to Android 
apps, and personally I think that's where I'd go next: get your app 
running under Swing, then port it to an Android system.  (Even just an 
emulator.)

[toc] | [prev] | [next] | [standalone]


#1953

FromRoedy Green <see_website@mindprod.com.invalid>
Date2012-07-19 23:32 -0700
Message-ID<couh08tuidqel84247b1r6jvj6mpfglsr9@4ax.com>
In reply to#1950
On Thu, 19 Jul 2012 21:51:04 -0700 (PDT), Joseph Parkton
<jparkton@gmail.com> wrote, quoted or indirectly quoted someone who
said :

>I am rather new to Java <=3D 1 week, but have been going at it daily and ha=
>ve built a pretty cool java cardgame. Now I want to do something like a swi=
>ng app maybe (although I don't know swing or any other GUI building languag=
>e but want to learn them so am looking for some experienced programmers as =
>to which one is most useful and will contribute to my worth as a future emp=
>loyee to $COMPANY)?=20

If your skill is Java, the easiest way to do this is to write an
applet than runs on the client.  If the various players need to
communicate, have the Applet send and receive binary messages to a
Servlet running on the server.

see http://mindprod.com/jgloss/applet.html
http://mindprod.com/jgloss/servlet.html
-- 
Roedy Green Canadian Mind Products
http://mindprod.com
The greatest shortcoming of the human race is our inability to understand the exponential function. 
 ~ Dr. Albert A. Bartlett (born: 1923-03-21 age: 89)
http://www.youtube.com/watch?v=F-QA2rkpBSY

[toc] | [prev] | [next] | [standalone]


#1954

FromJoseph Parkton <jparkton@gmail.com>
Date2012-07-20 13:34 -0700
Message-ID<38fc3d36-1b2d-4040-b566-0ea1d336c1b4@googlegroups.com>
In reply to#1953
On Friday, July 20, 2012 12:32:22 AM UTC-6, Roedy Green wrote:
> On Thu, 19 Jul 2012 21:51:04 -0700 (PDT), Joseph Parkton
> &lt;jparkton@gmail.com&gt; wrote, quoted or indirectly quoted someone who
> said :
> 
> &gt;I am rather new to Java &lt;=3D 1 week, but have been going at it daily and ha=
> &gt;ve built a pretty cool java cardgame. Now I want to do something like a swi=
> &gt;ng app maybe (although I don&#39;t know swing or any other GUI building languag=
> &gt;e but want to learn them so am looking for some experienced programmers as =
> &gt;to which one is most useful and will contribute to my worth as a future emp=
> &gt;loyee to $COMPANY)?=20
> 
> If your skill is Java, the easiest way to do this is to write an
> applet than runs on the client.  If the various players need to
> communicate, have the Applet send and receive binary messages to a
> Servlet running on the server.
> 
> see http://mindprod.com/jgloss/applet.html
> http://mindprod.com/jgloss/servlet.html
> -- 
> Roedy Green Canadian Mind Products
> http://mindprod.com
> The greatest shortcoming of the human race is our inability to understand the exponential function. 
>  ~ Dr. Albert A. Bartlett (born: 1923-03-21 age: 89)
> http://www.youtube.com/watch?v=F-QA2rkpBSY

Something like an IRC(ish) applet? For talking to one another, and printing out turns/points/whatever?

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.java.help


csiph-web