well, the simplest reason could be that there are different teams and the one that is responsible for the frontend stuff is only able to write c# apps, or the backend functinality should be integrated in an existing c# app or or or - java IS a delightful language/platform, but the reasons will be manifold to use other languages/platforms and they all have there pros and cons
nevertheless imho decoupling functionality via webservices IS a good architectural style as it's the foundation of SOA and you are for example free to exchange the backend without any problems and you can even implementent the frontend in cobol if you want ;-) just my 2ct Lars bilal malik <bam_u...@yahoo.com> hat am 25. August 2009 um 07:12 geschrieben: > Hello Dear, > > I don't understand why should people chose this kind of architecture,when we > have good front end support from java itself and I am also thinking that will > move us away from philosophy of write once and run anywhere. > > we have an architecture where Back-end is written in C++ and front end in > Java.Well personally I am thinking it is there for historical reasons that > c++ is elder to java and probably our company doesn't want to make c++ gurus > jobless or invest more money in re-writting the application. > I personally feel we don't need anything other than java in an architecture > where java is involved. > I am not sure if I am getting emotional about it coz I started java in 2000 > and was able to understand learn and understand this language like any > natural language.I always hated pointers and always taught it is not good > thinking that we have to remember to release the memory to avoid memory leaks. > well C# have all these features but I am not sure why it should be used at > the place where java is already used and we want to have separate builds for > Linux,HP-Unix,...... > > I request people to respond on this and want to know mainly from Architects > what that think. > > Thanks, > Bilal Malik > > > --- On Mon, 24/8/09, Nirmal Kumar <nirmal.h...@gmail.com> wrote: > > From: Nirmal Kumar <nirmal.h...@gmail.com> > Subject: [java ee programming] Re: Using both C# and Java > To: m...@larshermes.de > Cc: "Java EE (J2EE) Programming with Passion!" > <java-ee-j2ee-programming-with-passion@googlegroups.com>, laptop...@gmail.com > Date: Monday, 24 August, 2009, 2:30 PM > > Hi, > Lars said it correct. > > Currently our project also uses the same architecture. > > > Back-end(Business Logic + Database Access) is done in a Session Bean. Then > this Session Bean is exposed via Web Service. > > > > The front end part is in .NET framework which actually invokes the methods of > the Web Service. > > Thanks, > > > Nirmal > \\\/// > / \ > | \\ // | > ( | (.) (.) |) > ----------o00o--(_)--o00o------------------- > > > Stand up,be bold,be strong. > Take the whole responsibility on > ur own shoulders and know that > U are the creator of ur own destiny. > ------ooo0------------------------------------- > ( ) 0ooo > \ ( ( ) > > > \_) ) / > (_/ > > > > On Sun, Aug 23, 2009 at 3:04 AM, Lars Hermes <m...@larshermes.de> wrote: > > > > > Hi, > > > > I think the easist way to do this is to implement the backend > > functionality as a session bean and expose this bean as webservice. > > The webservice can then be called by the C# frontend. > > > > Cheers, > > Lars > > > > Am 22.08.2009 um 17:04 schrieb swetha: > > > > > > > > Hi Guys....Can any1 tell me how we can use both C# and Java in a > > > single application....for example i want to add two numbers ...is it > > > possible to do like.....create front end(GUI) using C# and then do > > > back end in Java (adding both the numbers) .....and then displaying it > > > back on the screen...can any1 please help me on this..... > > > > > > > > > > > > > > > > > > > > > > > > > See the Web's breaking stories, chosen by people like you. Check >out Yahoo! Buzz. http://in.buzz.yahoo.com/ > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en -~----------~----~----~----~------~----~------~--~---