[Remoting] - Re: using one port for multiple TransporterServer and Connec
by tom.elrod@jboss.com
In the 2.0 release, will be able to re-use the same transporter and add multiple target pojo's, which will have them using the same port (as will be using the same Connector underneath). However, if try to create two transporter servers with the same locator url, will get an exception because the second will try to create a new Connector with the same locator url (i.e. port).
If you have a use case to be able to do this (where transporter server is smart enough to find and re-use existing Connector of another transporter server), pleaes open a feature request in jira and put in use case. Also, put in what expected behavior should be when try adding the same pojo target twice (once for each transporter server instance).
Also, won't be able to do any of this in 1.4.4. It is just a minor patch release to the 1.4 branch. No new development is being done on that branch (but 2.0 should be release within a few weeks... God willing ;) ).
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958375#3958375
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958375
19 years, 9 months
[JBoss Seam] - Self-referencing foreign keys
by markfoerstein
I used the CRUD generator to create an app based on the Employees table provided by Oracle. After a few adjustments, I got it working pretty nice.
This table has a foreign key (manager_id) that references the primary key of the same table (employee_id). That is, an employee can manage many employees (one-to-many) and this very same employee can be managed by another employee (many-to-one).
In the application, I can successfully:
- Search for existing employees.
- Create/Update/Delete employees.
- Select a manager for an existing employee or when creating a new employee.
The problem I will describe could be easily solved by getting rid of the "View Manager", "View Employee" and "Create Employee" buttons shown in the figure. But I would like to know if there is a possible solution.
http://images.tigratuning.com.br/misc/seamapp.jpg
When I click one of these buttons, essentially what happens on all of them is that I need to get a new editor for a employee different than the one I'm currently editing.
I can't use the same employeeEditor, because I will certainly get a concurrent call exception.
There's no way to create editors for the manager or managed employee, since, well, you can imagine where this would take us... an endless mess.
Is there a way out of this? Any possible solution?
Thanks in advance.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958366#3958366
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958366
19 years, 9 months