Posts by André • 390 points
7 posts
-
3
votes1
answer406
viewsQ: Authentication in Java EE
I am developing an app whose client will be Html5 + javascript (single-page-app) and the backend will be basically Jax-rs + cdi + nosql (glassfish & orientdb). In this scenario, I need help to…
-
1
votes1
answer504
viewsQ: How to map a http request parameter to an Enum in java?
I’m making an ajax requisition like this: $.ajax({ type : 'POST', url : apiURL + '/play', dataType : "json", data : { against : "ANYBODY" }, success : function(data, textStatus, jqXHR) { // ... },…
-
4
votes6
answers90846
viewsA: Do I use PHP inside an HTML or an HTML inside a PHP?
To enable php within html, you would have to configure your server (Apache, IIS, etc.) to process html files using PHP. This is not the most common configuration. The normal thing is to process with…
-
14
votes4
answers1866
viewsA: How do Stringbuffer() and Stringbuilder() behave?
White spaces are to improve performance when concatenating strings. That’s why it’s a "buffer". For example: if you concatenate two Strings like this: "abc" + "def", Java will create, in addition to…
-
0
votes2
answers50
viewsA: Business Exception is not in the Clientejb classpath
How about three projects? API project: contains its interfaces and business exceptions. EJB Project: implements its interfaces and depends on the API Project jar. Client Project: Accesses your EJB…
-
4
votes6
answers3343
viewsA: Methods to test websites in different browsers?
For this type of test I use the Sahi. Has a free version of it here. In it the tests are scripts that you can create by "saving macros" (as in MS-Office) or by writing the scripts in hand, in a very…
-
1
votes2
answers1338
viewsA: How to increase the size of the GET request to put parameters greater than 10KB in NGINX and PHP?
The maximum GET size is usually limited both on the server and on the client, and this limit is usually 8KB. If the client is going through a proxy, there is probably a limit there as well. That is,…