Posts by Kelvin Stang Oenning • 380 points
22 posts
-
1
votes1
answer74
viewsQ: Costs related to AWS Lambda and S3 codes
When an AWS Lambda function has codes that are saved in a Bucket in S3, access to the sources for each function started, respects the S3 cost policy? An example would be, each function that starts…
awsasked Kelvin Stang Oenning 380 -
3
votes2
answers176
viewsQ: Termination of a Thread
When multiple shots are fired Threads in a specific loop, upon completion of each, the Thread stays open needing a "close" or is automatically finished? for(int i=0;i<=10;i++){ Process ps = new…
-
0
votes1
answer282
viewsQ: Identify status of a program with java
Is there any way to identify the status of a program in Windows by searching through the process opened with java? I am looking for a way to map a specific process of an executable to know if it is…
javaasked Kelvin Stang Oenning 380 -
3
votes1
answer294
viewsQ: Get executed jar name
I would like to get the name of . jar that is running. The . jar will have dynamic names, modified as some hash, and I would like when executed, the same to identify its own file name. The user.dir…
javaasked Kelvin Stang Oenning 380 -
0
votes3
answers174
viewsA: Java Strings Comparison Error
Javascript variables stay in the front end while "<% code %>" codes are executed in the back end before sending the appropriate information. One thing is you replicate data that is already by…
-
0
votes1
answer44
viewsA: Snapshot generated by Selenium is very large
I don’t know if it solves your case, but I could try based on my code I use on another system. I don’t really know if it solves your problem. public BufferedImage screenshot(WebDriver driver) throws…
-
2
votes1
answer579
viewsQ: Conversion of Hibernate Result to json
I need help with the case of converting the Hibernate SQL result into json. I reached the stage that is converting correct, but the same does not come with the defined name of the column, and I was…
javaasked Kelvin Stang Oenning 380 -
1
votes1
answer165
viewsQ: Doubts with DAO method
I have a question on the issue of a generic DAO, being used in a test project with Vraptor. This dao, works normal in my requests, more when being used in a unit test the same as the following…
-
1
votes1
answer303
viewsQ: Java Test with database in memory
I am in doubt when running the tests of my application: The question is whether there is the possibility of making Hibernate create a non-physical bank to perform the tests in memory, to facilitate…
-
1
votes1
answer165
viewsQ: Vraptor Mockito unit test (CDI)
someone can give me a light, how to make the unit tests using Mockito next to the complete CDI of the Vraptor application? I use CDI a lot to control my objects like automatic management of my dao…
-
0
votes0
answers59
viewsQ: Vraptor (Method with URL connection)
Good afternoon, I am trying to execute a code in Vraptor, that when running my route, I need the system to trigger a connection using URL to a page and return the body. This is a method of my…
-
1
votes0
answers416
viewsQ: Communicate JS Node with java via socket
I would like to ask a question on how to communicate 2 servers, one being nodejs and the other being java. I would like to move information json between the 2 using socket support. I was able to…
-
0
votes0
answers74
viewsQ: Second way to PHP banks
I wonder if someone has developed a code for second generation of the bank ITAU, the way it is done on the site, passing only the code of the boleto. I saw some API, but I saw that there is the need…
phpasked Kelvin Stang Oenning 380 -
-1
votes3
answers246
viewsA: Deal with exception that guaranteed will not occur
Usually when I don’t know exactly what might happen, I treat it this way: try { //codigo } catch (Exception e) { //Tratamento } The reason for such a treatment, I think it is more for safety, of…
-
1
votes1
answer49
viewsQ: Problems with the Hibernate update
I’m having some unforeseen events with Hibernate in my application. I wonder if the implementations of annotations made in class java are taken to the database or processed only within the system,…
-
0
votes1
answer94
viewsA: Utf-8 Server Issues with Mysql
To make it clear to anyone with the same problem and has already modified everything. When configuring my Tomcat, some arguments were passed to the VM, and the following arguments were missing:…
-
0
votes1
answer94
viewsQ: Utf-8 Server Issues with Mysql
Good afternoon, I have an accents problem with my application running Ubuntu server 14.04 VPS American. All the application running on my development machine are registering normally at the base…
-
0
votes1
answer129
viewsQ: Problems (Vraptor + Hibernate request)
I’m using the Vraptor to develop a web application. More in certain tests, I saw that the Hibernate is adding in the database, but when I send the Result to my page with a new list of that object I…
-
0
votes2
answers96
viewsQ: Google Maps API
Does anyone know if it is possible to remove automatic google tags from inside the map? These markers already carry along with the map, I wonder if it is possible to remove. Thank you.…
google-mapsasked Kelvin Stang Oenning 380 -
1
votes2
answers327
viewsQ: JPQL hibernate for multiple Ikes
I’m using Hibernate in my project and I’m having doubts about using multiple dynamic Ikes in my research. I have a simple field on the page where the client can enter a user’s name, but I need it to…
-
0
votes1
answer251
viewsA: Doubt with Vraptor Download Images
Good afternoon Darlan Oliveira, I’m new here, but I think I can help you. In my project I made a Controller to manage my images and this is a code I made. @Open @Get @Path("/formaPagamento") public…
-
8
votes1
answer6420
viewsQ: Apache Tomcat (Production Setup)
Good morning, I’m doing a project and using Tomcat 8 as my server. The point is, I have a Linux server to host my application, but I would like to know if I need to do any different configuration…