[flexcoders] Re: Embedded Jetty6 or 7 server

2009-10-30 Thread jgamacheteam345
Hi Folks,

Sorry to reply to such an old thread, but I need some help!  I downloaded this 
quickstart and am trying to get the Start.java to run IN ECLIPSE.   I seem to 
be hopelessly stuck and would appreciate a step by step (yes, for idiots!) if 
anyone has such running.

I am using jetty 6 as that is what this code base uses.  Basically, what I did 
was to run mvn eclipse:eclipse successfully, then I imported the project into 
eclipse.  I have the Maven plugin installed in eclipse, so I enabled dependency 
management on the project.  I changed the two local references (to Ryan's 
harddrive) to mine.  When I run Start.java from within eclipse I get no errors, 
the page comes up on localhost:8080.  However, I can not get to the java code!

Any help is greatly appreciated - I am now at that very frustrated point!

thanks,

Joe

--- In flexcoders@yahoogroups.com, Ryan Gravener r...@... wrote:

 I wrote a quickstart on combining blazeds, flex, jetty, spring, wicket, and
 hibernate:
 
 http://ryangravener.com/wordpress/?p=21
 
 as for embedded jetty server:
 http://wicket-flex-blazeds.googlecode.com/svn/trunk/myproject-core/src/test/java/org/myproject/Start.java
 
 Hope this helps.
 
 On Tue, Aug 12, 2008 at 10:48 AM, Anatole Tartakovsky 
 anatole.tartakov...@... wrote:
 
Robin,   There are 2 ways this can be done - none is pretty.
  1.You can navigateToFile - based on the mime type OS will open
  appropriate programe (Word for doc, etc and hopefully java for class).
  Needless to say it is error prone and configuration dependent.
  2. You need binary component that would be used in conjunction with AIR.
  Unfortunately, you can not distribute automatically executable binary
  components automatically with AIR, so special program needs to be preloaded
  and invoked on the client machine. We had few C++ implementations on Windows
  that communicate with Flash runtime via LocalConnection, not sure what your
  platforms might be. That component would go into the AIR file and extract
  jetty server/run it. All-in-all,for Windows platform and to follow strict
  rules of security (only signed/trusted AIR files can distribute code)  it is
  probably a 2 weeks project,with probably another week for each subsequent
  platform.
  Sorry,
  Anatole Tartakovsky
 
 
  On Tue, Aug 12, 2008 at 4:53 AM, Josh McDonald dzn...@... wrote:
 
Well, you'd have to figure out a way to have either your Java app or
  your AIR app not appear in the task bar or dock, but besides that I imagine
  you could just use java.lang.System.exec()
 
  That's about all the help I can be with this though, I haven't done it :)
 
  -Josh
 
  On Tue, Aug 12, 2008 at 6:11 PM, robin bakkerus robin.bakke...@...
   wrote:
 
  Hi Josh,
 
  Ok, the other way around, but do you have an example how to that.
  thanks in advance
 
  robin
 
  --- In flexcoders@yahoogroups.com, Josh McDonald dznuts@ wrote:
  
   Air can't listen to sockets, nor can it spawn external programs.
  You'd have
   to have a Java program with embedded Jetty which then loads your AIR
  app.
  
   -Josh
  
   On Tue, Aug 12, 2008 at 3:07 PM, robin bakkerus
  robin.bakkerus@wrote:
  
Hi Anatole,
   
But that is not an embedded server!
What i want is to make an AIR application that can easily communicate
with (existing) Java code (hence BlazeDS), but without the need to
start a server. Well you start a server but automatically 'under
water'. But then i how to start this server?, what is the jetty.xml
looks like?
   
gr Robin
   
--- In flexcoders@yahoogroups.com, Anatole Tartakovsky
anatole.tartakovsky@ wrote:

 Robin,   You just unpack jetty, then unpack BlazeDS into
  webapps/BlazeDS
 subfolder. Then go to the /bin subfolder of jetty and run either
 exe(windows) or ./jetty.sh run on Mac/Linux
 Finally go to the browser and check http://localhost:8080 to see
jetty start
 page.

 HTH,
 Anatole


 On Mon, Aug 11, 2008 at 6:10 AM, robin bakkerus
robin.bakkerus@wrote:

Hi there,
 
  Does anyone has an example of an embedded Jetty6 or Jetty7 server
  including BlazeDs plus example how to start this server?
 
  thank you in advance
 
 
 

   
   
   

   
--
Flexcoders Mailing List
FAQ:
  http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo!
  Groups
Links
   
   
   
   
  
  
   --
   Therefore, send not to know For whom the bell tolls. It tolls for
  thee.
  
   :: Josh 'G-Funk' McDonald
   :: 0437 221 380 :: josh@
  
 
 
 
  
 
  --
  Flexcoders Mailing List
  FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Search Archives:
  http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
  Links
 
 
 
 
 
 
  --
  Therefore, 

[flexcoders] Re: Value Objects

2009-05-27 Thread jgamacheteam345
Partly this reads like a troll, but assuming this is genuine, this is how I 
read your question below (and obviously I could be wrong):

Gee, I've come from a background of building houses.  I'm trying to learn this 
stuff you all use to build tall buildings.  What is the advantage of all that 
stuff?  I never had to do that to build a house and it is pissing me off...

Your right, you don't need to use DTOs/VOs to build a house.  If you only 
need/want to keep building houses don't use them.  If you need/want to build 
scalable, distributed systems, then I'd suggest you keep asking questions, but 
maybe switch your tone a bit

--- In flexcoders@yahoogroups.com, mikeashields mikeashie...@... wrote:

 Yes, the nomenclature is disconcerting.  I reviewed your link however am 
 unfamiliar with java/jsp and thus couldn't necessarily follow.  
 
 Nonetheless it seemed to say that mapping flex properties to the database 
 properties (returned via jsp/cfusion) offers various advantages -- mostly 
 related to strict typing.  
 
 Fair enough, but insofar as by using Stored Procedures I (think I) am able to 
 push a great deal of the BizLogic/ControllerLayer right to the database (ie 
 NOT the cfusion or even Flex/ViewLayer), what the hell do I care???
 
 I'm so newbie that I hesitate to presume/assert anything but A.) this VO 
 stuff is really boggling/pissing me off and B.) isn't it an imposition to 
 make the view/Flex process/organize the returned data?  Why not just throw 
 results into sharedObjects (aka Flash cookies) on the hard drive?
 
 Maybe I'm missing something . . .