Tagged Questions
63
votes
2answers
1k views
Where can I find unit tests for regular expressions in multiple languages?
I'm building a regex helper at http://www.debuggex.com. The amount of detail I want to show requires me to write my own parser and matcher.
To make sure my parser and matcher work correctly, I've ...
43
votes
10answers
4k views
to GWT or not to GWT [closed]
I'm a Java developer. To be honest, I'm a little intimidated about writing lots of javascript, so the idea of writing a web app completely in Java with GWT appeals to me!
I'm planning a new web app ...
34
votes
11answers
12k views
Is a colon safe for friendly-URL use?
We are designing a URL system that will specify application sections as words separated by slashes. Specifically, this is in GWT, so the relevant parts of the URL will be in the hash (which will be ...
34
votes
8answers
13k views
How do you automate Javascript minification for your Java web applications?
I'm interested in hearing how you prefer to automate Javascript minification for your Java web apps. Here are a few aspects I'm particularly interested in:
How does it integrate? Is it part of your ...
28
votes
3answers
82k views
if…else within JSP or JSTL
I have a kind of open-ended question..
I want to have a HTML code based on condition (desktop/ipad)..say Condition 1/Condition 2
I want to have separate HTML snippets for each of these conditions...
...
28
votes
5answers
20k views
What's the equivalent of Java's Thread.sleep() in Javascript?
What's the equivalent of Java's Thread.sleep() in Javascript?
28
votes
10answers
890 views
Looking for a question that combines the understanding of few web technologies
I am teaching a web development course at a CS department, I wrote most of the final test by now, each question focus on a specific feature or a specific technology,
I wonder if you can think ...
27
votes
7answers
13k views
How fast is Javascript compared to Java?
Are there any tests that compare Javascript's performance with Java's?
UPDATE: Since everyone is asking why the hell this question, here is some context :)
As you all know - I hope - Javascript ...
26
votes
22answers
4k views
Why not put all braces inline in C++, C#, Java, javascript, etc.?
Of all the conventions out there for positioning braces in C++, C#, Java, etc., I don't think I've ever seen anyone try to propose something like this:
public void SomeMethod(int someInput, string ...
26
votes
5answers
10k views
Why GWT? Advantages and Trade-Offs of Using This RIA Framework
I'm new to stackoverflow and have been reading through a bunch of the "highest voted" questions for GWT. Several of these questions talk about the pitfalls or problems with GWT. In the articles: ...
26
votes
11answers
3k views
Has anyone used GWT and can say it really delivers what it promises? [closed]
I am a long time Java web developer and as most web developers I have used quite a lot of JavaScript. Even though I don't hate JavaScript as many other Java developers, I am still aware of its faults. ...
26
votes
2answers
10k views
Do websockets allow for p2p (browser to browser) communication?
To clarify when I ask about browser to browser communication I mean without a server in between forwarding message. I would like to implement something like this for a game. If p2p in websockets ...
26
votes
4answers
4k views
JSR 303 Bean Validation + Javascript Client-Side Validation
What is the best way to perform client-side form validation using Javascript (with minimal code duplication) when using JSR 303 bean validation on the server side? I'm currently using Spring 3 and the ...
25
votes
6answers
2k views
GWT “database” (client-side)
I'm looking for something like a database for GWT objects (inside the browser). It must work without HTML5 or Gears (or any browser plugins). It doesn't have to be capable of everything a database can ...
24
votes
12answers
2k views
Why do C languages require parens around a simple condition in an if statement?
It sounds stupid, but over the years I haven't been able to come up with a use case that would require this. A quick google search didn't reveal anything worthwhile.
From memory there was a use case ...