[Beginners Corner] - Re: application server
by PeterJ
I never said "basic", I said "fundamental". The difference is that a basic or simple question can be answered in a sentence/paragraph or two, whereas a fundamental question requires several pages of text.
Consider question 3. The simple answer is "yes." The more complicated answer is for me to enumerate the various ways that this can be accomplished, giving examples of each way. I have written such text. It was over 60 pages long. But let my try an intermediate answer from which we can start a dialog:
Whether you write a web application using JSPs/servlets, or write a rich client, you can access EJBs in the app server using JNDI to look them up. This code would all be in Java. Alternately, you could deploy Web services to the app server and look them up using the WSDL. In this case the client can be written in Java/, C#, etc.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4050695#4050695
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4050695
18Â years, 10Â months
[JBoss Seam] - Transparent Persistence
by RRLevering
This is a funny question to ask given that the point of Seam is to tie together different layers of the web framework, however, does anyone have any architecture suggestions for creating a fairly transparent data layer using Seam?
My problem is that I'm working with an existing data layer interface API and in trying to conform to it, the data objects don't map neatly into entity objects. They often contain relationship management as well, ie. Division has a addDepartment method, assuming a Department wasn't a first-class object. So I think I need an underlying entity layer and then create the actual interface implementations as either POJOs or session beans. I guess my point is, is there any way to keep this extra abstraction level and still get some nice things from Seam like conversation-managed persistence? What types of objects should I make the in-between layer so Seam can understand that I'm not done with the EntityManager?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4050690#4050690
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4050690
18Â years, 10Â months