Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

StarUML 2.5.x on Mac

 
Yogaraj Khanal
Ranch Hand
Posts: 55
Eclipse IDE Mac OS X Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1)Is it UML 2.0 compliant?
2)Some diagram get cutoff when i export and hyperlink to index.html any suggestion to fix this issue?
 
K. Tsang
Bartender
Posts: 3585
16
Android Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yogaraj Khanal wrote:1)Is it UML 2.0 compliant?


The site says StarUML 2.x supports UML2. To check look for the component representation, UML2 has the symbol in the top right corner.

Yogaraj Khanal wrote:2)Some diagram get cutoff when i export and hyperlink to index.html any suggestion to fix this issue?


May want to check the support page for work around. Or maybe you didn't export correctly.
 
Yogaraj Khanal
Ranch Hand
Posts: 55
Eclipse IDE Mac OS X Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks looks like starUML is very easy to use and found out there is a way to make Uml2 compliant. I overcome my original and lot of other hurdle just playing around with it and reading doc.
 
Yogaraj Khanal
Ranch Hand
Posts: 55
Eclipse IDE Mac OS X Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What type of component do I use to model load balancer and firewall?Any what do I do for many to many relationship in model classes?
 
K. Tsang
Bartender
Posts: 3585
16
Android Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Model relationships in the class diagram can be achieved using a line between the 2 classes and put 1 or * on either end to make it 1-1 ot 1-M or M-M relationship.

For the firewall, load balancer and other components in the deployment diagram, you can use a 3-D cube/regular box and label it whatever.

You can reference http://www.uml-diagrams.org for correct notations and examples.
 
Yogaraj Khanal
Ranch Hand
Posts: 55
Eclipse IDE Mac OS X Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks. My question about many to many was not about cardinality.
If my original model classes have many to many relationship am I supposed to add mapping class or handle in some other way?
 
K. Tsang
Bartender
Posts: 3585
16
Android Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yogaraj Khanal wrote:Thanks. My question about many to many was not about cardinality.
If my original model classes have many to many relationship am I supposed to add mapping class or handle in some other way?


What do you think? Say you got ClassA and it has "many" ClassB.

In ClassA, how will you represent ClassB? This is programming level.

From the class diagram perspective the cardinality will just be:

ClassA *--------* ClassB
 
Yogaraj Khanal
Ranch Hand
Posts: 55
Eclipse IDE Mac OS X Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks K. Tsang appreciate your kind and quick responses!

Another question in component diagram I have layer like this:
Presentation->Business->Persistance->Integration->External System
My question is
a)Can I show manger form business layer using persistance entities and then also dao to contact external system like email,ldap etc?
as well as
b)business manager access dao thorough entities or directly manager connecting dao by passing persistance tier
Not sure if I can mix and match from architecture perspective ?

In deployment diagram :
If I want to put firewall router should I put it before or after load balancer?
 
K. Tsang
Bartender
Posts: 3585
16
Android Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yogaraj Khanal wrote:
Another question in component diagram I have layer like this:
Presentation->Business->Persistance->Integration->External System
My question is
a)Can I show manger form business layer using persistance entities and then also dao to contact external system like email,ldap etc?
as well as
b)business manager access dao thorough entities or directly manager connecting dao by passing persistance tier
Not sure if I can mix and match from architecture perspective ?


It depends on what you like. When I did mine, I didn't have a persistence tier per se. I had my entities in the business tier. The DAO in the integration tier.
If you have a persistence tier, those entities should be in this tier.

As for the 2nd question, business manager will need to use entity classes and DAO classes. I doubt you can omit the "use" line from manager to entity because the entity usually the return type.

Yogaraj Khanal wrote:
In deployment diagram :
If I want to put firewall router should I put it before or after load balancer?


Firewall before load balancer.
 
Yogaraj Khanal
Ranch Hand
Posts: 55
Eclipse IDE Mac OS X Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks again.Also I am planning purpose JEE6 based solution where EJB component can be placed in myApp.war so where do I put it this war file in web server like Tomcat or application server like Websphere if i want to show cluster of web server as well as cluster of application server? May be just put static pages in web server or some module or put war in app server?


Also if i want to use this architecture device->OS->Tomcat web container and want to show three tomcat cluster should i put them in two devices or have two tomcat within same OS ? Are both valid way to represent? In case one server is down for whatever reason I feel its better to use two devices do you agree?
 
K. Tsang
Bartender
Posts: 3585
16
Android Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ideally EJB components are in itself a JAR file. If you are using EJB, most likely you file will be EAR (WAR+JAR inside) if you are putting in it in single app server. If you decide to split the layers (meaning 2 separate servers), WAR file in the web server and JAR in the app server.

As for clustering, there are many ways:
1) multiple instances in single app server
2) multiple app servers working as a single unit

You may want to check the SceaOnlineResources for resources like clustering. Also check out the UML link in previous posts for notations.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic