Timeline for Multilayered enterprise application use of JAXB objects
Current License: CC BY-SA 3.0
10 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jul 8, 2014 at 9:09 | answer | added | kiwiron | timeline score: 1 | |
| Jul 8, 2014 at 8:41 | comment | added | Velth | As I said in my previous response, it might be that I ever want to switch to mysql. Currently XML files are my data-sources, not mysql. I spoke in examples to show that layers need to be decoupled from one another. But then again, even if my data sources were mysql and i'd use JPA, don't you want to abstract that for upper layers? Else you make your architecture JPA dependent(?). | |
| Jul 8, 2014 at 7:34 | comment | added | InformedA | It looks like your Data layer would be something like a persistence provider like JPA? If so they have built-in mapper that communicates with mysql for you. Why do you need to create your own data mapper? | |
| Jul 8, 2014 at 7:19 | comment | added | Velth | @randomA; I hope I understand your question correctly, here it goes. I want to work by means of loosely coupled layers. So whenever we change from xml to mysql, I do not want to change any other layer other than my data-layer. This in some sort compels me to create a mapping/other technique between the data-layer and business-layer. From that point onward I could keep using my business objects. But does this not break my loosely coupled principle? | |
| Jul 8, 2014 at 5:58 | comment | added | InformedA | in which layer other than service layer to user and external system that compels you to create your own mapper and use JAXB objects? | |
| Jul 8, 2014 at 5:23 | comment | added | Velth | @gnat; changed, finished my questions with asking for "best practice" when all I want is people's experiences and/or tips. Thnx anyway. | |
| Jul 8, 2014 at 5:22 | history | edited | Velth | CC BY-SA 3.0 | deleted 25 characters in body |
| Jul 7, 2014 at 13:56 | review | First posts | |||
| Jul 7, 2014 at 21:31 | |||||
| Jul 7, 2014 at 13:49 | comment | added | gnat | recommended reading: Why is asking a question on “best practice” a bad thing? | |
| Jul 7, 2014 at 13:36 | history | asked | Velth | CC BY-SA 3.0 |