Chaminda Amarasinghe

Ranch Hand
+ Follow
since May 17, 2006
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
1
Received in last 30 days
0
Total given
1
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Chaminda Amarasinghe

Hi,

I won the Docker in Action book around one month ago. I received ebook, but I prefer to hardcopy. Can you please send me a hardcopy instead this.

Thanks
Chaminda
2 years ago
Hi Guys,

Can you guys recommend good but cheap training for openstack ? I mean not expensive as redhat or Marints, but same or near quality

Thanks
2 years ago
Hi,

Is there a way to get book early ? paying deliver chargers or so?

Thanks
Chaminda
2 years ago
Thank you very much Code,

As Peter said, I am also super duper excited to have this. Further I was lucky to win Docker in Action. Just in case if I could will a book Cloud Foundry in Action, I would be the luckest reader in the whole world.

Again Many Thanks
Chaminda
2 years ago
Hi Cody and / or Sherirf


I think I am not violating any rules and regulations of the code ranches.

Is there any discount program for this book? If so can I get one? I am not talking about completly free copy.

Thanks
Chaminda
2 years ago
Hi Cody,

I am fairly new to both areas. By profession I would say I am more towards Architecture and Coding for monalithic applications than System Administration. Both Openstack and Cloud Foundary are hot topics these days and I want get my feats wet with one. But not sure which to select? I know it is difficult to give a straight answer to this type of question. Can you give some hints?

Thanks
Chaminda
2 years ago
Happy to win the book. Just in case if a Openstack book winner like to exchange the book let me know.

Congrats to other winners
2 years ago

Hi Jeff,

How to define a Jboss / Wildfly cluster (2 or more instances) + apache or nginix load balancer.

I searched in google and also tried with my limited knowledge of docker. But failed.

Thanks
Chaminda
2 years ago
Hi Guys,

I have 2 tables as follows.

Employee
-----
id (pk)
name

Address
-----
emp_id (fk to employee)
street

Note that
Employee can have multiple addresses.
address does not have id (pk) field so as per my understanding address can not be marked as entity.

Questions
What is the right annotation for Address,
What is the right annotation for Set<Address> addresses field in Employee classes.

Thanks in advanced.
Chaminda

Tim Holloway wrote:Actually, you might be better off using Cocoon, which is designed for XML, rather than JSF.

JSF is designed to run as a classical Model/View/Controller framework using JavaBeans (POJOs) for the models. You can adapt JSF to an XML backend using something like JAXB to convert the underlying XML to a directed graph of POJOs. And take advantage of the fact that JSF View EL isn't compiled until run-time to reduce dependency on pre-defined objects and properties. However, it would take a fair amount of care to make a workable framework out of that, so I'd definitely look at Cocoon first.



Hi Tim,

Thanks for the prompt reply.

JAXB would not work for me since I will have to change to core model. I will look into Cocoon.

Thanks again.
Chaminda
5 years ago
JSF

Hi Guys,

I am looking for solution like xforms where we can bind input component to our xml data model but should work with JSF.

If I explain in other way, In my managed bean I have a field for whole xml data, (may be xml as String, Stream, JSON, or DOM Document) and from my view (xhtml) I need to access / display some xml element using xpath or similar technique.

eg,

model
<employee>
<id>01</id>
<name>Mali</name>
</employee>

view
<h:input value"//employee/name">

Why I need such solution,
My Java Model is very dynamic, which can be changed from client to client, So I like to pass data in xml, and store in xml format, (db2, oracle supports xml data), So I need change only view, and keep services untouch,

Thanks
5 years ago
JSF
Can someone tell me the name of mandatory course, its price and availability in Sri Lanka

Regards

HI Ranjan,

Noted. But your comments are really valid and appreciate your contributions.

Regards