Win a copy of AWS Security this week in the Cloud/Virtualization forum!

Ivan Pyshko

+ Follow
since Aug 04, 2014
Ivan likes ...
IntelliJ IDE Java
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Ivan Pyshko

The image represent my understanding than.
Is this component diagram make sense then?

Thanks again.
There is no requirement on rich UI components to use. And this is why I have decided not to use JSF framework since it only brings complexity to my solution plus Im not an expert in JSF and I'm not able to identify a reason to use it.
I have two options.
1. HTML & JAX-RS (not a single page application for convenience)
2. JSP & Servlets

First option, this is what I really do in real life, how about assignment since HTML is not something directly JEE related. If I end up applying first approach, is that mean I have no Servlets/JSP components and what to show on components diagram for web tier. Static html pages not really a components.
Agree. This is the easiest solution. Thanks.
Seems like the best option to create an assumption about where the supplier is coming from.
Yes, purchasing department is an actor, and not part of my class diagram or domain model. I just put it there as a side not.
As far as I understand supplier manufacture/provide/distribute items and  the SUD system is a next link in a chain.
What I'm not able to clarify yet, since there is no information where the supplier info is stored:
Create Order -> add items -> sent to process by next system in process chain (for example purchasing department/bounded context is responsible for picking up most appropriate supplier)
Create Order -> add items -> choose supplier via hooks/DAO/interfaces to external context -> process by next in chain.

This is not an exact problem from an assignment. Seller entity not in any use cases.

Have something like domain model *.png The SUD responsible for creating orders with for some items and buy from suppliers. As far as I understand UML every each order must have 1 Seller.
1. Is multiplicity 1 means that every new Order MUST have Seller when created/persisted, or the Order can be created/persisted and system set the seller when the order processed buy other department/system?
2. Is it possible to assume that, system creates an order without supplier set? And purchasing department pick appropriate supplier?
3. Instead of association, make "sellerId" an attribute of the Order, same as on optionalClassDiagram. Any pros/cons?
4. Are there any other ways to resolve it?

With all the respect , possibly, this is not correct or container dependent, I dunno.
The <env-entry-name> element is relative to the "java:comp/env" JNDI tree node ,
this is why the Integer i is not only known in the bean contexts but outside bean as well.

The code below show all env variable lookup names

In servlet instead of using
has to be something like JNDI tree "java:comp/env"
Integer passphrase = (Integer) jndiContext.lookup("java:comp/env/com.ivan.scbcd6.FirstBean/i");

you could even do in servlet something like this.

@StatefulTimeout annotation makes me fill like there is something for passivation as well -)
Could you please explain me how to force passivation using annotations or using ejb-jar.xml. I know there is a way to use glassfish-ejb-jar.xml if I'm using a Glassfish container.
@StatefulTimeout force container to make bean ilegible for removal. Is there is any similar annotation to make bean ilegibal for passivation?
You need to know that HTML exists. Probably few html tags. There are examples on ho to create forms with actions and methods , input fields in Head First books. All html needed for this certification is in Head First book.