Skip to main content

All Questions

9 votes
2 answers
2k views

Does OOP overemphasize the importance of noun and thus put action/verb in the less importance position ? [closed]

Steve yegge wrote an article called "Execution in the Kingdom of Nouns" back in 2006, 14 years later I still find the points he made valid. For example, "Action is what gives life its ...
Qiulang 邱朗's user avatar
4 votes
3 answers
5k views

Does each microservice need its own server running (Tomcat, docker container)

In development I have a Java backend API which I'm running with Tomcat. I'm wanting to wrap the backend in a docker container and deploy to an AWS EC2 instance, and be able to scale up/down. Does ...
nanotek's user avatar
  • 311
3 votes
1 answer
559 views

Java web development

I started to develop web applications not so long ago, and therefore there are a lot of unknown things in this field for me. My question concerns web development using the Java language. Assume that ...
gsa's user avatar
  • 143
0 votes
0 answers
484 views

Testing REST API with nested object creation and endpoint transactionality

I'm building a location based REST API using Spring Boot, and I have run into a bit of a testing philosophy question. I have an object called Location that, among other things, requires a Google ...
sunrize920's user avatar
1 vote
0 answers
84 views

How to better manage beans?

In my application - I have to expose services using JAX-RS(for mobile platform) and consume the same set of services in a JSF based web app. Now, I have @Entity beans for persistence layer, @...
Tirath's user avatar
  • 111
28 votes
1 answer
48k views

Splitting a big project to create a multi-module Maven project

I am working on a Spring-MVC application in which we are using Maven for dependency management. As the project is big, we are thinking of splitting the project into several parts. I had some doubts, ...
We are Borg's user avatar
3 votes
2 answers
2k views

Architecture review - case study (Spring MVC)

I'm developing an Java Web Application with Spring, and I have some questions about my architecture. Before showing it, here is the context: I am developing a web application with more than 80 ...
Loa's user avatar
  • 131
1 vote
3 answers
136 views

Xml Messages: One Type to Rule Them All?

My job involves a project that has a lot of different pieces that all need to communicate via XML messages. There are two schools of thought on how these messages should be organized. In reality ...
Kevin Workman's user avatar
0 votes
0 answers
612 views

How to design multiplayer online game with a battlefield?

I'm designing a simple game where all players use one battlefield via browser. I'm using websockets. So I'm wondering should I always send all data about battlefield to every user when smth is being ...
cadmy's user avatar
  • 101
20 votes
4 answers
4k views

How to create better OO code in a relational database driven application where the database is poorly designed

I am writing a Java web application that consists mainly of a bunch of similar pages in which every page has several tables and a filter that applies to those tables. The data on these tables comes ...
DPM's user avatar
  • 1,723