Hi Ilyas
You dont need to do vlans on a juniper to do routing. So we just need to assign a /30 to each fiber link and turn on BGP and it will route. You need 1 AFL per EX4500 or 2 for any size of a vitual chassis. See this section for the routing table size, this type of device will not scale very large because it wasn't meant to serve as a border router.
http://www.juniper.net/us/en/products-services/switching/ex-series/ex4500/#specifications
As you can see there are only 10k routes supported, the current internet size is well over 300k per neighbor being peered with.
switch1> configure
switch1# set interface ge-0/0/0.0 family inet address 1.1.1.1/30
switch1# set interface ge-0/0/1.0 family inet address 1.1.1.5/30
Turn on BGP as follows
set protocols bgp group eBGP type external
set protocols bgp group eBGP log-updown
set protocols bgp group eBGP damping
set protocols bgp group eBGP local-as 64741
set protocols bgp group eBGP graceful-restart
set protocols bgp group eBGP neighbor 1.1.1.2 local-address 1.1.1.1
set protocols bgp group eBGP neighbor 1.1.1.2 peer-as 65100
set protocols bgp group eBGP neighbor 1.1.1.6 local-address 1.1.1.5
set protocols bgp group eBGP neighbor 1.1.1.6 peer-as 65101