Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with Search options user 43961

Java is a high-level, platform-independent, object-oriented programming language originally developed by Sun Microsystems. Java is currently owned by Oracle, which purchased Sun in 2010.

2
votes
-parameters Excerpt: Java 1.1 and later versions allow you to mark a parameter as final; this prevents assignment to the variable. It still allows you to modify the object the variable refers to …
answered Aug 9 '13 by Mik378
0
votes
1answer
What is the easiest way to convert a Json data to a String at CSV format ? I haven't read all the api yet but it seems that subclassing the default JSonWriter allows to remove unnecessary character i …
asked Mar 20 '12 by Mik378
-3
votes
I was taught not to do this because it makes it easy to introduce a bug by adding another indented line thinking it's controlled by the if when it's not. If your code is well unit-tested, thi …
answered Jun 6 '16 by Mik378
17
votes
2answers
I want to integrate Spring framework in my project especially into server side. So, I don't want to put it within WEB-INF folder of war file. Should I put an applicationContext.xml it into each laye …
asked Apr 22 '12 by Mik378
2
votes
2answers
I have a basic unit test (for the sample) that involves this code: void testShouldCreateACar() { Car car = someone.createFerrari(); assertTrue(car.name == "Ferrari"); // can't access name since …
asked Jun 15 '16 by Mik378
0
votes
1answer
I have a project A (a webapp), depending on project B (B.jar) and this one depending on project C (C.jar). I would like to create a maven goal named "Rebuild War", that clean all compiled code for th …
asked Apr 15 '12 by Mik378
6
votes
3answers
Main advantage with Hibernate annotations is the fact that a simple POJO (also called a Business Object the most of time) can become persistent through Hibernate annotations (or actually JPA) . In th …
asked May 13 '12 by Mik378
0
votes
2answers
In an oriented-services enterprise application, isn't it an antipattern to mix Service APIs (containing interface that external users depends on) with Model objects (entities, custom exceptions object …
asked Mar 23 '12 by Mik378
20
votes
According to me, passing a persistable POJO, like for instance a bean managed by JPA, is not THE good practice. Why? I see three main reasons: Potential issue with lazy collections. http://java.dz …
answered May 17 '13 by Mik378
1
vote
1answer
My goal is to include modules sources files into War file. I read this explanation on the maven official site: http://maven.apache.org/plugins/maven-assembly-plugin/examples/multimodule/module-sourc …
asked May 9 '12 by Mik378
-2
votes
1answer
I have noticed that Play! Framework encompasses persistence strategy (like JPA etc...) Why would a web framework care about persistence ?! Indeed, this would be the job of the server-sides component …
asked Sep 14 '12 by Mik378
3
votes
1answer
When working with annotations on entities in JPA, do these entities belong to the model layer or the persistence layer? Does there have to be some kind of clone of the entities (simple JavaBeans) in …
asked Feb 8 '12 by Mik378
23
votes
11answers
I've worked for two years in a great Investment Bank. I made some technical projects with the desire of creating code the most optimized, respecting the adapted good design patterns, SOLID principle, …
asked Dec 28 '11 by Mik378
2
votes
1answer
Suppose an aggregate root : MailConfiguration (wrapping an AddressPart object). The AddressPart object is a simple immutable value object with some fields like senderAdress, recipentAddress (to make e …
asked Mar 20 '12 by Mik378
4
votes
This makes it harder to see if the service that supports this relationship might be relevant elsewhere and I'll have to do the analysis again next time I work with the class. After thinking a …
answered Nov 19 '12 by Mik378

15 30 50 per page