Nilo Rosa

Greenhorn
+ Follow
since Mar 04, 2010
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Nilo Rosa

Well, I don't believe I'm getting into much detail about the project.

I'm sorry if I didn't make myself clear, but my question is not about implementation/architecture. I'm just asking how deep I should go in my sequence diagrams, class diagrams etc.

You see, in my assignement it's said the company already has an inventory system which is accessed through web services. The assignement just doesn't say how the system can be accessed.

Just rephrasing myself: In the cases where the assignement doesn't specify things, what should we do?
1 - Should I assume the web service is implemented in some specific way and model that into my diagrams?
2 - Should I ignore how the web service is implemented and just put an interface in my diagrams. The concrete implementation wouldn't matter to the assignement.

Do we assume something or do we ignore? I'm asking because this happens a lot in these assignements...
OK, so I'm in the assignement stage of the SCEA.

I have to call an inventory system through a Web Service. The web service itself is already provided, so I should not have to worry about it. The question is how deep should I go in the modeling?

Here is what i'm thinking. I call an interface InventorySystem. My system would have an implementation of this interface which in turn is responsible for calling the web service. This specific call depends on the way the web service is implemented, so it's out of scope.
That way I would only model my system to the point where I call the methods on the interface. The concrete implementation of this interface doesn't matter.

Now, is that right, or is it better to assume the web service is implemented in EJBs? That way I could easily access them using JAX_WS...
With EJB 3, do we still have to use the old J2EE patterns in the SCEA assignement?

More speficically, the front controller, service locator, business delegate and DAO.
Can we just use JSF, dependency injection and JPA?

I was looking at the example projects from Epractize and they all use the old patterns. But it's an old program, so...